free space calculation wrong for /boot

Bug #223642 reported by archp2008
2
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Triaged
High
Unassigned

Bug Description

Binary package hint: update-manager

At conclusion of automatic update insufficient disk space was reported. When I restarted it reports restricted drivers in use for NVidia 7300GS. I have to scross across desktop to see it all. Various error message scroll down the screen on rebooting.

ProblemType: Package
Architecture: i386
Date: Mon Apr 28 07:16:00 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (2)

NonfreeKernelModules: nvidia
Package: update-manager 1:0.87.24
PackageArchitecture: all
SourcePackage: update-manager
Title: package update-manager 1:0.87.24 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (2)
Uname: Linux 2.6.22-14-generic i686

Revision history for this message
archp2008 (archwparsons) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Please attach the files in /var/log/dist-upgrade to this bugreport.
 Thanks Michael

Changed in update-manager:
status: New → Incomplete
Revision history for this message
archp2008 (archwparsons) wrote :
Revision history for this message
archp2008 (archwparsons) wrote : Re: [Bug 223642] Re: update from Gutsy Gibbon reports errors

Hi Michael,

Thanks for the reply. I went back to the posting and tried to attach the
files in the dist-upgrade folder . They seem to have become joined
together. Please let me know if this is not satisfactory.

Arch Parsons

----- Original Message -----
From: "Michael Vogt" <email address hidden>
To: <email address hidden>
Sent: 2008-04-29 11:28
Subject: [Bug 223642] Re: update from Gutsy Gibbon reports errors

Thanks for your bugreport.

Please attach the files in /var/log/dist-upgrade to this bugreport.
 Thanks Michael

** Changed in: update-manager (Ubuntu)
       Status: New => Incomplete

--
update from Gutsy Gibbon reports errors
https://bugs.launchpad.net/bugs/223642
You received this bug notification because you are a direct subscriber
of the bug.

Status in Source Package "update-manager" in Ubuntu: Incomplete

Bug description:
Binary package hint: update-manager

At conclusion of automatic update insufficient disk space was reported.
When I restarted it reports restricted drivers in use for NVidia 7300GS. I
have to scross across desktop to see it all. Various error message scroll
down the screen on rebooting.

ProblemType: Package
Architecture: i386
Date: Mon Apr 28 07:16:00 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: ErrorMessage: SystemError in cache.commit(): E:Sub-process
/usr/bin/dpkg returned an error code (2)

NonfreeKernelModules: nvidia
Package: update-manager 1:0.87.24
PackageArchitecture: all
SourcePackage: update-manager
Title: package update-manager 1:0.87.24 failed to install/upgrade:
ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg
returned an error code (2)
Uname: Linux 2.6.22-14-generic i686

Revision history for this message
archp2008 (archwparsons) wrote : Re: update from Gutsy Gibbon reports errors
Revision history for this message
archp2008 (archwparsons) wrote :
Revision history for this message
archp2008 (archwparsons) wrote :

I looked at my Linux partitions using Disk Director in Windows XP and noted that the swap file is 1.9 gb, one EXT3 partition has 41 of its 47 mb capacity filled, the other EXT3 parition has only 7.1 gb of a total of 53 gb filled. The small 47 mb EXT3 partition looks to be the problem. Please let me know if you need any other files.

Revision history for this message
archp2008 (archwparsons) wrote :

When I try to access Synaptic Package I get this error: E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for the logs. It looks like there are diskspace issues on /boot that caused the problem:

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.24-16-generic
gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-2.6.24-16-generic
dpkg: subprocess post-installation script returned error exit status 1

I appears that the free space calculation got it wrong:

2008-04-28 05:15:04,908 DEBUG dir '/boot' needs '20971520' of '<DistUpgradeController.FreeSpace object at 0xbaa9cec>' (22050816.000000)

It calculated it would need 21.0M when 22.1M were avaialble. Apparently that was not enough. Could you please attach the output of:

$ ls -l /boot

to this bugreport?

Changed in update-manager:
importance: Undecided → High
milestone: none → later
status: Incomplete → Confirmed
Revision history for this message
archp2008 (archwparsons) wrote :

I have no top menu bar now. I attempted to install AWN last night
http://news.softpedia.com/news/Install-AWN-on-Hardy-Heron-82611.shtml
I used method 1 (easy method) followed by tip 3 to remove Gnome panel. When I rebooted it came back with no top panel to access programs from. Please help.

Revision history for this message
archp2008 (archwparsons) wrote :

I should mention that I inceased the partition size of the boot partition to 2 gb now. I did this prior to attempting to install the AWN menu.

Revision history for this message
archp2008 (archwparsons) wrote :

FYI, I was advised (correctly) in http://ubuntuforums.org to go to usr in file system and bin. search for gnome-panel and double click.

Changed in update-manager:
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.