[Bug 1271784] Re: Upgrade from 10.04.04 to 12.04 : while processing linux-headers-3.2.0-58_3.2.0-58.88_all.deb

fermulator 1271784 at bugs.launchpad.net
Thu Jan 23 02:04:46 UTC 2014


OK so we've discovered that I ran out of inodes in the middle of the
upgrade (AFAICT).

I saw that I had a butt load of linux-headers (stale/old) in /usr/src.
{{{
root at fermmy-server:/usr/src# ls -alt
total 168
drwxr-xr-x 24 root root 4096 Jan 22 21:03 linux-headers-3.2.0-58
drwxrwsr-x 42 root src  4096 Jan 22 21:02 .
drwxr-xr-x  7 root root 4096 Jan 22 20:13 linux-headers-3.2.0-58-generic-pae
drwxr-xr-x 10 root root 4096 Jan 22 20:10 ..
drwxr-xr-x  7 root root 4096 Jan 22 13:03 linux-headers-2.6.32-55-generic-pae
drwxr-xr-x 24 root root 4096 Jan  3 06:55 linux-headers-2.6.32-55
drwxr-xr-x  7 root root 4096 Dec  3 06:47 linux-headers-2.6.32-54-generic-pae
drwxr-xr-x 24 root root 4096 Dec  3 06:47 linux-headers-2.6.32-54
drwxr-xr-x  7 root root 4096 Nov  8 06:30 linux-headers-2.6.32-53-generic-pae
drwxr-xr-x 24 root root 4096 Nov  8 06:30 linux-headers-2.6.32-53
drwxr-xr-x  7 root root 4096 Sep 30 06:48 linux-headers-2.6.32-52-generic-pae
drwxr-xr-x 24 root root 4096 Sep 30 06:48 linux-headers-2.6.32-52
drwxr-xr-x  7 root root 4096 Sep  6 06:46 linux-headers-2.6.32-51-generic-pae
drwxr-xr-x 24 root root 4096 Sep  6 06:45 linux-headers-2.6.32-51
lrwxrwxrwx  1 root root   32 Aug 31 21:07 vboxhost-4.2.16 -> ../share/virtualbox/src/vboxhost
drwxr-xr-x  7 root root 4096 Jul 30 06:44 linux-headers-2.6.32-50-generic-pae
drwxr-xr-x 24 root root 4096 Jul 30 06:44 linux-headers-2.6.32-50
drwxr-xr-x  7 root root 4096 Jul  4  2013 linux-headers-2.6.32-49-generic-pae
drwxr-xr-x 24 root root 4096 Jul  4  2013 linux-headers-2.6.32-49
drwxr-xr-x  7 root root 4096 Jun 14  2013 linux-headers-2.6.32-48-generic-pae
drwxr-xr-x 24 root root 4096 Jun 14  2013 linux-headers-2.6.32-48
drwxr-xr-x  7 root root 4096 May 15  2013 linux-headers-2.6.32-47-generic-pae
drwxr-xr-x 24 root root 4096 May 15  2013 linux-headers-2.6.32-47
drwxr-xr-x  7 root root 4096 Apr 19  2013 linux-headers-2.6.32-46-generic-pae
drwxr-xr-x 24 root root 4096 Apr 19  2013 linux-headers-2.6.32-46
drwxr-xr-x  7 root root 4096 Feb 22  2013 linux-headers-2.6.32-45-generic-pae
drwxr-xr-x 24 root root 4096 Feb 22  2013 linux-headers-2.6.32-45
drwxr-xr-x  7 root root 4096 Oct 11  2012 linux-headers-2.6.32-44-generic-pae
drwxr-xr-x 24 root root 4096 Oct 11  2012 linux-headers-2.6.32-44
drwxr-xr-x  7 root root 4096 Oct  2  2012 linux-headers-2.6.32-41-generic-pae
drwxr-xr-x 24 root root 4096 Oct  2  2012 linux-headers-2.6.32-41
drwxr-xr-x  7 root root 4096 Sep 18  2012 linux-headers-2.6.32-43-generic-pae
drwxr-xr-x 24 root root 4096 Sep 18  2012 linux-headers-2.6.32-43
drwxr-xr-x  7 root root 4096 Sep  5  2012 linux-headers-2.6.32-42-generic-pae
drwxr-xr-x 24 root root 4096 Sep  5  2012 linux-headers-2.6.32-42
drwxr-xr-x  7 root root 4096 Mar 23  2012 linux-headers-2.6.32-40-generic-pae
drwxr-xr-x 24 root root 4096 Mar 23  2012 linux-headers-2.6.32-40
drwxr-xr-x  7 root root 4096 Mar  6  2012 linux-headers-2.6.32-39-generic-pae
drwxr-xr-x 24 root root 4096 Mar  6  2012 linux-headers-2.6.32-39
drwxr-xr-x  7 root root 4096 Jan 24  2012 linux-headers-2.6.32-38-generic-pae
drwxr-xr-x 24 root root 4096 Jan 24  2012 linux-headers-2.6.32-38
drwxr-xr-x  7 root root 4096 Dec 20  2011 linux-headers-2.6.32-37-generic-pae
drwxr-xr-x 24 root root 4096 Dec 20  2011 linux-headers-2.6.32-37
}}}

I couldn't properly remove them via "sudo apt-get remove --purge" because of the bad state of apt, so I forcibly removed them (sudo rm -Rf) the last 4x.  Now i have more free inodes yay:
{{{
root at fermmy-server:/usr/src# df -i
Filesystem        Inodes   IUsed     IFree IUse% Mounted on
/dev/md1001       610800  586132     24668   96% /
}}}

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1271784

Title:
  Upgrade from 10.04.04 to 12.04 : while processing linux-
  headers-3.2.0-58_3.2.0-58.88_all.deb

Status in “update-manager” package in Ubuntu:
  New

Bug description:
  Errors were encountered while processing:
  /var/cache/apt/archives/linux-headers-3.2.0-58_3.2.0-58.88_all.deb
  Error in function:
  A fatal error occurred
  Please report this as a bug and include the files
  /var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in
  your report. The upgrade has aborted.
  Your original sources.list was saved in
  /etc/apt/sources.list.distUpgrade.
  SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
  No pending crash reports. Try --help for more information.
  Could not install the upgrades
  The upgrade has aborted. Your system could be in an unusable state. A
  recovery will run now (dpkg --configure -a).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1271784/+subscriptions



More information about the foundations-bugs mailing list