Ran an automatic update last night, and I'm getting an error in installing two linux header packages.

Asked by Louisa Tsougaraki on 2015-01-23

It seems to be exactly the same problem as here, with exactly the same packages: https://answers.launchpad.net/ubuntu/+source/gnome-terminal/+question/259164

louisa@Nuk:~$ sudo apt-get -f install
[sudo] password for louisa:
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:
  libbabl-0.0-0 libgegl-0.0-0 language-pack-kde-en linux-headers-3.2.0-27
  language-pack-kde-en-base kde-l10n-engb linux-headers-3.2.0-27-generic-pae
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-headers-3.2.0-75 linux-headers-3.2.0-75-generic-pae
The following NEW packages will be installed
  linux-headers-3.2.0-75 linux-headers-3.2.0-75-generic-pae
0 to upgrade, 2 to newly install, 0 to remove and 0 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/12.7 MB of archives.
After this operation, 67.8 MB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 1188014 files and directories currently installed.)
Unpacking linux-headers-3.2.0-75 (from .../linux-headers-3.2.0-75_3.2.0-75.110_all.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-75_3.2.0-75.110_all.deb (--unpack):
 unable to create `/usr/src/linux-headers-3.2.0-75/arch/cris/include/asm/signal.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-75/arch/cris/include/asm/signal.h'): No space left on device
No apport report written because the error message indicates a disk full error
                                                                              dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Unpacking linux-headers-3.2.0-75-generic-pae (from .../linux-headers-3.2.0-75-generic-pae_3.2.0-75.110_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-75-generic-pae_3.2.0-75.110_i386.deb (--unpack):
 error creating symbolic link `./usr/src/linux-headers-3.2.0-75-generic-pae/include/linux/highmem.h': No space left on device
No apport report written because the error message indicates a disk full error
                                                                              Errors were encountered while processing:
 /var/cache/apt/archives/linux-headers-3.2.0-75_3.2.0-75.110_all.deb
 /var/cache/apt/archives/linux-headers-3.2.0-75-generic-pae_3.2.0-75.110_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have started purging older kernel header packages as suggested in the link above, but I've not yet been able to get the packages to install.

Help would be appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2015-01-24
Last query:
2015-01-24
Last reply:
2015-01-24
Manfred Hampl (m-hampl) said : #1

Please provide the output of the following terminal commands

uname -a
lsb_release -crid
df -h
df -i
dpkg -l | grep linux-h
dpkg -l | grep linux-i
sudo dpkg --audit

louisa@Nuk:~$ uname -a
Linux Nuk 3.2.0-75-generic-pae #110-Ubuntu SMP Tue Dec 16 19:29:27 UTC 2014 i686 athlon i386 GNU/Linux
louisa@Nuk:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
louisa@Nuk:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 19G 14G 4.2G 77% /
udev 1.8G 4.0K 1.8G 1% /dev
tmpfs 363M 900K 362M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1.8G 16M 1.8G 1% /run/shm
/dev/sda1 17G 805M 16G 5% /boot
/dev/sda7 251G 24G 215G 10% /home
javafs 11G 729M 11G 7% /home/louisa/WualaDrive
louisa@Nuk:~$ df-i
df-i: command not found
louisa@Nuk:~$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda6 1220608 1218553 2055 100% /
udev 208139 510 207629 1% /dev
tmpfs 211792 454 211338 1% /run
none 211792 3 211789 1% /run/lock
none 211792 68 211724 1% /run/shm
/dev/sda1 4497920 411 4497509 1% /boot
/dev/sda7 16687104 57487 16629617 1% /home
javafs 100 -999999900 1000000000 - /home/louisa/WualaDrive
louisa@Nuk:~$ dpkg -l | grep linux-h
ii linux-headers-3.2.0-23 3.2.0-23.36 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-23-generic-pae 3.2.0-23.36 Linux kernel headers for version 3.2.0 on 64 bit x86 SMP
ii linux-headers-3.2.0-27 3.2.0-27.43 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-27-generic-pae 3.2.0-27.43 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-29 3.2.0-29.46 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-29-generic-pae 3.2.0-29.46 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-30 3.2.0-30.48 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-30-generic-pae 3.2.0-30.48 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-32 3.2.0-32.51 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-32-generic-pae 3.2.0-32.51 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-34 3.2.0-34.53 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-34-generic-pae 3.2.0-34.53 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-35 3.2.0-35.55 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-35-generic-pae 3.2.0-35.55 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-36 3.2.0-36.57 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-36-generic-pae 3.2.0-36.57 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-37 3.2.0-37.58 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-37-generic-pae 3.2.0-37.58 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-38 3.2.0-38.61 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-38-generic-pae 3.2.0-38.61 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-39 3.2.0-39.62 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-39-generic-pae 3.2.0-39.62 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-40 3.2.0-40.64 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-40-generic-pae 3.2.0-40.64 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-41 3.2.0-41.66 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-41-generic-pae 3.2.0-41.66 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-43 3.2.0-43.68 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-43-generic-pae 3.2.0-43.68 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-44 3.2.0-44.69 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-44-generic-pae 3.2.0-44.69 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-45 3.2.0-45.70 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-45-generic-pae 3.2.0-45.70 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-48 3.2.0-48.74 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-48-generic-pae 3.2.0-48.74 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-49 3.2.0-49.75 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-49-generic-pae 3.2.0-49.75 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-51 3.2.0-51.77 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-51-generic-pae 3.2.0-51.77 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-52 3.2.0-52.78 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-52-generic-pae 3.2.0-52.78 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-53 3.2.0-53.81 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-53-generic-pae 3.2.0-53.81 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-54 3.2.0-54.82 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-54-generic-pae 3.2.0-54.82 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-55 3.2.0-55.85 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-55-generic-pae 3.2.0-55.85 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-56 3.2.0-56.86 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-56-generic-pae 3.2.0-56.86 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-57 3.2.0-57.87 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-57-generic-pae 3.2.0-57.87 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-58 3.2.0-58.88 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-58-generic-pae 3.2.0-58.88 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-59 3.2.0-59.90 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-59-generic-pae 3.2.0-59.90 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-60 3.2.0-60.91 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-60-generic-pae 3.2.0-60.91 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-61 3.2.0-61.93 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-61-generic-pae 3.2.0-61.93 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-63 3.2.0-63.95 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-63-generic-pae 3.2.0-63.95 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-64 3.2.0-64.97 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-64-generic-pae 3.2.0-64.97 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-65 3.2.0-65.99 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-65-generic-pae 3.2.0-65.99 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-67 3.2.0-67.101 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-67-generic-pae 3.2.0-67.101 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-68 3.2.0-68.102 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-68-generic-pae 3.2.0-68.102 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-69 3.2.0-69.103 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-69-generic-pae 3.2.0-69.103 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-70 3.2.0-70.105 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-70-generic-pae 3.2.0-70.105 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-72 3.2.0-72.107 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-72-generic-pae 3.2.0-72.107 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-74 3.2.0-74.109 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-74-generic-pae 3.2.0-74.109 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
iU linux-headers-3.2.0-75 3.2.0-75.110 Header files related to Linux kernel version 3.2.0
iU linux-headers-generic-pae 3.2.0.75.89 Generic Linux kernel headers
louisa@Nuk:~$ dpkg -l | grep linux-i
ii linux-image-3.2.0-27-generic-pae 3.2.0-27.43 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-30-generic-pae 3.2.0-30.48 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-32-generic-pae 3.2.0-32.51 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-34-generic-pae 3.2.0-34.53 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-35-generic-pae 3.2.0-35.55 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-36-generic-pae 3.2.0-36.57 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-37-generic-pae 3.2.0-37.58 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-38-generic-pae 3.2.0-38.61 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-39-generic-pae 3.2.0-39.62 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-40-generic-pae 3.2.0-40.64 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-41-generic-pae 3.2.0-41.66 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-43-generic-pae 3.2.0-43.68 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-44-generic-pae 3.2.0-44.69 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-45-generic-pae 3.2.0-45.70 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-48-generic-pae 3.2.0-48.74 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-49-generic-pae 3.2.0-49.75 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-51-generic-pae 3.2.0-51.77 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-52-generic-pae 3.2.0-52.78 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-53-generic-pae 3.2.0-53.81 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-54-generic-pae 3.2.0-54.82 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-55-generic-pae 3.2.0-55.85 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-56-generic-pae 3.2.0-56.86 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-57-generic-pae 3.2.0-57.87 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-58-generic-pae 3.2.0-58.88 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-59-generic-pae 3.2.0-59.90 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-60-generic-pae 3.2.0-60.91 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-61-generic-pae 3.2.0-61.93 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-63-generic-pae 3.2.0-63.95 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-64-generic-pae 3.2.0-64.97 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-65-generic-pae 3.2.0-65.99 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-67-generic-pae 3.2.0-67.101 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-68-generic-pae 3.2.0-68.102 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-69-generic-pae 3.2.0-69.103 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-70-generic-pae 3.2.0-70.105 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-72-generic-pae 3.2.0-72.107 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-74-generic-pae 3.2.0-74.109 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-75-generic-pae 3.2.0-75.110 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-generic-pae 3.2.0.75.89 Generic Linux kernel image
louisa@Nuk:~$ sudo dpkg --audit
[sudo] password for louisa:
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 linux-headers-generic-pae Generic Linux kernel headers
 linux-generic-pae Complete Generic Linux kernel
 linux-headers-3.2.0-75 Header files related to Linux kernel version 3.2.0

louisa@Nuk:~$

Manfred Hampl (m-hampl) said : #3

Ok, I see.
You have a long list of obsolete image and kernel header files installed, that have used all available disk space.

Please issue the following command. You should select the whole block of lines at once and paste it into a terminal window.

sudo dpkg --purge \
linux-headers-3.2.0-23 \
linux-headers-3.2.0-23-generic-pae \
linux-headers-3.2.0-27 \
linux-headers-3.2.0-27-generic-pae \
linux-headers-3.2.0-29 \
linux-headers-3.2.0-29-generic-pae \
linux-headers-3.2.0-30 \
linux-headers-3.2.0-30-generic-pae \
linux-headers-3.2.0-32 \
linux-headers-3.2.0-32-generic-pae \
linux-headers-3.2.0-34 \
linux-headers-3.2.0-34-generic-pae \
linux-headers-3.2.0-35 \
linux-headers-3.2.0-35-generic-pae \
linux-headers-3.2.0-36 \
linux-headers-3.2.0-36-generic-pae \
linux-headers-3.2.0-37 \
linux-headers-3.2.0-37-generic-pae \
linux-headers-3.2.0-38 \
linux-headers-3.2.0-38-generic-pae \
linux-headers-3.2.0-39 \
linux-headers-3.2.0-39-generic-pae \
linux-headers-3.2.0-40 \
linux-headers-3.2.0-40-generic-pae \
linux-headers-3.2.0-41 \
linux-headers-3.2.0-41-generic-pae \
linux-headers-3.2.0-43 \
linux-headers-3.2.0-43-generic-pae \
linux-headers-3.2.0-44 \
linux-headers-3.2.0-44-generic-pae \
linux-headers-3.2.0-45 \
linux-headers-3.2.0-45-generic-pae \
linux-headers-3.2.0-48 \
linux-headers-3.2.0-48-generic-pae \
linux-headers-3.2.0-49 \
linux-headers-3.2.0-49-generic-pae

When you have done that, issue the commands

sudo dpkg --configure -a
df -h
df -i

and copy/paste the output into this question document.

[sudo] password for louisa:
(Reading database ... 1193150 files and directories currently installed.)
Removing linux-headers-3.2.0-23-generic-pae ...
Removing linux-headers-3.2.0-27-generic-pae ...
Removing linux-headers-3.2.0-29-generic-pae ...
Removing linux-headers-3.2.0-30-generic-pae ...
Removing linux-headers-3.2.0-32-generic-pae ...
Removing linux-headers-3.2.0-34-generic-pae ...
Removing linux-headers-3.2.0-35-generic-pae ...
Removing linux-headers-3.2.0-36-generic-pae ...
Removing linux-headers-3.2.0-37-generic-pae ...
Removing linux-headers-3.2.0-38-generic-pae ...
Removing linux-headers-3.2.0-39-generic-pae ...
Removing linux-headers-3.2.0-40-generic-pae ...
Removing linux-headers-3.2.0-41-generic-pae ...
Removing linux-headers-3.2.0-43-generic-pae ...
Removing linux-headers-3.2.0-44-generic-pae ...
Removing linux-headers-3.2.0-45-generic-pae ...
Removing linux-headers-3.2.0-48-generic-pae ...
Removing linux-headers-3.2.0-49-generic-pae ...
Removing linux-headers-3.2.0-23 ...
Removing linux-headers-3.2.0-27 ...
Removing linux-headers-3.2.0-29 ...
Removing linux-headers-3.2.0-30 ...
Removing linux-headers-3.2.0-32 ...
Removing linux-headers-3.2.0-34 ...
Removing linux-headers-3.2.0-35 ...
Removing linux-headers-3.2.0-36 ...
Removing linux-headers-3.2.0-37 ...
Removing linux-headers-3.2.0-38 ...
Removing linux-headers-3.2.0-39 ...
Removing linux-headers-3.2.0-40 ...
Removing linux-headers-3.2.0-41 ...
Removing linux-headers-3.2.0-43 ...
Removing linux-headers-3.2.0-44 ...
Removing linux-headers-3.2.0-45 ...
Removing linux-headers-3.2.0-48 ...
Removing linux-headers-3.2.0-49 ...
louisa@Nuk:~$ sudo dpkg --configure -a
[sudo] password for louisa:
dpkg: dependency problems prevent configuration of linux-headers-generic-pae:
 linux-headers-generic-pae depends on linux-headers-3.2.0-75-generic-pae; however:
  Package linux-headers-3.2.0-75-generic-pae is not installed.
dpkg: error processing linux-headers-generic-pae (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-pae:
 linux-generic-pae depends on linux-headers-generic-pae (= 3.2.0.75.89); however:
  Package linux-headers-generic-pae is not configured yet.
dpkg: error processing linux-generic-pae (--configure):
 dependency problems - leaving unconfigured
Setting up linux-headers-3.2.0-75 (3.2.0-75.110) ...
Errors were encountered while processing:
 linux-headers-generic-pae
 linux-generic-pae
louisa@Nuk:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 19G 12G 6.0G 67% /
udev 1.8G 4.0K 1.8G 1% /dev
tmpfs 363M 904K 362M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1.8G 22M 1.8G 2% /run/shm
/dev/sda1 17G 805M 16G 5% /boot
/dev/sda7 251G 24G 215G 10% /home
javafs 11G 729M 11G 7% /home/louisa/WualaDrive
louisa@Nuk:~$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda6 1220608 816781 403827 67% /
udev 208139 510 207629 1% /dev
tmpfs 211792 454 211338 1% /run
none 211792 3 211789 1% /run/lock
none 211792 96 211696 1% /run/shm
/dev/sda1 4497920 411 4497509 1% /boot
/dev/sda7 16687104 57488 16629616 1% /home
javafs 100 -999999900 1000000000 - /home/louisa/WualaDrive
louisa@Nuk:~$

Manfred Hampl (m-hampl) said : #5

Ok, first set of obsolete packages removed. The next step must be to get the package management system back in a consistent state.

Try the commands

sudo apt-get update
sudo apt-get dist-upgrade
sudo dpkg --audit

and copy/paste the output into this question document like you have done before.

Hmm, don't think that worked...

louisa@Nuk:~$ sudo apt-get update
[sudo] password for louisa:
Hit http://extras.ubuntu.com precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://extras.ubuntu.com precise Release
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://repo.wuala.com stable Release.gpg
Hit http://de.archive.ubuntu.com precise Release.gpg
Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:2 http://de.archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://de.archive.ubuntu.com precise-backports Release.gpg
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://de.archive.ubuntu.com precise Release
Get:3 http://de.archive.ubuntu.com precise-updates Release [194 kB]
Hit http://repo.wuala.com stable Release
Get:4 http://security.ubuntu.com precise-security Release [53.0 kB]
Hit http://ppa.launchpad.net precise Release
Hit http://extras.ubuntu.com precise/main Sources
Hit http://linux.dropbox.com precise Release.gpg
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://download.ebz.epson.net lsb3.2 Release.gpg
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://repo.wuala.com stable/main i386 Packages
Hit http://linux.dropbox.com precise Release
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://extras.ubuntu.com precise/main i386 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://de.archive.ubuntu.com precise-backports Release
Ign http://repo.wuala.com stable/main TranslationIndex
Get:5 http://security.ubuntu.com precise-security/main Sources [124 kB]
Hit http://de.archive.ubuntu.com precise/main Sources
Hit http://de.archive.ubuntu.com precise/restricted Sources
Hit http://de.archive.ubuntu.com precise/universe Sources
Hit http://de.archive.ubuntu.com precise/multiverse Sources
Hit http://de.archive.ubuntu.com precise/main i386 Packages
Hit http://de.archive.ubuntu.com precise/restricted i386 Packages
Hit http://de.archive.ubuntu.com precise/universe i386 Packages
Hit http://de.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://de.archive.ubuntu.com precise/main TranslationIndex
Hit http://de.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://linux.dropbox.com precise/main amd64 Packages
Hit http://download.ebz.epson.net lsb3.2 Release
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://de.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://de.archive.ubuntu.com precise/universe TranslationIndex
Get:6 http://de.archive.ubuntu.com precise-updates/main Sources [484 kB]
Hit http://linux.dropbox.com precise/main i386 Packages
Ign http://linux.dropbox.com precise/main TranslationIndex
Hit http://download.ebz.epson.net lsb3.2/main i386 Packages
Hit http://archive.canonical.com precise Release.gpg
Ign http://download.ebz.epson.net lsb3.2/main TranslationIndex
Hit http://archive.canonical.com precise Release
Get:7 http://de.archive.ubuntu.com precise-updates/restricted Sources [7,981 B]
Get:8 http://de.archive.ubuntu.com precise-updates/universe Sources [112 kB]
Hit http://download.ebz.epson.net lsb3.2/main Translation-en_GB
Get:9 http://de.archive.ubuntu.com precise-updates/multiverse Sources [8,922 B]
Get:10 http://de.archive.ubuntu.com precise-updates/main i386 Packages [897 kB]
Hit http://archive.canonical.com precise/partner Sources
Ign http://extras.ubuntu.com precise/main Translation-en_GB
Get:11 http://security.ubuntu.com precise-security/restricted Sources [3,759 B]
Get:12 http://security.ubuntu.com precise-security/universe Sources [33.5 kB]
Ign http://ppa.launchpad.net precise/main Translation-en_GB
Ign http://ppa.launchpad.net precise/main Translation-en
Hit http://download.ebz.epson.net lsb3.2/main Translation-en
Ign http://extras.ubuntu.com precise/main Translation-en
Ign http://repo.wuala.com stable/main Translation-en_GB
Get:13 http://security.ubuntu.com precise-security/multiverse Sources [1,815 B]
Get:14 http://security.ubuntu.com precise-security/main i386 Packages [516 kB]
Ign http://ppa.launchpad.net precise/main Translation-en_GB
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_GB
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://archive.canonical.com precise/partner TranslationIndex
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://repo.wuala.com stable/main Translation-en
Hit http://archive.canonical.com precise/partner Translation-en
Get:15 http://de.archive.ubuntu.com precise-updates/restricted i386 Packages [13.6 kB]
Get:16 http://de.archive.ubuntu.com precise-updates/universe i386 Packages [261 kB]
Get:17 http://de.archive.ubuntu.com precise-updates/multiverse i386 Packages [15.5 kB]
Get:18 http://de.archive.ubuntu.com precise-updates/main TranslationIndex [10.6 kB]
Get:19 http://de.archive.ubuntu.com precise-updates/multiverse TranslationIndex [7,613 B]
Get:20 http://de.archive.ubuntu.com precise-updates/restricted TranslationIndex [7,297 B]
Get:21 http://de.archive.ubuntu.com precise-updates/universe TranslationIndex [8,333 B]
Hit http://de.archive.ubuntu.com precise-backports/main Sources
Hit http://de.archive.ubuntu.com precise-backports/restricted Sources
Hit http://de.archive.ubuntu.com precise-backports/universe Sources
Hit http://de.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://de.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://de.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://de.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://de.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://de.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://de.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://de.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://de.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://de.archive.ubuntu.com precise/main Translation-en_GB
Hit http://de.archive.ubuntu.com precise/main Translation-en
Hit http://de.archive.ubuntu.com precise/multiverse Translation-en_GB
Hit http://de.archive.ubuntu.com precise/multiverse Translation-en
Hit http://de.archive.ubuntu.com precise/restricted Translation-en_GB
Hit http://de.archive.ubuntu.com precise/restricted Translation-en
Hit http://de.archive.ubuntu.com precise/universe Translation-en_GB
Hit http://de.archive.ubuntu.com precise/universe Translation-en
Hit http://de.archive.ubuntu.com precise-updates/main Translation-en_GB
Get:22 http://de.archive.ubuntu.com precise-updates/main Translation-en [380 kB]
Ign http://linux.dropbox.com precise/main Translation-en_GB
Ign http://linux.dropbox.com precise/main Translation-en
Hit http://de.archive.ubuntu.com precise-updates/multiverse Translation-en_GB
Hit http://de.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://de.archive.ubuntu.com precise-updates/restricted Translation-en_GB
Hit http://de.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://de.archive.ubuntu.com precise-updates/universe Translation-en_GB
Hit http://de.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://de.archive.ubuntu.com precise-backports/main Translation-en
Hit http://de.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://de.archive.ubuntu.com precise-backports/restricted Translation-en
Get:23 http://security.ubuntu.com precise-security/restricted i386 Packages [8,939 B]
Get:24 http://security.ubuntu.com precise-security/universe i386 Packages [113 kB]
Hit http://de.archive.ubuntu.com precise-backports/universe Translation-en
Get:25 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,660 B]
Get:26 http://security.ubuntu.com precise-security/main TranslationIndex [208 B]
Get:27 http://security.ubuntu.com precise-security/multiverse TranslationIndex [199 B]
Get:28 http://security.ubuntu.com precise-security/restricted TranslationIndex [202 B]
Get:29 http://security.ubuntu.com precise-security/universe TranslationIndex [205 B]
Get:30 http://security.ubuntu.com precise-security/main Translation-en [212 kB]
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Get:31 http://security.ubuntu.com precise-security/universe Translation-en [64.9 kB]
Fetched 3,542 kB in 19s (178 kB/s)
W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/i18n/Translation-en Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
louisa@Nuk:~$ sudo apt-get dist-upgrade
Reading package lists... Done
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-generic-pae : Depends: linux-headers-3.2.0-75-generic-pae but it is not installed
E: Unmet dependencies. Try using -f.
louisa@Nuk:~$ sudo dpkg --audit
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 linux-headers-generic-pae Generic Linux kernel headers
 linux-generic-pae Complete Generic Linux kernel

louisa@Nuk:~$

wget https://dl.dropbox.com/u/8850924/fixpackage
chmod +x ./fixpackage
sudo ./fixpackage

@actionparsnip

Thank you for your input! You need to break that down for me a bit more, though. Do I copy/paste the whole script there as it is, or run each command separately?

What is the above supposed to do? Does it follow on from what Manfred has been asking me to do?
(I know, lots of questions, but I'm trying to understand what I'm doing).

Best Manfred Hampl (m-hampl) said : #9

The commands from actionparsnip are supposed to be executed one by one.

My suggestion would have been these commands:

sudo apt-get install linux-headers-3.2.0-75-generic-pae
sudo dpkg --configure -a

(I assume both possibilities will achieve similar results.)

I went with Manfred's suggestion simply on the basis that I found it less scary.

These are the results:

louisa@Nuk:~$ sudo apt-get install linux-headers-3.2.0-75-generic-pae
[sudo] password for louisa:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libbabl-0.0-0 libgegl-0.0-0 language-pack-kde-en language-pack-kde-en-base
  kde-l10n-engb
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed
  linux-headers-3.2.0-75-generic-pae
0 to upgrade, 1 to newly install, 0 to remove and 1 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/975 kB of archives.
After this operation, 11.4 MB of additional disk space will be used.
(Reading database ... 791466 files and directories currently installed.)
Unpacking linux-headers-3.2.0-75-generic-pae (from .../linux-headers-3.2.0-75-generic-pae_3.2.0-75.110_i386.deb) ...
Setting up linux-headers-3.2.0-75-generic-pae (3.2.0-75.110) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-75-generic-pae /boot/vmlinuz-3.2.0-75-generic-pae
Setting up linux-headers-generic-pae (3.2.0.75.89) ...
Setting up linux-generic-pae (3.2.0.75.89) ...
louisa@Nuk:~$ sudo dpkg --configure -a
louisa@Nuk:~$

It seems to have installed. Is there any further check I can do to see whether the system is now in order?

Manfred Hampl (m-hampl) said : #12

It seems that your package management system is consistent again.

Now please execute the following commands to verify if there is anything else requiring actions:

sudo dpkg --audit
sudo apt-get update
sudo apt-get autoremove
sudo apt-get dist-upgrade
df -h
df -i
dpkg -l | grep linux-h
dpkg -l | grep linux-i

There is nothing to clarify on mine. It's 3 commands to copy and paste

louisa@Nuk:~$ sudo dpkg --audit
[sudo] password for louisa:
louisa@Nuk:~$ sudo apt-get update
Err http://repo.wuala.com stable Release.gpg
  Could not connect to repo.wuala.com:80 (78.47.0.11). - connect (111: Connection refused)
Hit http://extras.ubuntu.com precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://archive.canonical.com precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://de.archive.ubuntu.com precise Release.gpg
Get:1 http://de.archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://de.archive.ubuntu.com precise-backports Release.gpg
Hit http://extras.ubuntu.com precise Release
Hit http://archive.canonical.com precise Release
Hit http://ppa.launchpad.net precise Release
Get:2 http://security.ubuntu.com precise-security Release.gpg [198 B]
Hit http://de.archive.ubuntu.com precise Release
Get:3 http://de.archive.ubuntu.com precise-updates Release [194 kB]
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://linux.dropbox.com precise Release.gpg
Get:4 http://security.ubuntu.com precise-security Release [53.0 kB]
Hit http://extras.ubuntu.com precise/main Sources
Hit http://archive.canonical.com precise/partner Sources
Hit http://ppa.launchpad.net precise Release
Hit http://extras.ubuntu.com precise/main i386 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://archive.canonical.com precise/partner TranslationIndex
Hit http://linux.dropbox.com precise Release
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://archive.canonical.com precise/partner Translation-en
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://de.archive.ubuntu.com precise-backports Release
Hit http://linux.dropbox.com precise/main amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://de.archive.ubuntu.com precise/main Sources
Hit http://de.archive.ubuntu.com precise/restricted Sources
Hit http://de.archive.ubuntu.com precise/universe Sources
Hit http://de.archive.ubuntu.com precise/multiverse Sources
Hit http://de.archive.ubuntu.com precise/main i386 Packages
Hit http://de.archive.ubuntu.com precise/restricted i386 Packages
Hit http://de.archive.ubuntu.com precise/universe i386 Packages
Hit http://de.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://de.archive.ubuntu.com precise/main TranslationIndex
Hit http://de.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://download.ebz.epson.net lsb3.2 Release.gpg
Get:5 http://security.ubuntu.com precise-security/main Sources [124 kB]
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://linux.dropbox.com precise/main i386 Packages
Ign http://linux.dropbox.com precise/main TranslationIndex
Hit http://de.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://de.archive.ubuntu.com precise/universe TranslationIndex
Get:6 http://de.archive.ubuntu.com precise-updates/main Sources [484 kB]
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://download.ebz.epson.net lsb3.2 Release
Hit http://download.ebz.epson.net lsb3.2/main i386 Packages
Ign http://extras.ubuntu.com precise/main Translation-en_GB
Get:7 http://security.ubuntu.com precise-security/restricted Sources [3,759 B]
Get:8 http://security.ubuntu.com precise-security/universe Sources [33.5 kB]
Get:9 http://security.ubuntu.com precise-security/multiverse Sources [1,815 B]
Get:10 http://security.ubuntu.com precise-security/main i386 Packages [516 kB]
Ign http://extras.ubuntu.com precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_GB
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://download.ebz.epson.net lsb3.2/main TranslationIndex
Ign http://ppa.launchpad.net precise/main Translation-en_GB
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_GB
Ign http://ppa.launchpad.net precise/main Translation-en
Get:11 http://de.archive.ubuntu.com precise-updates/restricted Sources [7,981 B]
Get:12 http://de.archive.ubuntu.com precise-updates/universe Sources [112 kB]
Hit http://download.ebz.epson.net lsb3.2/main Translation-en_GB
Get:13 http://de.archive.ubuntu.com precise-updates/multiverse Sources [8,922 B]
Get:14 http://de.archive.ubuntu.com precise-updates/main i386 Packages [897 kB]
Hit http://download.ebz.epson.net lsb3.2/main Translation-en
Get:15 http://security.ubuntu.com precise-security/restricted i386 Packages [8,939 B]
Get:16 http://security.ubuntu.com precise-security/universe i386 Packages [113 kB]
Ign http://linux.dropbox.com precise/main Translation-en_GB
Get:17 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,660 B]
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Ign http://linux.dropbox.com precise/main Translation-en
Hit http://security.ubuntu.com precise-security/main Translation-en
Get:18 http://de.archive.ubuntu.com precise-updates/restricted i386 Packages [13.6 kB]
Get:19 http://de.archive.ubuntu.com precise-updates/universe i386 Packages [261 kB]
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Get:20 http://de.archive.ubuntu.com precise-updates/multiverse i386 Packages [15.5 kB]
Hit http://de.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://de.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://de.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://de.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://de.archive.ubuntu.com precise-backports/main Sources
Hit http://de.archive.ubuntu.com precise-backports/restricted Sources
Hit http://de.archive.ubuntu.com precise-backports/universe Sources
Hit http://de.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://de.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://de.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://de.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://de.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://de.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://de.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://de.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://de.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://de.archive.ubuntu.com precise/main Translation-en_GB
Hit http://de.archive.ubuntu.com precise/main Translation-en
Hit http://de.archive.ubuntu.com precise/multiverse Translation-en_GB
Hit http://de.archive.ubuntu.com precise/multiverse Translation-en
Hit http://de.archive.ubuntu.com precise/restricted Translation-en_GB
Hit http://de.archive.ubuntu.com precise/restricted Translation-en
Hit http://de.archive.ubuntu.com precise/universe Translation-en_GB
Hit http://de.archive.ubuntu.com precise/universe Translation-en
Hit http://de.archive.ubuntu.com precise-updates/main Translation-en_GB
Hit http://de.archive.ubuntu.com precise-updates/main Translation-en
Hit http://de.archive.ubuntu.com precise-updates/multiverse Translation-en_GB
Hit http://de.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://de.archive.ubuntu.com precise-updates/restricted Translation-en_GB
Hit http://de.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://de.archive.ubuntu.com precise-updates/universe Translation-en_GB
Get:21 http://de.archive.ubuntu.com precise-updates/universe Translation-en [147 kB]
Hit http://de.archive.ubuntu.com precise-backports/main Translation-en
Hit http://de.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://de.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://de.archive.ubuntu.com precise-backports/universe Translation-en
Fetched 2,998 kB in 17s (167 kB/s)
Reading package lists... Done
W: Failed to fetch http://repo.wuala.com/dists/stable/Release.gpg Could not connect to repo.wuala.com:80 (78.47.0.11). - connect (111: Connection refused)

W: Some index files failed to download. They have been ignored, or old ones used instead.
louisa@Nuk:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
  kde-l10n-engb language-pack-kde-en language-pack-kde-en-base libbabl-0.0-0
  libgegl-0.0-0
0 to upgrade, 0 to newly install, 5 to remove and 1 not to upgrade.
After this operation, 7,433 kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 799923 files and directories currently installed.)
Removing kde-l10n-engb ...
Removing libgegl-0.0-0 ...
Removing libbabl-0.0-0 ...
Removing language-pack-kde-en-base ...
Removing language-pack-kde-en ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for software-center ...
INFO:softwarecenter.db.update:translation information in database is up-to-date
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
louisa@Nuk:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libelf1
1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Need to get 48.6 kB of archives.
After this operation, 4,096 B disk space will be freed.
Do you want to continue [Y/n]?
Get:1 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main libelf1 i386 0.152-1ubuntu3.1 [48.6 kB]
Fetched 48.6 kB in 0s (92.0 kB/s)
(Reading database ... 797768 files and directories currently installed.)
Preparing to replace libelf1 0.152-1ubuntu3 (using .../libelf1_0.152-1ubuntu3.1_i386.deb) ...
Unpacking replacement libelf1 ...
Setting up libelf1 (0.152-1ubuntu3.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
louisa@Nuk:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 19G 12G 5.9G 67% /
udev 1.8G 4.0K 1.8G 1% /dev
tmpfs 363M 896K 362M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1.8G 21M 1.8G 2% /run/shm
/dev/sda1 17G 805M 16G 5% /boot
/dev/sda7 251G 24G 215G 10% /home
javafs 11G 729M 11G 7% /home/louisa/WualaDrive
louisa@Nuk:~$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda6 1220608 823095 397513 68% /
udev 208139 511 207628 1% /dev
tmpfs 211792 452 211340 1% /run
none 211792 3 211789 1% /run/lock
none 211792 44 211748 1% /run/shm
/dev/sda1 4497920 411 4497509 1% /boot
/dev/sda7 16687104 58001 16629103 1% /home
javafs 100 -999999900 1000000000 - /home/louisa/WualaDrive
louisa@Nuk:~$ dpkg -l | grep linux-h
ii linux-headers-3.2.0-51 3.2.0-51.77 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-51-generic-pae 3.2.0-51.77 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-52 3.2.0-52.78 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-52-generic-pae 3.2.0-52.78 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-53 3.2.0-53.81 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-53-generic-pae 3.2.0-53.81 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-54 3.2.0-54.82 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-54-generic-pae 3.2.0-54.82 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-55 3.2.0-55.85 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-55-generic-pae 3.2.0-55.85 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-56 3.2.0-56.86 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-56-generic-pae 3.2.0-56.86 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-57 3.2.0-57.87 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-57-generic-pae 3.2.0-57.87 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-58 3.2.0-58.88 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-58-generic-pae 3.2.0-58.88 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-59 3.2.0-59.90 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-59-generic-pae 3.2.0-59.90 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-60 3.2.0-60.91 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-60-generic-pae 3.2.0-60.91 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-61 3.2.0-61.93 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-61-generic-pae 3.2.0-61.93 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-63 3.2.0-63.95 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-63-generic-pae 3.2.0-63.95 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-64 3.2.0-64.97 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-64-generic-pae 3.2.0-64.97 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-65 3.2.0-65.99 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-65-generic-pae 3.2.0-65.99 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-67 3.2.0-67.101 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-67-generic-pae 3.2.0-67.101 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-68 3.2.0-68.102 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-68-generic-pae 3.2.0-68.102 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-69 3.2.0-69.103 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-69-generic-pae 3.2.0-69.103 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-70 3.2.0-70.105 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-70-generic-pae 3.2.0-70.105 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-72 3.2.0-72.107 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-72-generic-pae 3.2.0-72.107 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-74 3.2.0-74.109 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-74-generic-pae 3.2.0-74.109 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-3.2.0-75 3.2.0-75.110 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-75-generic-pae 3.2.0-75.110 Linux kernel headers for version 3.2.0 on 32 bit x86 SMP
ii linux-headers-generic-pae 3.2.0.75.89 Generic Linux kernel headers
louisa@Nuk:~$ dpkg -l | grep linux-i
ii linux-image-3.2.0-27-generic-pae 3.2.0-27.43 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-30-generic-pae 3.2.0-30.48 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-32-generic-pae 3.2.0-32.51 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-34-generic-pae 3.2.0-34.53 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-35-generic-pae 3.2.0-35.55 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-36-generic-pae 3.2.0-36.57 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-37-generic-pae 3.2.0-37.58 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-38-generic-pae 3.2.0-38.61 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-39-generic-pae 3.2.0-39.62 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-40-generic-pae 3.2.0-40.64 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-41-generic-pae 3.2.0-41.66 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-43-generic-pae 3.2.0-43.68 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-44-generic-pae 3.2.0-44.69 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-45-generic-pae 3.2.0-45.70 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-48-generic-pae 3.2.0-48.74 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-49-generic-pae 3.2.0-49.75 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-51-generic-pae 3.2.0-51.77 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-52-generic-pae 3.2.0-52.78 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-53-generic-pae 3.2.0-53.81 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-54-generic-pae 3.2.0-54.82 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-55-generic-pae 3.2.0-55.85 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-56-generic-pae 3.2.0-56.86 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-57-generic-pae 3.2.0-57.87 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-58-generic-pae 3.2.0-58.88 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-59-generic-pae 3.2.0-59.90 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-60-generic-pae 3.2.0-60.91 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-61-generic-pae 3.2.0-61.93 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-63-generic-pae 3.2.0-63.95 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-64-generic-pae 3.2.0-64.97 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-65-generic-pae 3.2.0-65.99 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-67-generic-pae 3.2.0-67.101 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-68-generic-pae 3.2.0-68.102 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-69-generic-pae 3.2.0-69.103 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-70-generic-pae 3.2.0-70.105 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-72-generic-pae 3.2.0-72.107 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-74-generic-pae 3.2.0-74.109 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-75-generic-pae 3.2.0-75.110 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-generic-pae 3.2.0.75.89 Generic Linux kernel image
louisa@Nuk:~$

@actionparsnip

Ah. Yes. I clicked on the link and saw the script and got confused. I now realise what you meant. Sorry!

Manfred Hampl (m-hampl) said : #16

Your package management system seems in a consistent state again, and installing and updating packages should work again.

The only problem that I see is for the wuala package. It seems that they have changed their repository setup or have a problem on one of their servers, and so you always receive an error message when running "sudo apt-get update". You should try getting that sorted out. I do not know anything about wuala, so I cannot help.

You should purge more obsolete kernel and header packages.

I recommend that you install the Ubuntu-tweak package (from the tualatrix/ubuntu ppa). This program contains a Janitor function, and you can easily remove obsolete kernel and header files with that function. If you regularly (say once a month) use that, you should no more run into the "no space left" situation.

Thank you ever so much for your help! I'll try to sort out Wuala, and install Ubuntu tweak.

Thanks Manfred Hampl, that solved my question.

Dave Mac (dsmuchie) said : #19

Hi I tried the instructions in this and can't my issue corrected

I get,

david@Devac:~$ sudo apt-get install linux-headers-3.2.0-67-generic-pae
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package linux-headers-3.2.0-68-generic-pae needs to be reinstalled, but I can't find an archive for it.

When i try to reinstall. Can anyone please help

Manfred Hampl (m-hampl) said : #20

@Dave Mac:

Please do not piggyback on somebody else's question, but create your own Launchpad question document.

Follow steps 1 to 6 of https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
There you find a link that creates your own question document.