package linux-image-generic 2.6.24.25.27 failed to install/upgrade: dependency problems - leaving unconfigured

Bug #463401 reported by martinba
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

updating left this package unconfigured

ProblemType: Package
Architecture: i386
Date: Thu Oct 29 11:06:22 2009
DistroRelease: Ubuntu 8.04
ErrorMessage: dependency problems - leaving unconfigured
NonfreeKernelModules: nvidia
Package: linux-image-generic 2.6.24.25.27
PackageArchitecture: i386
SourcePackage: linux-meta
Title: package linux-image-generic 2.6.24.25.27 failed to install/upgrade: dependency problems - leaving unconfigured
Uname: Linux 2.6.24-25-generic i686

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

Here is the error:

Preparing to replace poppler-utils 0.6.4-1ubuntu3.2 (using .../poppler-utils_0.6.4-1ubuntu3.4_i386.deb) ...^M
Unpacking replacement poppler-utils ...^M
Setting up linux-image-2.6.24-25-generic (2.6.24-25.63) ...^M
Running depmod.^M
update-initramfs: Generating /boot/initrd.img-2.6.24-25-generic^M
Running postinst hook script /sbin/update-grub.^M
Searching for GRUB installation directory ... found: /boot/grub^M
Searching for default file ... found: /boot/grub/default^M
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst^M
Searching for splash image ... none found, skipping ...^M
Found kernel: /vmlinuz-2.6.24-25-generic^M
Found kernel: /vmlinuz-2.6.24-24-generic^M
Found kernel: /vmlinuz-2.6.24-23-generic^M
Found kernel: /vmlinuz-2.6.24-22-generic^M
Found kernel: /vmlinuz-2.6.24-21-generic^M
Found kernel: /vmlinuz-2.6.24-19-generic^M
Found kernel: /vmlinuz-2.6.24-18-generic^M
Found kernel: /vmlinuz-2.6.24-17-generic^M
Found kernel: /vmlinuz-2.6.24-16-generic^M
Found kernel: /vmlinuz-2.6.22-14-generic^M
Found kernel: /vmlinuz-2.6.20-16-generic^M
Found kernel: /memtest86+.bin^M
Replacing config file /var/run/grub/menu.lst with new version^M
Updating /boot/grub/menu.lst ... done^M
^M
^M
Setting up linux-ubuntu-modules-2.6.24-25-generic (2.6.24-25.42) ...^M
update-initramfs: Generating /boot/initrd.img-2.6.24-25-generic^M
^M
gzip: stdout: No space left on device^M
update-initramfs: failed for /boot/initrd.img-2.6.24-25-generic^M
dpkg: error processing linux-ubuntu-modules-2.6.24-25-generic (--configure):^M
 subprocess post-installation script returned error exit status 1^M

Looks like the disk was full when the package got installed. Did you install via update-manager? Or apt-get?

Revision history for this message
martinba (gnocchiverdi) wrote : Re: [Bug 463401] Re: package linux-image-generic 2.6.24.25.27 failed to install/upgrade: dependency problems - leaving unconfigured

I installed via Update Manager.

On Thu, Oct 29, 2009 at 12:03 PM, Michael Vogt <email address hidden>wrote:

> Here is the error:
>
> Preparing to replace poppler-utils 0.6.4-1ubuntu3.2 (using
> .../poppler-utils_0.6.4-1ubuntu3.4_i386.deb) ...^M
> Unpacking replacement poppler-utils ...^M
> Setting up linux-image-2.6.24-25-generic (2.6.24-25.63) ...^M
> Running depmod.^M
> update-initramfs: Generating /boot/initrd.img-2.6.24-25-generic^M
> Running postinst hook script /sbin/update-grub.^M
> Searching for GRUB installation directory ... found: /boot/grub^M
> Searching for default file ... found: /boot/grub/default^M
> Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst^M
> Searching for splash image ... none found, skipping ...^M
> Found kernel: /vmlinuz-2.6.24-25-generic^M
> Found kernel: /vmlinuz-2.6.24-24-generic^M
> Found kernel: /vmlinuz-2.6.24-23-generic^M
> Found kernel: /vmlinuz-2.6.24-22-generic^M
> Found kernel: /vmlinuz-2.6.24-21-generic^M
> Found kernel: /vmlinuz-2.6.24-19-generic^M
> Found kernel: /vmlinuz-2.6.24-18-generic^M
> Found kernel: /vmlinuz-2.6.24-17-generic^M
> Found kernel: /vmlinuz-2.6.24-16-generic^M
> Found kernel: /vmlinuz-2.6.22-14-generic^M
> Found kernel: /vmlinuz-2.6.20-16-generic^M
> Found kernel: /memtest86+.bin^M
> Replacing config file /var/run/grub/menu.lst with new version^M
> Updating /boot/grub/menu.lst ... done^M
> ^M
> ^M
> Setting up linux-ubuntu-modules-2.6.24-25-generic (2.6.24-25.42) ...^M
> update-initramfs: Generating /boot/initrd.img-2.6.24-25-generic^M
> ^M
> gzip: stdout: No space left on device^M
> update-initramfs: failed for /boot/initrd.img-2.6.24-25-generic^M
> dpkg: error processing linux-ubuntu-modules-2.6.24-25-generic
> (--configure):^M
> subprocess post-installation script returned error exit status 1^M
>
> Looks like the disk was full when the package got installed. Did you
> install via update-manager? Or apt-get?
>
> --
> package linux-image-generic 2.6.24.25.27 failed to install/upgrade:
> dependency problems - leaving unconfigured
> https://bugs.launchpad.net/bugs/463401
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux-meta” package in Ubuntu: New
>
> Bug description:
> updating left this package unconfigured
>
> ProblemType: Package
> Architecture: i386
> Date: Thu Oct 29 11:06:22 2009
> DistroRelease: Ubuntu 8.04
> ErrorMessage: dependency problems - leaving unconfigured
> NonfreeKernelModules: nvidia
> Package: linux-image-generic 2.6.24.25.27
> PackageArchitecture: i386
> SourcePackage: linux-meta
> Title: package linux-image-generic 2.6.24.25.27 failed to install/upgrade:
> dependency problems - leaving unconfigured
> Uname: Linux 2.6.24-25-generic i686
>

Revision history for this message
martinba (gnocchiverdi) wrote :

I tried installing linux-image-generic with apt-get, with the same results.

E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Stefan Bader (smb) wrote :

This seems to be one more case where the root fs has not enough space. Please make sure, that you have enough space to create another initrd. Then run "sudo apt-get install -f"

Revision history for this message
martinba (gnocchiverdi) wrote :

How do I ensure that the root fs has enough space?

Jorge

On Sun, Nov 1, 2009 at 6:28 AM, Stefan Bader <email address hidden>wrote:

> This seems to be one more case where the root fs has not enough space.
> Please make sure, that you have enough space to create another initrd.
> Then run "sudo apt-get install -f"
>
> --
> package linux-image-generic 2.6.24.25.27 failed to install/upgrade:
> dependency problems - leaving unconfigured
> https://bugs.launchpad.net/bugs/463401
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux-meta” package in Ubuntu: New
>
> Bug description:
> updating left this package unconfigured
>
> ProblemType: Package
> Architecture: i386
> Date: Thu Oct 29 11:06:22 2009
> DistroRelease: Ubuntu 8.04
> ErrorMessage: dependency problems - leaving unconfigured
> NonfreeKernelModules: nvidia
> Package: linux-image-generic 2.6.24.25.27
> PackageArchitecture: i386
> SourcePackage: linux-meta
> Title: package linux-image-generic 2.6.24.25.27 failed to install/upgrade:
> dependency problems - leaving unconfigured
> Uname: Linux 2.6.24-25-generic i686
>

Revision history for this message
Stefan Bader (smb) wrote : Re: [Bug 463401] Re: package linux-image-generic 2.6.24.25.27 failed to install/upgrade: dependency problems - leaving unconfigured

martinba wrote:
> How do I ensure that the root fs has enough space?

If you open a terminal and do a "df -h", the free space listed
for "/" should have at least 10M free. The generic install has
all files (including those in your home directory) in one file-
system. So, some housekeeping would be required (in other words
delete files you do not need anymore).

[Actually I would normally be worried if I had less than 200M
free in "/" as updates take temporarily space as well. If your
update finally goes right, you might want to try
"sudo apt-get clean" to get rid of those]

Revision history for this message
martinba (gnocchiverdi) wrote : Re: [Bug 463401] Re: package linux-image-generic 2.6.24.25.27 failed to install/upgrade: dependency problems - leaving unconfigured

Thank you but I'm still lost. Here is the result of using df -h:

Filesystem Size Used Avail Use% Mounted on
/dev/sda6 289G 13G 262G 5% /
varrun 1013M 208K 1013M 1% /var/run
varlock 1013M 0 1013M 0% /var/lock
udev 1013M 84K 1013M 1% /dev
devshm 1013M 12K 1013M 1% /dev/shm
/dev/sda3 193M 192M 0 100% /boot
tmpfs 1013M 40M 974M 4%
/lib/modules/2.6.24-25-generic/volatile
gvfs-fuse-daemon 289G 13G 262G 5% /home/prospero/.gvfs
/dev/sdb1 15G 437M 15G 3% /media/Cruzer

Now what? How do actually delete files I no longer need.

J

On Mon, Nov 2, 2009 at 3:38 AM, Stefan Bader <email address hidden>wrote:

> martinba wrote:
> > How do I ensure that the root fs has enough space?
>
> If you open a terminal and do a "df -h", the free space listed
> for "/" should have at least 10M free. The generic install has
> all files (including those in your home directory) in one file-
> system. So, some housekeeping would be required (in other words
> delete files you do not need anymore).
>
> [Actually I would normally be worried if I had less than 200M
> free in "/" as updates take temporarily space as well. If your
> update finally goes right, you might want to try
> "sudo apt-get clean" to get rid of those]
>
> --
> package linux-image-generic 2.6.24.25.27 failed to install/upgrade:
> dependency problems - leaving unconfigured
> https://bugs.launchpad.net/bugs/463401
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux-meta” package in Ubuntu: New
>
> Bug description:
> updating left this package unconfigured
>
> ProblemType: Package
> Architecture: i386
> Date: Thu Oct 29 11:06:22 2009
> DistroRelease: Ubuntu 8.04
> ErrorMessage: dependency problems - leaving unconfigured
> NonfreeKernelModules: nvidia
> Package: linux-image-generic 2.6.24.25.27
> PackageArchitecture: i386
> SourcePackage: linux-meta
> Title: package linux-image-generic 2.6.24.25.27 failed to install/upgrade:
> dependency problems - leaving unconfigured
> Uname: Linux 2.6.24-25-generic i686
>

Revision history for this message
Stefan Bader (smb) wrote : Re: [Bug 463401] Re: package linux-image-generic 2.6.24.25.27 failed to install/upgrade: dependency problems - leaving unconfigured

martinba wrote:
> Filesystem Size Used Avail Use% Mounted on
> /dev/sda6 289G 13G 262G 5% /
> /dev/sda3 193M 192M 0 100% /boot

/ is ok, in your case /boot is completely full. The reason is very likely,
that you have gathered quite a lot of older kernels. if you do a

#> ls -la /boot/vmlinuz-*

you should see a list of kernels. chose the oldest number (be aware the sort
order is lexically not numerically, so 2.6.24-2 would show up after 2.6.24-10,
but 2.6.24-10 is newer).
Say you want to delete 2.6.24-2 (I just picked a random number), then you would
type this command to see which packages related to this kernel are installed:

#> dpkg -l | grep -- -2.6.24-2-

Likely there will be a linux-image, a linux-ubuntu-modules and a
linux-restricted-modules (maybe linux-headers and linux-backports-modules).

Now you would remove those with:

#> sudo dpkg --purge <put here the package names from above seperated with space>

Be careful not to delete the currently running kernel version (likely 2.6.24-24).
If you post the output of the "ls -la" shown above, I can help you on the selection.
But if you start with the oldest one and check the "df" output for /boot you could
see when you again have 20-30M free, which should be enough.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

[This is an automated message. Apologies if it has reached you inappropriately.]

This bug was reported against the linux-meta package when it likely should have been reported against the linux package instead. We are automatically transitioning this to the linux kernel package so that the appropriate teams are notified and made aware of this issue.

If this bug really is a bug in the linux-meta package you can move it back to linux-meta and set the Status to Confirmed, or contact us on the #ubuntu-kernel channel on the FreeNode IRC server. Thanks.

affects: linux-meta (Ubuntu) → linux (Ubuntu)
Revision history for this message
martinba (gnocchiverdi) wrote : Re: [Bug 463401] Re: package linux-image-generic 2.6.24.25.27 failed to install/upgrade: dependency problems - leaving unconfigured

Thanks!

That did it. It turns out I had more than ten old kernel files taking up
space.

J

On Mon, Nov 2, 2009 at 5:32 PM, Stefan Bader <email address hidden>wrote:

> martinba wrote:
> > Filesystem Size Used Avail Use% Mounted on
> > /dev/sda6 289G 13G 262G 5% /
> > /dev/sda3 193M 192M 0 100% /boot
>
> / is ok, in your case /boot is completely full. The reason is very likely,
> that you have gathered quite a lot of older kernels. if you do a
>
> #> ls -la /boot/vmlinuz-*
>
> you should see a list of kernels. chose the oldest number (be aware the
> sort
> order is lexically not numerically, so 2.6.24-2 would show up after
> 2.6.24-10,
> but 2.6.24-10 is newer).
> Say you want to delete 2.6.24-2 (I just picked a random number), then you
> would
> type this command to see which packages related to this kernel are
> installed:
>
> #> dpkg -l | grep -- -2.6.24-2-
>
> Likely there will be a linux-image, a linux-ubuntu-modules and a
> linux-restricted-modules (maybe linux-headers and linux-backports-modules).
>
> Now you would remove those with:
>
> #> sudo dpkg --purge <put here the package names from above seperated
> with space>
>
> Be careful not to delete the currently running kernel version (likely
> 2.6.24-24).
> If you post the output of the "ls -la" shown above, I can help you on the
> selection.
> But if you start with the oldest one and check the "df" output for /boot
> you could
> see when you again have 20-30M free, which should be enough.
>
> --
> package linux-image-generic 2.6.24.25.27 failed to install/upgrade:
> dependency problems - leaving unconfigured
> https://bugs.launchpad.net/bugs/463401
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux-meta” package in Ubuntu: New
>
> Bug description:
> updating left this package unconfigured
>
> ProblemType: Package
> Architecture: i386
> Date: Thu Oct 29 11:06:22 2009
> DistroRelease: Ubuntu 8.04
> ErrorMessage: dependency problems - leaving unconfigured
> NonfreeKernelModules: nvidia
> Package: linux-image-generic 2.6.24.25.27
> PackageArchitecture: i386
> SourcePackage: linux-meta
> Title: package linux-image-generic 2.6.24.25.27 failed to install/upgrade:
> dependency problems - leaving unconfigured
> Uname: Linux 2.6.24-25-generic i686
>

Revision history for this message
martinba (gnocchiverdi) wrote :

The problem is resolved.

J

On Mon, Nov 2, 2009 at 7:18 PM, Leann Ogasawara <
<email address hidden>> wrote:

> [This is an automated message. Apologies if it has reached you
> inappropriately.]
>
> This bug was reported against the linux-meta package when it likely
> should have been reported against the linux package instead. We are
> automatically transitioning this to the linux kernel package so that the
> appropriate teams are notified and made aware of this issue.
>
> If this bug really is a bug in the linux-meta package you can move it
> back to linux-meta and set the Status to Confirmed, or contact us on the
> #ubuntu-kernel channel on the FreeNode IRC server. Thanks.
>
>
> ** Package changed: linux-meta (Ubuntu) => linux (Ubuntu)
>
> --
> package linux-image-generic 2.6.24.25.27 failed to install/upgrade:
> dependency problems - leaving unconfigured
> https://bugs.launchpad.net/bugs/463401
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux” package in Ubuntu: New
>
> Bug description:
> updating left this package unconfigured
>
> ProblemType: Package
> Architecture: i386
> Date: Thu Oct 29 11:06:22 2009
> DistroRelease: Ubuntu 8.04
> ErrorMessage: dependency problems - leaving unconfigured
> NonfreeKernelModules: nvidia
> Package: linux-image-generic 2.6.24.25.27
> PackageArchitecture: i386
> SourcePackage: linux-meta
> Title: package linux-image-generic 2.6.24.25.27 failed to install/upgrade:
> dependency problems - leaving unconfigured
> Uname: Linux 2.6.24-25-generic i686
>

Revision history for this message
Stefan Bader (smb) wrote :

According to the last comment, the problem is fixed. Marking it here as "invalid" as this was due to insufficient installation space and not because of a broken package.

Changed in linux (Ubuntu):
status: New → Invalid
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.