run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NULL Project |
Invalid
|
Undecided
|
Unassigned | ||
nvidia-common (Ubuntu) |
Invalid
|
High
|
Alberto Milone |
Bug Description
Ubuntu 9.04, Release 9.04
linux-image-
Installed: 2.6.28-13.44
Candidate: 2.6.28-13.44
Version table:
*** 2.6.28-13.44 0
500 http://
100 /var/lib/
On running update manager, the following files are downloaded but do not install:
E: linux-image-
E: linux-backports
E: linux-restricte
E: linux-backports
E: linux-backports
E: linux-image-
E: linux-restricte
E: linux-generic: dependency problems - leaving unconfigured
ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 10
HibernationDevice: RESUME=
MachineType: Lenovo INVALID
NonfreeKernelMo
Package: linux-image-
ProcCmdLine: root=UUID=
ProcVersionSign
SourcePackage: linux
Title: package linux-image-
ozymandias (ozymandius) wrote : | #1 |
- BootDmesg.txt Edit (49.9 KiB, text/plain; charset="utf-8")
- CurrentDmesg.txt Edit (16.5 KiB, text/plain; charset="utf-8")
- Dependencies.txt Edit (994 bytes, text/plain; charset="utf-8")
- DpkgTerminalLog.txt Edit (22.8 KiB, text/plain; charset="utf-8")
- HalComputerInfo.txt Edit (3.2 KiB, text/plain; charset="utf-8")
- Lspci.txt Edit (26.7 KiB, text/plain; charset="utf-8")
- Lsusb.txt Edit (634 bytes, text/plain; charset="utf-8")
- ProcCpuinfo.txt Edit (1.5 KiB, text/plain; charset="utf-8")
- ProcInterrupts.txt Edit (1.4 KiB, text/plain; charset="utf-8")
- ProcModules.txt Edit (2.9 KiB, text/plain; charset="utf-8")
Steffen Banhardt (steffenbanhardt) wrote : | #2 |
Steffen Banhardt (steffenbanhardt) wrote : | #3 |
Please post your menu.lst (which can be found at /boot/grub/menu.lst ), there seems to be a problem with this file for several users, reporting this bug.
Changed in linux (Ubuntu): | |
status: | New → Incomplete |
HeissFuss (heissfuss) wrote : | #4 |
#menu.lst
default 0
timeout 3
hiddenmenu
title Ubuntu 9.04, kernel 2.6.28-12-generic
root (hd0,0)
kernel /vmlinuz-
initrd /initrd.
quiet
title Ubuntu 9.04, kernel 2.6.28-12-generic (recovery mode)
root (hd0,0)
kernel /vmlinuz-
initrd /initrd.
title Ubuntu 9.04, kernel 2.6.28-11-generic
root (hd0,0)
kernel /vmlinuz-
initrd /initrd.
quiet
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
root (hd0,0)
kernel /vmlinuz-
initrd /initrd.
title Ubuntu 9.04, kernel 2.6.27-14-generic
root (hd0,0)
kernel /vmlinuz-
initrd /initrd.
quiet
title Ubuntu 9.04, kernel 2.6.27-14-generic (recovery mode)
root (hd0,0)
kernel /vmlinuz-
initrd /initrd.
title Ubuntu 9.04, kernel 2.6.24-21-generic
root (hd0,0)
kernel /vmlinuz-
initrd /initrd.
quiet
title Ubuntu 9.04, kernel 2.6.24-21-generic (recovery mode)
root (hd0,0)
kernel /vmlinuz-
initrd /initrd.
title Ubuntu 9.04, memtest86+
root (hd0,0)
kernel /memtest86+.bin
quiet
####
And here's relevant portions of my mtab if that helps:
/dev/mapper/
udev /dev tmpfs rw,mode=0755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,noexec,
/dev/sda1 /boot ext3 rw,noatime 0 0
/dev/mapper/
/dev/mapper/pow-var /var ext4 rw,noatime 0 0
Chispa28 (mferrazuy) wrote : Re: [Bug 388923] Re: package linux-image-2.6.28-13-generic 2.6.28-13.44 failed to install/upgrade: subprocess post-installation script returned error exit status 10 | #5 |
Here it is
title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid 646f9a39-
kernel /boot/vmlinuz-
root=UUID=
usbserial.
initrd /boot/initrd.
quiet
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid 646f9a39-
kernel /boot/vmlinuz-
root=UUID=
initrd /boot/initrd.
title Ubuntu 9.04, memtest86+
uuid 646f9a39-
kernel /boot/memtest86
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1
2009/6/23 Steffen Banhardt <email address hidden>
> Please post your menu.lst (which can be found at /boot/grub/menu.lst ),
> there seems to be a problem with this file for several users, reporting
> this bug.
>
> ** Changed in: linux (Ubuntu)
> Status: New => Incomplete
>
> --
> package linux-image-
> install/upgrade: subprocess post-installation script returned error exit
> status 10
> https:/
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “linux” source package in Ubuntu: Incomplete
>
> Bug description:
> Ubuntu 9.04, Release 9.04
>
> linux-image-
> Installed: 2.6.28-13.44
> Candidate: 2.6.28-13.44
> Version table:
> *** 2.6.28-13.44 0
> 500 http://
> 100 /var/lib/
>
> On running update manager, the following files are downloaded but do not
> install:
>
> E: linux-image-
> returned error exit status 10
> E: linux-backports
> unconfigured
> E: linux-restricte
> leaving unconfigured
> E: linux-backports
> unconfigured
> E: linux-backports
> unconfigured
> E: linux-image-
> E: linux-restricte
> unconfigured
> E: linux-generic: dependency problems - leaving unconfigured
>
> ProblemType: Package
> Architecture: amd64
> DistroRelease: Ubuntu 9.04
> ErrorMessage: subprocess post-installation script returned error exit
> status 10
> HibernationDevice: RESUME=
> MachineType: Lenovo INVALID
> NonfreeKernelMo
> Package: linux-image-
> ProcCmdLine: root=UUID=
B.B. Lauret (bblauret) wrote : Re: [Bug 388923] Re: package linux-image-2.6.28-13-generic 2.6.28-13.44 failed to install/upgrade: subprocess post-installation script returned error exit status 10 | #6 |
When I ran update manager again, I chose to overwrite the menu.lst.
There seems to be no backup of the old one. Everything seems fine I believe.
Steffen Banhardt schreef:
> Please post your menu.lst (which can be found at /boot/grub/menu.lst ),
> there seems to be a problem with this file for several users, reporting
> this bug.
>
> ** Changed in: linux (Ubuntu)
> Status: New => Incomplete
>
>
Smot (smot-msn) wrote : [Bug 388923] Re: package linux-image-2.6.28-13-generic 2.6.28-13.44 failed to install/upgrade: subprocess post-installation script returned error exit status 10 | #7 |
Menu.lst (has been hand edited to include the new Linux kernel that came in the update package as the first entry in the list of choices.)
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_
## kopt_2_
# kopt=root=
## default grub root device
## e.g. groot=(hd0,0)
# groot=(
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative
## lockalternative
# lockalternative
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot option...
ozymandias (ozymandius) wrote : Re: [Bug 388923] Re: package linux-image-2.6.28-13-generic 2.6.28-13.44 failed to install/upgrade: subprocess post-installation script returned error exit status 10 | #8 |
Here is my menu.lst:
gfxmenu /boot/grub/
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0,
and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default
entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default
entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
color black/light-gray black/light-gray
#A splash image for the menu
splashimage=
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive
editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
## password --md5 $1$gLhU0/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_
## kopt_2_
# kopt=root=
## default grub root device
## e.g. groot=(hd0,0)
# groot=76220dad-
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative
## lockalternative
# lockalternative
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) ...
ozymandias (ozymandius) wrote : | #9 |
Here is my menu.lst:
gfxmenu /boot/grub/
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0,
and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default
entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default
entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
color black/light-gray black/light-gray
#A splash image for the menu
splashimage=
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive
editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
## password --md5 $1$gLhU0/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_
## kopt_2_
# kopt=root=
## default grub root device
## e.g. groot=(hd0,0)
# groot=76220dad-
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative
## lockalternative
# lockalternative
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) ...
ozymandias (ozymandius) wrote : Re: package linux-image-2.6.28-13-generic 2.6.28-13.44 failed to install/upgrade: subprocess post-installation script returned error exit status 10 | #10 |
Here is my menu.lst as well:
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
color black/light-gray black/light-gray
#A splash image for the menu
splashimage=
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
## password --md5 $1$gLhU0/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_
## kopt_2_
# kopt=root=
## default grub root device
## e.g. groot=(hd0,0)
# groot=76220dad-
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative
## lockalternative
# lockalternative
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=
# altoptio...
Charlie (baka-animaster) wrote : | #11 |
Anyone has a working solution/workaround for this problem? It bugs me everytime I open the update manager.
HeissFuss (heissfuss) wrote : | #12 |
I got around this by reinstalling the linux-image-
Hey. Could you describe the exact process (and commands) that you used? Did
you uninstall the linux-image-generic before reinstalling it? I had
previously tried this method using synaptic but it had not worked for me.
And I am a little unsure about using terminal commands, since I am afraid of
messing around with my install. Thanks a lot!
2009/6/26 HeissFuss <email address hidden>
> I got around this by reinstalling the linux-image-
> manually with dpkg. I noticed that some of the module dependencies it
> was complaining about were actually zero byte .ko files. After the
> manual reinstall, I reinstalled everything related to modules or image
> again with apt-get and everything seems to be working fine now.
>
> --
> package linux-image-
> install/upgrade: subprocess post-installation script returned error exit
> status 10
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux” package in Ubuntu: Incomplete
>
> Bug description:
> Ubuntu 9.04, Release 9.04
>
> linux-image-
> Installed: 2.6.28-13.44
> Candidate: 2.6.28-13.44
> Version table:
> *** 2.6.28-13.44 0
> 500 http://
> 100 /var/lib/
>
> On running update manager, the following files are downloaded but do not
> install:
>
> E: linux-image-
> returned error exit status 10
> E: linux-backports
> unconfigured
> E: linux-restricte
> leaving unconfigured
> E: linux-backports
> unconfigured
> E: linux-backports
> unconfigured
> E: linux-image-
> E: linux-restricte
> unconfigured
> E: linux-generic: dependency problems - leaving unconfigured
>
> ProblemType: Package
> Architecture: amd64
> DistroRelease: Ubuntu 9.04
> ErrorMessage: subprocess post-installation script returned error exit
> status 10
> HibernationDevice: RESUME=
> MachineType: Lenovo INVALID
> NonfreeKernelMo
> Package: linux-image-
> ProcCmdLine: root=UUID=
> ProcVersionSign
> SourcePackage: linux
> Title: package linux-image-
> install/upgrade: subprocess post-installation script returned error exit
> status 10
>
--
"I shall die as my fathers died, and sleep as they sleep; even so.
For the glass of the years is brittle wherein we gaze for a span;
A little soul for a little bears up this corpse which is man.
So long I endure, no longer; and laugh not again, neither weep.
For there is no God found stronger than death; and death is a sleep."
Matt Park (matthew-james-park) wrote : Re: package linux-image-2.6.28-13-generic 2.6.28-13.44 failed to install/upgrade: subprocess post-installation script returned error exit status 10 | #14 |
This is all related to having a nonstandard menu.lst file. I, for instance, have a windows dual boot and I don't want it to just overwrite my menu.lst every time the kernel updates. If you choose anything other than the overwrite option, it will crash. The fix at this point is not to reinstall the linux-image-generic or whatever you are talking about. Just edit the menu.lst manually or using the kgrubeditor to point grub to the new kernel. It works and only takes a minute.
so if your menu.lst looks like this:
title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid 646f9a39-
kernel /boot/vmlinuz-
root=UUID=
usbserial.
initrd /boot/initrd.
quiet
just change all the 11s to 13s (or make a copy above it with all the 11s into 13s.)
title Ubuntu 9.04, kernel 2.6.28-13-generic
uuid 646f9a39-
kernel /boot/vmlinuz-
root=UUID=
usbserial.
initrd /boot/initrd.
quiet
## Don't just copy and paste this or you will probably break your system JUST CHANGE THE 11s TO 13s.
HeissFuss (heissfuss) wrote : | #15 |
My issue involved a dependency problem similar to the one in this bug:
E: linux-backports
E: linux-restricte
E: linux-backports
E: linux-backports
E: linux-image-
E: linux-restricte
E: linux-generic: dependency problems - leaving unconfigured
The solution for me was to manually install the linux-image-generic .deb package with dpkg, and then reinstall it with synaptic.
I suspect that the menu.lst issue with some of the bugs attached to this is not the same issue.
ozymandias (ozymandius) wrote : | #16 |
I seem to be getting this error message:
User postinst hook script [/sbin/update-grub] exited with value 10
subprocess post-installation script returned error exit status 10
Does anyone know what exactly error exit status 10 means? And would a manual reinstall/editing of menu.lst work in this case?
Matt Park (matthew-james-park) wrote : | #17 |
I'm starting to doubt that all of these should have been lumped together as dupes. Mine exited error status 3, not 10. In my case, everything seemed to install correctly, except the menu.lst was not regenerated with the new kernel information. The way you would check is to "ls -la /boot" (you may have to be root or admin user) and see if you have the new "initrd.
Charlie (baka-animaster) wrote : | #18 |
I have tried to change the menu.lst to point to the new kernel (from 2.6.28-12 to 2.6.28-13 in this case). When I tried to boot to the new kernel, I got a "kernel panic" error message and my machine was frozen.
The command "sudo ls -la /boot" gives me the following output:
-rw-r--r-- 1 root root 529118 2009-04-17 10:41 abi-2.6.
-rw-r--r-- 1 root root 528128 2009-05-02 04:34 abi-2.6.
-rw-r--r-- 1 root root 528128 2009-06-02 16:41 abi-2.6.
-rw-r--r-- 1 root root 96795 2009-04-17 10:41 config-
-rw-r--r-- 1 root root 96768 2009-05-02 04:34 config-
-rw-r--r-- 1 root root 96768 2009-06-02 16:41 config-
drwxr-xr-x 2 root root 4096 2009-06-29 09:39 grub
-rw-r--r-- 1 root root 7539528 2009-05-06 13:43 initrd.
-rw-r--r-- 1 root root 7549063 2009-05-19 02:17 initrd.
-rw-r--r-- 1 root root 128796 2009-03-28 00:15 memtest86+.bin
-rw-r--r-- 1 root root 1456232 2009-04-17 10:41 System.
-rw-r--r-- 1 root root 1449762 2009-05-02 04:34 System.
-rw-r--r-- 1 root root 1449762 2009-06-02 16:41 System.
-rw-r--r-- 1 root root 1074 2009-04-17 10:43 vmcoreinfo-
-rw-r--r-- 1 root root 1074 2009-05-02 04:36 vmcoreinfo-
-rw-r--r-- 1 root root 1074 2009-06-02 16:42 vmcoreinfo-
-rw-r--r-- 1 root root 3501776 2009-04-24 15:56 vmlinuz-
-rw-r--r-- 1 root root 3487792 2009-05-02 04:34 vmlinuz-
-rw-r--r-- 1 root root 3487792 2009-06-02 16:41 vmlinuz-
Any ideas on how to solve this problem?
Kelly Harding (kelly-harding) wrote : | #19 |
- Output of apt-get Edit (5.7 KiB, text/plain)
My menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_
## kopt_2_
# kopt=root=
## default grub root device
## e.g. groot=(hd0,0)
# groot=16f251ec-
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative
## lockalternative
# lockalternative
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=
# altoptions=
## controls how many kernels should be put into the menu.lst
## only counts t...
ops0603 (mike-perkins) wrote : RE: [Bug 388923] Re: package linux-image-2.6.28-13-generic 2.6.28-13.44 failed to install/upgrade: subprocess post-installation script returned error exit status 10 | #20 |
Folks,
This problem can easily be resolved - and I have eliminated all the errors that previously appeared when attempting to apt-get update
Remove the other kernel versions - keep only the 2.6.28-13
It solved the problem immediately.
Cheers,
M.
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Charlie
Sent: June-29-09 10:26 PM
To: <email address hidden>
Subject: [Bug 388923] Re: package linux-image-
I have tried to change the menu.lst to point to the new kernel (from
2.6.28-12 to 2.6.28-13 in this case). When I tried to boot to the new
kernel, I got a "kernel panic" error message and my machine was frozen.
The command "sudo ls -la /boot" gives me the following output:
-rw-r--r-- 1 root root 529118 2009-04-17 10:41 abi-2.6.
-rw-r--r-- 1 root root 528128 2009-05-02 04:34 abi-2.6.
-rw-r--r-- 1 root root 528128 2009-06-02 16:41 abi-2.6.
-rw-r--r-- 1 root root 96795 2009-04-17 10:41 config-
-rw-r--r-- 1 root root 96768 2009-05-02 04:34 config-
-rw-r--r-- 1 root root 96768 2009-06-02 16:41 config-
drwxr-xr-x 2 root root 4096 2009-06-29 09:39 grub
-rw-r--r-- 1 root root 7539528 2009-05-06 13:43 initrd.
-rw-r--r-- 1 root root 7549063 2009-05-19 02:17 initrd.
-rw-r--r-- 1 root root 128796 2009-03-28 00:15 memtest86+.bin
-rw-r--r-- 1 root root 1456232 2009-04-17 10:41 System.
-rw-r--r-- 1 root root 1449762 2009-05-02 04:34 System.
-rw-r--r-- 1 root root 1449762 2009-06-02 16:41 System.
-rw-r--r-- 1 root root 1074 2009-04-17 10:43 vmcoreinfo-
-rw-r--r-- 1 root root 1074 2009-05-02 04:36 vmcoreinfo-
-rw-r--r-- 1 root root 1074 2009-06-02 16:42 vmcoreinfo-
-rw-r--r-- 1 root root 3501776 2009-04-24 15:56 vmlinuz-
-rw-r--r-- 1 root root 3487792 2009-05-02 04:34 vmlinuz-
-rw-r--r-- 1 root root 3487792 2009-06-02 16:41 vmlinuz-
Any ideas on how to solve this problem?
--
package linux-image-
https:/
You received this bug notification because you are a direct subscriber
of the bug.
Status in �linux� package in Ubuntu: Incomplete
Bug description:
Ubuntu 9.04, Release 9.04
linux-image-
Installed: 2.6.28-13.44
Candidate: 2.6.28-13.44
Version table:
*** 2.6.28-13.44 0
500 http://
100 /var/lib/
On running update manager, the following files are downloaded but do not install:
E: linux-image-
E: linux-backports
E: linux-restricte
Matt Park (matthew-james-park) wrote : Re: package linux-image-2.6.28-13-generic 2.6.28-13.44 failed to install/upgrade: subprocess post-installation script returned error exit status 10 | #21 |
@Charlie, You are missing the initrd.
So, in your case you need to reinstall the newer one like this.
su - #become the root user
apt-cache search kernel-image #this tells apt to find all the new kernels
apt-get install kernel-
That should be it unless you get additional errors. You will be able to edit your menu.lst with the new kernel info, if it doesn't happen automatically (it should)
Vish (vish) wrote : | #22 |
Thank you for bringing this bug to our attention. Unfortunately a paper cut should be a small usability issue that affects many people and is quick and easy to fix. I'm afraid this bug can't be addressed as part of this project.
A paper cut is a minor usability annoyance that an average user would encounter on his/her first day of using a new installation of Ubuntu 9.10.
For further info about papercuts criteria , pls read > https:/
Don't worry though, This bug has been marked as "invalid" ONLY in the papercuts project.
Changed in hundredpapercuts: | |
status: | New → Invalid |
ops0603 (mike-perkins) wrote : RE: [Bug 388923] Re: package linux-image-2.6.28-13-generic 2.6.28-13.44 | #23 |
Well @Matt, that's an interesting "hypothesis"
I'll be happy to post an image capture of anything you would like to see as evidence to support my statement.
I'm not trying to be argumentative, just factual.
Just thought I would share this with you in case you as a point of interest.
Cheers,
M.
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Matt Park
Sent: June-30-09 01:01 PM
To: <email address hidden>
Subject: [Bug 388923] Re: package linux-image-
@Charlie, You are missing the initrd.
delete all the other kernels as suggested by ops0603 above or else you
will be left without a working kernel.
So, in your case you need to reinstall the newer one like this.
su - #become the root user
apt-cache search kernel-image #this tells apt to find all the new
kernels
apt-get install kernel-
That should be it unless you get additional errors. You will be able to
edit your menu.lst with the new kernel info, if it doesn't happen
automatically (it should)
--
package linux-image-
https:/
You received this bug notification because you are a direct subscriber
of the bug.
Status in �linux� package in Ubuntu: Incomplete
Bug description:
Ubuntu 9.04, Release 9.04
linux-image-
Installed: 2.6.28-13.44
Candidate: 2.6.28-13.44
Version table:
*** 2.6.28-13.44 0
500 http://
100 /var/lib/
On running update manager, the following files are downloaded but do not install:
E: linux-image-
E: linux-backports
E: linux-restricte
E: linux-backports
E: linux-backports
E: linux-image-
E: linux-restricte
E: linux-generic: dependency problems - leaving unconfigured
ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 10
HibernationDevice: RESUME=
MachineType: Lenovo INVALID
NonfreeKernelMo
Package: linux-image-
BerniePallek (bmatthiasp) wrote : Re: package linux-image-2.6.28-13-generic 2.6.28-13.44 failed to install/upgrade: subprocess post-installation script returned error exit status 10 | #24 |
FWIW, on my first reboot (after the failed update), kernel 2.6.28-13 was selected by GRUB, but during (and after) boot, my video drivers (fglrx) were obviously messed; my display was a conglomeration of uninitialized/
I rebooted, and selected my previous working kernel (2.6.28-11) from the runtime GRUB menu, which booted just fine (video okay), and I then edited menu.lst to select that kernel by default. I will leave it as such until an *explanation of the problem* appears (or I figure it out myself).
My menu.lst is fine; I understand how it works (including the automagical section, etc), and I confirmed that the changes made by the update process were okay (I compared them to a previous version; I keep old versions of important files like menu.lst and xorg.conf because I still don't trust machines to modify them competently).
Keep in mind that although my original bug report got folded into this one as a duplicate, it probably does differ at least a bit, insofar as my exit status code from the failures was different, and I'm running restricted video drivers (they were implicated in my report, but are not referenced in this one).
Charlie (baka-animaster) wrote : | #25 |
@Matt
Thanks for your suggestion, but unfortunately it doesn't work.
When I tried the command "apt-cache search kernel-image", the output is: "comedi-source - Comedi kernel module source".
When I tried the command "apt-get install kernel-
Anyway when I tried "sudo apt-get dist-upgrade", I get the following error messages:
E: linux-image-
E: linux-restricte
E: linux-image-
E: linux-restricte
E: linux-generic: dependency problems - leaving unconfigured
Any suggestion?
@ops0603
Thanks for your suggestion. I haven't tried to remove all the other kernels, but when I had tried to boot to the "2.6.28-13" kernel previously by modifying the menu.lst, and I got "kernel panic" error. I'm afraid if I remove the other kernels, I can no longet boot to Ubuntu. Any ideas?
Thank you.
cosa (cosa78) wrote : | #26 |
Here's my menu.lst im still having problems with that
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_
## kopt_2_
# kopt=root=
## default grub root device
## e.g. groot=(hd0,0)
# groot=820ffbcb-
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative
## lockalternative
# lockalternative
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=
# altoptions=
## controls how many kernels should...
®om (rom1v) wrote : | #27 |
Same problem for me, on Ubuntu Jaunty, only default repositories, fresh install, problem with the first upgrade (but I can still upgrade or install other programs) :
# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
Running postinst hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/memtest86
Updating /boot/grub/menu.lst ... done
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: error processing linux-image-
subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-restricte
linux-
Package linux-image-
dpkg: error processing linux-restricte
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-
linux-
Package linux-image-
dpkg: error processing linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-restricte
linux-
Package linux-restricte
dpkg: error processing linux-restricte
dependency problems - lea...
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
®om (rom1v) wrote : | #28 |
(Maybe it's not the same problem, I opened a new bug 396230)
David Rando (david-rando) wrote : | #29 |
this was resolved long ago, seems bad package at the moment only
Changed in linux (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in linux (Ubuntu): | |
status: | Fix Released → Fix Committed |
Changed in linux (Ubuntu): | |
status: | Fix Committed → In Progress |
Matt Zimmerman (mdz) wrote : | #30 |
TRIAGERS: PLEASE READ https:/
There are many bugs marked as duplicates of this one, but there are several different problems underlying them.
Failures which involve errors from update-grub should be filed against the grub package.
dpkg --fsys-tarfile failing indicates a problem unpacking the .deb, e.g. full disk or I/O error
comment 27 shows the nvidia driver failing to compile:
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: error processin
Refer to the document above for more tips on distinguishing different types of upgrade failures in the kernel package.
Changed in linux (Ubuntu): | |
status: | In Progress → Triaged |
importance: | Undecided → High |
affects: | hundredpapercuts → null |
summary: |
- package linux-image-2.6.28-13-generic 2.6.28-13.44 failed to - install/upgrade: subprocess post-installation script returned error exit - status 10 + run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code + 10 |
affects: | linux (Ubuntu) → nvidia-common (Ubuntu) |
Giorgio B. (spudhead85) wrote : | #31 |
This seems to be the same problem in these bugs:
https:/
https:/
On a fully-updated Karmic I had the same problem while installing a custom kernel compiled with make-kpkg.
Installing this package solved the problem:
http://
Hope this will help those who cannot upgrade to (still unstable) Lucid that uses the updated package.
Doug Morse (dm-dougmorse) wrote : | #32 |
Hi,
I can't be completely sure, but I'm fairly certain this relates to a bug I reported, for which I have a SIMPLY, TEMPORARY WORKAROUND that MIGHT help folks effected by this bug. Note that I do NOT have a CUSTOM KERNEL and my workaround is for the stock Ubuntu 9.10 kernel.
Also, for those trying to fix the problem permanently, I have noted some findings that might be helpful.
https:/
Basically, the workaround is simply to temporarily remove all instances of nvidia-common from the /etc/kernel directory hierarchy to allow apt-get to finish the kernel update. It worked for me, and may work for others, but please proceed with caution and if others say that what I've done is a bad idea, then they probably know much better than I.
Hope this helps.
Cheers,
Doug
Changed in nvidia-common (Ubuntu): | |
assignee: | nobody → Canonical Desktop Team (canonical-desktop-team) |
Changed in nvidia-common (Ubuntu): | |
assignee: | Canonical Desktop Team (canonical-desktop-team) → Alberto Milone (albertomilone) |
Alberto Milone (albertomilone) wrote : | #33 |
Can you still reproduce the problem on Lucid after my last upload of nvidia-common?
Changed in nvidia-common (Ubuntu): | |
status: | Triaged → Incomplete |
Jean-Baptiste Lallement (jibel) wrote : | #34 |
We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future.
To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New".
Thanks again!
Changed in nvidia-common (Ubuntu): | |
status: | Incomplete → Invalid |
When I look at #386974, #386524, #391126 or #391164 there seems to be a problem with the menu.lst involved in this