Quantcast
Channel: Ubuntu Forums - Installation & Upgrades
Viewing all articles
Browse latest Browse all 26379

[ubuntu] Problem with updates and disk space

$
0
0
Hi,

I was busy installing in update when some packages woudln't install, apparently because of a disk space problem.

The system tells me to try sudo apt-get -f install, which gives

hanlie@hanlie-Inspiron-N4020:~$ sudo apt-get -f install
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:
language-pack-zh-hans kde-l10n-de language-pack-kde-de language-pack-kde-en
language-pack-de-base linux-headers-3.2.0-29 linux-headers-3.2.0-37
language-pack-kde-zh-hans language-pack-kde-en-base kde-l10n-engb
linux-headers-3.2.0-37-generic-pae linux-headers-3.2.0-29-generic-pae
language-pack-kde-de-base kde-l10n-zhcn language-pack-zh-hans-base
language-pack-de language-pack-kde-zh-hans-base
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
linux-headers-3.2.0-52 linux-headers-3.2.0-52-generic-pae
The following NEW packages will be installed:
linux-headers-3.2.0-52 linux-headers-3.2.0-52-generic-pae
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/12.7 MB of archives.
After this operation, 67.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously unselected package linux-headers-3.2.0-52.
(Reading database ... 451516 files and directories currently installed.)
Unpacking linux-headers-3.2.0-52 (from .../linux-headers-3.2.0-52_3.2.0-52.78_all.deb) ...
Unpacking linux-headers-3.2.0-52-generic-pae (from .../linux-headers-3.2.0-52-generic-pae_3.2.0-52.78_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-52-generic-pae_3.2.0-52.78_i386.deb (--unpack):
unable to create `/usr/src/linux-headers-3.2.0-52-generic-pae/include/config/usb/wdm.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-52-generic-pae/include/config/usb/wdm.h'): No space left on device
No apport report written because MaxReports is reached already
Errors were encountered while processing:
/var/cache/apt/archives/linux-headers-3.2.0-52-generic-pae_3.2.0-52.78_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I can't get rid of any old kernels etc. because I can't run apt-get or dpkg because of unmet dependencies that were created during the aborted update.

du -sm /*|sort -n gives:

0 /initrd.img
0 /initrd.img.old
0 /proc
0 /sys
0 /vmlinuz
0 /vmlinuz.old
1 /cdrom
1 /dev
1 /lost+found
1 /mnt
1 /root
1 /selinux
1 /srv
1 /tmp
2 /run
9 /bin
9 /sbin
14 /etc
16 /media
180 /opt
263 /boot
445 /var
1089 /home
1422 /lib
3898 /usr

I don't know what this means or what to do with this information.

Can someone please help? I would like to either uninstall the packages that are creating the unmet dependencies or open up some disk space so that the dependencies can be installed.

Thanks

Viewing all articles
Browse latest Browse all 26379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>