Wednesday, April 2, 2014

ubuntu updaTE ERROR



sudo apt-get clean
sudo apt-get update
sudo apt-get install -f

http://ubuntuforums.org/showthread.php?t=2213658












x@xe-G41x2L:~$ sudo  apt-get install -f
Reading package lists... Done
Building dependency tree    
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-43-generic-pae linux-headers-3.2.0-52-generic
  python-mako linux-headers-3.2.0-58-generic-pae
  linux-headers-3.2.0-55-generic mplayer-skins
  linux-headers-3.2.0-55-generic-pae linux-headers-3.2.0-43
  linux-headers-3.2.0-44 linux-headers-3.2.0-45 linux-headers-3.2.0-51
  linux-headers-3.2.0-52 linux-headers-3.2.0-53 linux-headers-3.2.0-48
  linux-headers-3.2.0-54 linux-headers-3.2.0-55 linux-headers-3.2.0-56
  linux-headers-3.2.0-57 linux-headers-3.2.0-58 linux-headers-3.2.0-58-generic
  linux-headers-3.2.0-52-generic-pae libvncserver0
  linux-headers-3.2.0-45-generic linux-headers-3.2.0-44-generic-pae
  rhythmbox-data libdmapsharing-3.0-2 linux-headers-3.2.0-53-generic
  linux-headers-3.2.0-48-generic python-markupsafe
  linux-headers-3.2.0-56-generic-pae linux-headers-3.2.0-56-generic
  libtelepathy-farstream2 python-central linux-headers-3.2.0-53-generic-pae
  linux-headers-3.2.0-48-generic-pae linux-headers-3.2.0-43-generic
  linux-headers-3.2.0-45-generic-pae linux-headers-3.2.0-51-generic
  linux-headers-3.2.0-54-generic linux-headers-3.2.0-57-generic-pae
  linux-headers-3.2.0-54-generic-pae linux-headers-3.2.0-57-generic
  linux-headers-3.2.0-44-generic linux-headers-3.2.0-51-generic-pae
  openjdk-7-jre-lib
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-headers-3.2.0-60
The following NEW packages will be installed:
  linux-headers-3.2.0-60
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/11.7 MB of archives.
After this operation, 56.3 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 1131464 files and directories currently installed.)
Unpacking linux-headers-3.2.0-60 (from .../linux-headers-3.2.0-60_3.2.0-60.91_all.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-60_3.2.0-60.91_all.deb (--unpack):
 unable to create `/usr/src/linux-headers-3.2.0-60/arch/alpha/include/asm/kmap_types.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-60/arch/alpha/include/asm/kmap_types.h'): No space left on device
No apport report written because MaxReports is reached already
                                                              dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/linux-headers-3.2.0-60_3.2.0-60.91_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)




http://askubuntu.com/questions/432369/how-to-fix-upgrade-install-failure-loop-due-to-disk-space-issue

Building dependency tree    
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 linux-headers-3.2.0-60-generic : Depends: linux-headers-3.2.0-60 but it is not installed

 sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of linux-headers-3.2.0-60-generic:
 linux-headers-3.2.0-60-generic depends on linux-headers-3.2.0-60; however:
  Package linux-headers-3.2.0-60 is not installed.
dpkg: error processing linux-headers-3.2.0-60-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-generic:
 linux-headers-generic depends on linux-headers-3.2.0-60-generic; however:
  Package linux-headers-3.2.0-60-generic is not configured yet.
dpkg: error processing linux-headers-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-headers-generic (= 3.2.0.60.71); however:
  Package linux-headers-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-headers-3.2.0-60-generic
 linux-headers-generic
 linux-generic

 sudo apt-get autoremove -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  linux-headers-3.2.0-60
The following packages will be REMOVED:
  libdmapsharing-3.0-2 libtelepathy-farstream2 libvncserver0
  linux-headers-3.2.0-43 linux-headers-3.2.0-43-generic
  linux-headers-3.2.0-43-generic-pae linux-headers-3.2.0-44
  linux-headers-3.2.0-44-generic linux-headers-3.2.0-44-generic-pae
  linux-headers-3.2.0-45 linux-headers-3.2.0-45-generic
  linux-headers-3.2.0-45-generic-pae linux-headers-3.2.0-48
  linux-headers-3.2.0-48-generic linux-headers-3.2.0-48-generic-pae
  linux-headers-3.2.0-51 linux-headers-3.2.0-51-generic
  linux-headers-3.2.0-51-generic-pae linux-headers-3.2.0-52
  linux-headers-3.2.0-52-generic linux-headers-3.2.0-52-generic-pae
  linux-headers-3.2.0-53 linux-headers-3.2.0-53-generic
  linux-headers-3.2.0-53-generic-pae linux-headers-3.2.0-54
  linux-headers-3.2.0-54-generic linux-headers-3.2.0-54-generic-pae
  linux-headers-3.2.0-55 linux-headers-3.2.0-55-generic
  linux-headers-3.2.0-55-generic-pae linux-headers-3.2.0-56
  linux-headers-3.2.0-56-generic linux-headers-3.2.0-56-generic-pae
  linux-headers-3.2.0-57 linux-headers-3.2.0-57-generic
  linux-headers-3.2.0-57-generic-pae linux-headers-3.2.0-58
  linux-headers-3.2.0-58-generic linux-headers-3.2.0-58-generic-pae
  mplayer-skins openjdk-7-jre-lib python-central python-mako python-markupsafe
  rhythmbox-data
The following NEW packages will be installed:
  linux-headers-3.2.0-60
0 upgraded, 1 newly installed, 45 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/11.7 MB of archives.
After this operation, 895 MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 1131464 files and directories currently installed.)
Unpacking linux-headers-3.2.0-60 (from .../linux-headers-3.2.0-60_3.2.0-60.91_all.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-60_3.2.0-60.91_all.deb (--unpack):
 unable to create `/usr/src/linux-headers-3.2.0-60/arch/alpha/include/asm/sections.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-60/arch/alpha/include/asm/sections.h'): No space left on device
No apport report written because MaxReports is reached already
                                                              dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/linux-headers-3.2.0-60_3.2.0-60.91_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
http://askubuntu.com/questions/141370/how-to-fix-a-broken-package-when-apt-get-install-f-does-not-work
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1281800

sudo apt-get update
sudo apt-get upgrade && sudo apt-get dist-upgrade
sudo dpkg-reconfigure -a
sudo dpkg --configure -a
sudo update-initramfs -u

No comments:

Post a Comment