package linux-restricted-modules-2.6.27-9-generic 2.6.27-9.13 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Asked by jon

how do i fix this problem?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu linux-restricted-modules Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
jon (paradis410) said :
#1

can any one help me with this problem

Revision history for this message
Wim (launchpad-xs4all) said :
#2

Jon,

please give us more information:
? Which version are you using: Ubuntu/Kubuntu/Xubuntu/...
version number 06.06.1, 08.04.1, ... ?
? Are you installing on a newly created partition ?
? Were you upgrading from an older version ?
? How were you installing/upgrading ?
? Which part did succeed, where did it stopped ?

Revision history for this message
jon (paradis410) said :
#3

im using ubuntu 8.10
i am installing a newlly created partition
it installed fine
when i went to install updates everything installed except for the linux restricted module..it wouldnt configure.

Revision history for this message
Wim (launchpad-xs4all) said :
#4

Jon,

If your PC starts, can you enter the GRUB-menu (sometimes by pressing <Esc> when you see a screen with a line like "Gub loading stage 1.5..."?
If YES, then start the previous version, (i think) the 3d line stating something like
   Ubuntu8.10, kernel-2.6...

If you are completely logged in, then open a terminal, and enter the command that gives the quantity free diskspace:
   df -H
Is there a partition that is (almast) completely filled?
If YES, then try to remove some files that are on that partition.

In a terminal windows, give these commands (sometimes asking for your password);
1. try re-configure everything
2. remove "old" installation files, giving space
3. get new program-descriptions
4. download new versions & install them
5. try re-configuring everything;
this are the commands:

   sudo dpkg --configure -a
   sudo apt-get clean all
   sudo apt-get update
   sudo apt-get upgrade
   sudo dpkg --configure -a

Does this help you?

Revision history for this message
Sergey Purnyn (spurnyn) said :
#5

I have the same problem with different version.

While running: sudo dpkg --configure -a
I got an error: gzip: stdout: No space left on device

df -H shows only boot partition 92% full the rest of them almost empty. I have a separate boot partition.

Can you please advise what I can delete on this parttion?
This is what I have there now:
sergey@IPT-monitor:~$ ls /boot
abi-2.6.27-11-generic grub System.map-2.6.27-11-generic vmlinuz-2.6.27-11-generic
abi-2.6.27-7-generic initrd.img-2.6.27-11-generic System.map-2.6.27-7-generic vmlinuz-2.6.27-7-generic
abi-2.6.27-9-generic initrd.img-2.6.27-7-generic System.map-2.6.27-9-generic vmlinuz-2.6.27-9-generic
config-2.6.27-11-generic initrd.img-2.6.27-9-generic vmcoreinfo-2.6.27-11-generic
config-2.6.27-7-generic lost+found vmcoreinfo-2.6.27-7-generic
config-2.6.27-9-generic memtest86+.bin vmcoreinfo-2.6.27-9-generic

Whould it be better to reinstall Ubuntu completely without creating separate boot parttion or making boot partition bigger? How big?
===================
Here is full output of sudo dpkg --configure -a

Setting up linux-restricted-modules-2.6.27-11-generic (2.6.27-11.16) ...
update-initramfs: Generating /boot/initrd.img-2.6.27-11-generic

gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-2.6.27-11-generic
dpkg: error processing linux-restricted-modules-2.6.27-11-generic (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-restricted-modules-generic:
 linux-restricted-modules-generic depends on linux-restricted-modules-2.6.27-11-generic; however:
  Package linux-restricted-modules-2.6.27-11-generic is not configured yet.
dpkg: error processing linux-restricted-modules-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-restricted-modules-generic (= 2.6.27.11.14); however:
  Package linux-restricted-modules-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-restricted-modules-2.6.27-11-generic
 linux-restricted-modules-generic
 linux-generic

Thank you.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

Please copy and paste the results of the terminal commands i wrote below:

sudo fdisk -l

df -h

uname -a

dpkg -l | grep -i linux-image | grep -i ^ii

Thank you

Revision history for this message
Sergey Purnyn (spurnyn) said :
#7

Since yesterday I already uninstalled two previous version kernels from boot partition, so I have some space there now. And I believe it I don't have reported error any more.

How ever here is the output of the commands you requested:

sergey@IPT-monitor:~$ sudo fdisk -l

Disk /dev/sda: 40.0 GB, 40016019456 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9fe59fe5

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 6 48163+ 83 Linux
/dev/sda2 7 4865 39029917+ 5 Extended
/dev/sda5 7 128 979933+ 82 Linux swap / Solaris
/dev/sda6 129 4865 38049921 83 Linux
sergey@IPT-monitor:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 36G 2.6G 32G 8% /
tmpfs 243M 0 243M 0% /lib/init/rw
varrun 243M 332K 243M 1% /var/run
varlock 243M 0 243M 0% /var/lock
udev 243M 2.8M 241M 2% /dev
tmpfs 243M 104K 243M 1% /dev/shm
lrm 243M 2.0M 241M 1% /lib/modules/2.6.27-11-generic/volatile
/dev/sda1 46M 20M 24M 46% /boot
sergey@IPT-monitor:~$ uname -a
Linux IPT-monitor 2.6.27-11-generic #1 SMP Wed Jan 28 00:02:01 UTC 2009 i686 GNU/Linux
sergey@IPT-monitor:~$ dpkg -l | grep -i linux-image | grep -i ^ii
ii linux-image-2.6.27-11-generic 2.6.27-11.26 Linux kernel image for version 2.6.27 on x86
ii linux-image-generic 2.6.27.11.14 Generic Linux kernel image

I am also attaching a tail of apt log file starting from the time this error first appears, just in case.

I don't think I would ever create separate boot partition again.

Thank you for your help.

Sergey.

=================================================================
--- On Thu, 1/29/09, marcobra <email address hidden> wrote:

> From: marcobra <email address hidden>
> Subject: Re: [Question #57773]: package linux-restricted-modules-2.6.27-9-generic 2.6.27-9.13 failed to install/upgrade: subprocess post-installation script returned error exit status 1
> To: <email address hidden>
> Date: Thursday, January 29, 2009, 1:27 PM
> Question #57773 on linux-restricted-modules in ubuntu
> changed:
> https://answers.launchpad.net/ubuntu/+source/linux-restricted-modules/+question/57773
>
> marcobra requested for more information:
> Please copy and paste the results of the terminal commands
> i wrote
> below:
>
> sudo fdisk -l
>
> df -h
>
> uname -a
>
> dpkg -l | grep -i linux-image | grep -i ^ii
>
> Thank you
>
> --
> You received this question notification because you are a
> direct
> subscriber of the question.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#8

Seems fine, so is your issue solved...? if yes please mark this question as solved...

Thank you

Revision history for this message
Sergey Purnyn (spurnyn) said :
#9

How do I do that?

--- On Thu, 1/29/09, marcobra <email address hidden> wrote:

> From: marcobra <email address hidden>
> Subject: Re: [Question #57773]: package linux-restricted-modules-2.6.27-9-generic 2.6.27-9.13 failed to install/upgrade: subprocess post-installation script returned error exit status 1
> To: <email address hidden>
> Date: Thursday, January 29, 2009, 4:17 PM
> Question #57773 on linux-restricted-modules in ubuntu
> changed:
> https://answers.launchpad.net/ubuntu/+source/linux-restricted-modules/+question/57773
>
> marcobra requested for more information:
> Seems fine, so is your issue solved...? if yes please mark
> this question
> as solved...
>
> Thank you
>
> --
> You received this question notification because you are a
> direct
> subscriber of the question.

Can you help with this problem?

Provide an answer of your own, or ask jon for more information if necessary.

To post a message you must log in.