Re: Trunk version of linux-image ISSUE: SOLVED!Thanks to all who responded

2010-04-21 Thread John W Foster
-Original Message-
From: Stephen Powell zlinux...@wowway.com
To: debian-user@lists.debian.org
Subject: Re: Trunk version of linux-image ISSUE
Date: Sat, 17 Apr 2010 12:49:27 -0400 (EDT)

On Sat, 17 Apr 2010 09:37:30 -0400 (EDT), JW Foster wrote:
 Examining /etc/kernel/postrm.d .
 run-parts: executing /etc/kernel/postrm.d/extlinux
 2.6.32-trunk-686 /boot/vmlinuz-2.6.32-trunk-686
 run-parts: /etc/kernel/postrm.d/extlinux exited with return code 1

Normally, when a script in /etc/kernel/*/scriptname fails, and the
script name matches a package name (extlinux in this case), the
script was installed by that package.  Since you're using grub as
your bootloader, and since extlinux was designed for use with
the syslinux boot loader, I'm not sure why you have it installed in
the first place.  That could be your problem.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-



-- 
John Foster

Thanks to all who responded. This situation was resolved by applying the
intell, gleaned from the thoughts provided by Stephen  others from all
of you. 
Here is what I did.
1. used mc to locate every vestige of the trunk version, and physically
deleted all of them. Recall I was able to get the other version to boot
up, albeit without it being properly configured correctly.
2. used synaptic to purge syslinux  extlinux  mkrboot. Both extlinux 
syslinux were added by mkrboot when I installed it to make some bootable
media.
3. reinstalled the upgraded regular linux-image.
4. celebrated the fact that given time this list has solved every issue
I've ever had with linux.

An opinion: the trunk version is NOT properly packaed with approriate
warnings  should be removed from the distro, or at least sent to
experimental.
John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1271857349.5563.9.ca...@brutus



Trunk version of linux-image ISSUE

2010-04-17 Thread JW Foster
I', sent this previously but so far no reply. Can anyone tell me how to
get rid of this issue. I did an update  the trunk version of
linux-image was installed as the upgraded version. A few weeks later I
tried to install the newer regular version  after a few attempts it
finally installed  grub configured it. However it is not properly
configured according to the installer as it keeps trying to configure
the non-trunk version every time I do an update. Now I've been able to
select the non-trunk version  have my system running it, even though
it's not properly configured. I tried to then remove the trunk ver. 
this is the error message I get.
-
(Reading database ... 431717 files and directories currently installed.)
Removing linux-image-2.6.32-trunk-686 ...
Running postrm hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.32-3-686
Found initrd image: /boot/initrd.img-2.6.32-3-686
File descriptor 11 (pipe:[29311]) leaked on lvs invocation. Parent PID
15623: /bin/sh
File descriptor 12 (pipe:[29311]) leaked on lvs invocation. Parent PID
15623: /bin/sh
  No volume groups found
Found Debian GNU/Linux (5.0.1) on /dev/hdb1
Found Debian GNU/Linux (4.0) on /dev/hdc1
done
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/extlinux
2.6.32-trunk-686 /boot/vmlinuz-2.6.32-trunk-686
run-parts: /etc/kernel/postrm.d/extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d
at /var/lib/dpkg/info/linux-image-2.6.32-trunk-686.postrm line 265.
dpkg: error processing linux-image-2.6.32-trunk-686 (--purge):
subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
linux-image-2.6.32-trunk-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up linux-image-2.6.32-3-686 (2.6.32-9) ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-3-686
W: Possible missing firmware /lib/firmware/rtl8168d-2.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl8168d-1.fw for module
r8169
initrd.img(/boot/initrd.img-2.6.32-3-686
) points to /boot/initrd.img-2.6.32-3-686
(/boot/initrd.img-2.6.32-3-686) -- doing nothing
at /var/lib/dpkg/info/linux-image-2.6.32-3-686.postinst line 400.
vmlinuz(/boot/vmlinuz-2.6.32-3-686
) points to /boot/vmlinuz-2.6.32-3-686
(/boot/vmlinuz-2.6.32-3-686) -- doing nothing
at /var/lib/dpkg/info/linux-image-2.6.32-3-686.postinst line 400.
Running update-grub.
Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.32-3-686
Found initrd image: /boot/initrd.img-2.6.32-3-686
File descriptor 5 (pipe:[16719]) leaked on lvs invocation. Parent PID
21163: /bin/sh
File descriptor 6 (pipe:[16719]) leaked on lvs invocation. Parent PID
21163: /bin/sh
File descriptor 7 (/dev/ptmx) leaked on lvs invocation. Parent PID
21163: /bin/sh
File descriptor 9 (pipe:[16659]) leaked on lvs invocation. Parent PID
21163: /bin/sh
File descriptor 10 (pipe:[16659]) leaked on lvs invocation. Parent PID
21163: /bin/sh
File descriptor 16 (pipe:[30124]) leaked on lvs invocation. Parent PID
21163: /bin/sh
File descriptor 17 (pipe:[30124]) leaked on lvs invocation. Parent PID
21163: /bin/sh
File descriptor 23 (/root/.synaptic/selections.proceed) leaked on lvs
invocation. Parent PID 21163: /bin/sh
File descriptor 26 (/tmp/vteSQ5EBV (deleted)) leaked on lvs invocation.
Parent PID 21163: /bin/sh
File descriptor 28 (/tmp/vte3T5EBV (deleted)) leaked on lvs invocation.
Parent PID 21163: /bin/sh
File descriptor 29 (pipe:[29090]) leaked on lvs invocation. Parent PID
21163: /bin/sh
  No volume groups found
Found Debian GNU/Linux (5.0.1) on /dev/hdb1
Found Debian GNU/Linux (4.0) on /dev/hdc1
done
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/extlinux
2.6.32-3-686 /boot/vmlinuz-2.6.32-3-686
run-parts: /etc/kernel/postinst.d/extlinux exited with return code 1
Failed to process /etc/kernel/postinst.d
at /var/lib/dpkg/info/linux-image-2.6.32-3-686.postinst line 868.
dpkg: error processing linux-image-2.6.32-3-686 (--configure):
subprocess installed post-installation script returned error exit status
9
Errors were encountered while processing:
linux-image-2.6.32-3-686

--

Can anyone please shed some light on this.
Thanks
John Foster


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1271511450.21791.6.ca...@brutus



Re: Trunk version of linux-image ISSUE

2010-04-17 Thread Boyd Stephen Smith Jr.
In 1271511450.21791.6.ca...@brutus, JW Foster wrote:
I', sent this previously but so far no reply. Can anyone tell me how to
get rid of this issue. I did an update  the trunk version of
linux-image was installed as the upgraded version. A few weeks later I
tried to install the newer regular version  after a few attempts it
finally installed  grub configured it. However it is not properly
configured according to the installer as it keeps trying to configure
the non-trunk version every time I do an update. Now I've been able to
select the non-trunk version  have my system running it, even though
it's not properly configured. I tried to then remove the trunk ver. 
this is the error message I get.
[...]
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/extlinux
2.6.32-trunk-686 /boot/vmlinuz-2.6.32-trunk-686
run-parts: /etc/kernel/postrm.d/extlinux exited with return code 1
[...]
A package failed to install.  Trying to recover:
[...]
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/extlinux
2.6.32-3-686 /boot/vmlinuz-2.6.32-3-686
run-parts: /etc/kernel/postinst.d/extlinux exited with return code 1
[...]

I don't have any /etc/kernel/postrm.d/extlinux or 
/etc/kernel/postinst.d/extlinux, so I don't know what they do, but yours are 
evidently broken.

If they are scripts you wrote, fix them.

If they are from a Debian package, it might be appropriate to file a bug 
against that package.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201004171022.07395@iguanasuicide.net



Re: Trunk version of linux-image ISSUE

2010-04-17 Thread Florian Kulzer
On Sat, Apr 17, 2010 at 08:37:30 -0500, JW Foster wrote:
 I', sent this previously but so far no reply. Can anyone tell me how to
 get rid of this issue. I did an update  the trunk version of
 linux-image was installed as the upgraded version. A few weeks later I
 tried to install the newer regular version  after a few attempts it
 finally installed  grub configured it. However it is not properly
 configured according to the installer as it keeps trying to configure
 the non-trunk version every time I do an update. Now I've been able to
 select the non-trunk version  have my system running it, even though
 it's not properly configured. I tried to then remove the trunk ver. 
 this is the error message I get.
 -
 (Reading database ... 431717 files and directories currently installed.)
 Removing linux-image-2.6.32-trunk-686 ...
 Running postrm hook script /usr/sbin/update-grub.
 Generating grub.cfg ...
 Found background image: moreblue-orbit-grub.png
 Found linux image: /boot/vmlinuz-2.6.32-3-686
 Found initrd image: /boot/initrd.img-2.6.32-3-686
 File descriptor 11 (pipe:[29311]) leaked on lvs invocation. Parent PID
 15623: /bin/sh
 File descriptor 12 (pipe:[29311]) leaked on lvs invocation. Parent PID
 15623: /bin/sh

That looks like http://bugs.debian.org/549976, which seems be harmless.

   No volume groups found
 Found Debian GNU/Linux (5.0.1) on /dev/hdb1
 Found Debian GNU/Linux (4.0) on /dev/hdc1
 done
 Examining /etc/kernel/postrm.d .
 run-parts: executing /etc/kernel/postrm.d/extlinux 2.6.32-trunk-686 
 /boot/vmlinuz-2.6.32-trunk-686
 run-parts: /etc/kernel/postrm.d/extlinux exited with return code 1
 Failed to process /etc/kernel/postrm.d at 
 /var/lib/dpkg/info/linux-image-2.6.32-trunk-686.postrm line 265.
 dpkg: error processing linux-image-2.6.32-trunk-686 (--purge):
 subprocess installed post-removal script returned error exit status 2
 Errors were encountered while processing:
 linux-image-2.6.32-trunk-686

Which version of package extlinux do you have installed? This looks like
http://bugs.debian.org/574071, which was fixed in version 2:3.85+dfsg-2.

If your package manager is jammed by this problem then you can try to
download the .deb for the newest version of extlinux from
http://packages.debian.org/extlinux and then install it directly with
dpkg -i.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100417152110.ga5...@isar.localhost



Re: Trunk version of linux-image ISSUE

2010-04-17 Thread Brad Rogers
On Sat, 17 Apr 2010 10:22:07 -0500
Boyd Stephen Smith Jr. b...@iguanasuicide.net wrote:

Hello Boyd,

 If they are from a Debian package, it might be appropriate to file a
 bug against that package.

There's already one filed;

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573962

-- 
 Regards  _
 / )   The blindingly obvious is
/ _)radnever immediately apparent

The public gets what the public wants
Going Underground - The Jam


signature.asc
Description: PGP signature


Re: Trunk version of linux-image ISSUE

2010-04-17 Thread Stephen Powell
On Sat, 17 Apr 2010 09:37:30 -0400 (EDT), JW Foster wrote:
 Examining /etc/kernel/postrm.d .
 run-parts: executing /etc/kernel/postrm.d/extlinux
 2.6.32-trunk-686 /boot/vmlinuz-2.6.32-trunk-686
 run-parts: /etc/kernel/postrm.d/extlinux exited with return code 1

Normally, when a script in /etc/kernel/*/scriptname fails, and the
script name matches a package name (extlinux in this case), the
script was installed by that package.  Since you're using grub as
your bootloader, and since extlinux was designed for use with
the syslinux boot loader, I'm not sure why you have it installed in
the first place.  That could be your problem.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/2073673857.96327.1271522967764.javamail.r...@md01.wow.synacor.com



Re: Trunk version of linux-image ISSUE

2010-04-17 Thread Ben Hutchings
On Sat, 2010-04-17 at 08:37 -0500, JW Foster wrote:
 I', sent this previously but so far no reply. Can anyone tell me how to
 get rid of this issue. I did an update  the trunk version of
 linux-image was installed as the upgraded version. A few weeks later I
 tried to install the newer regular version  after a few attempts it
 finally installed  grub configured it. However it is not properly
 configured according to the installer as it keeps trying to configure
 the non-trunk version every time I do an update. Now I've been able to
 select the non-trunk version  have my system running it, even though
 it's not properly configured. I tried to then remove the trunk ver. 
 this is the error message I get.
[...]

This looks like a bug in extlinux, as the failing script belongs to it.
Please run 'reportbug extlinux'.

For future reference, the primary list for kernel-related questions is
normally debian-ker...@lists.debian.org.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


signature.asc
Description: This is a digitally signed message part