linux-2.6: Hangs while attempting to purge
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub (Debian) |
Fix Released
|
Unknown
|
|||
grub (Ubuntu) |
Invalid
|
High
|
Tollef Fog Heen |
Debian Bug Importer (debzilla) wrote : | #1 |
Debian Bug Importer (debzilla) wrote : | #2 |
Message-ID: <email address hidden>
Date: Thu, 05 Jan 2006 00:34:06 +0100
From: Cesare Leonardi <email address hidden>
To: Nathanael Nerode <email address hidden>, <email address hidden>
CC: <email address hidden>
Subject: Re: Bug#346028: linux-2.6: Hangs while attempting to purge
Nathanael Nerode wrote:
> Package: linux-2.6
> Severity: serious
> Justification: Won't uninstall cleanly
>
>
> It hangs on this line of the postrm script:
>
> my $ret = purge();
>
> I can get it to work by deleting this line. Perhaps this is because a
> debconf routine is being called after "stop" has been called? I don't know,
> but anyway it's a serious bug.
>
> This bug appears in linux-image-
> and I assume in other flavours as well.
Hi Nathanael.
I can confirm this problem, in fact i have also filed a bug against it:
see #344767.
Regards.
Cesare.
Debian Bug Importer (debzilla) wrote : | #3 |
Message-ID: <email address hidden>
Date: Thu, 5 Jan 2006 00:57:54 +0100
From: Sven Luther <email address hidden>
To: Cesare Leonardi <email address hidden>, <email address hidden>
Cc: Nathanael Nerode <email address hidden>, <email address hidden>
Subject: Re: Bug#346028: linux-2.6: Hangs while attempting to purge
On Thu, Jan 05, 2006 at 12:34:06AM +0100, Cesare Leonardi wrote:
> Nathanael Nerode wrote:
> >Package: linux-2.6
> >Severity: serious
> >Justification: Won't uninstall cleanly
> >
> >
> >It hangs on this line of the postrm script:
> >
> >my $ret = purge();
> >
> >I can get it to work by deleting this line. Perhaps this is because a
> >debconf routine is being called after "stop" has been called? I don't
> >know,
> >but anyway it's a serious bug.
> >
> >This bug appears in linux-image-
> >and I assume in other flavours as well.
>
> Hi Nathanael.
> I can confirm this problem, in fact i have also filed a bug against it:
> see #344767.
Hi both of you, ...
It would be great if you could confirm the exact version of those two
packages, and could provide us some log of what is happening, as this bug
report doesn't seem to be very informative.
This issue should have been fixed in linux-image-
really need to find out what did go wrong.
Also, could you please give us the output of ls -lR /etc/kernel, and append it
to the bug report ?
Friendly,
Sven Luther
Debian Bug Importer (debzilla) wrote : | #4 |
Message-ID: <email address hidden>
Date: Thu, 05 Jan 2006 01:19:17 +0100
From: Cesare Leonardi <email address hidden>
To: Sven Luther <email address hidden>
CC: <email address hidden>, Nathanael Nerode <email address hidden>,
<email address hidden>
Subject: Re: Bug#346028: linux-2.6: Hangs while attempting to purge
Sven Luther wrote:
> It would be great if you could confirm the exact version of those two
> packages, and could provide us some log of what is happening, as this bug
> report doesn't seem to be very informative.
For me, i have provided information in bug #344767, as i explained in
the previous message: versions, logs, ecc.
> This issue should have been fixed in linux-image-
> really need to find out what did go wrong.
I haven't tested 2.6.15 because it isn't available in my mirror yet. But
the Nathanael posts tell us that the problem is still present in the
latest kernel.
As soon as it will be available on the mirror i use, i'll test 2.6.15.
> Also, could you please give us the output of ls -lR /etc/kernel, and append it
> to the bug report ?
Do you mean this?
$ ls -lR /etc/kernel-*
-rw-r--r-- 1 root root 179 2005-09-11 20:55 /etc/kernel-
-rw-r--r-- 1 root root 1006 2005-11-08 00:35 /etc/kernel-
Regards.
Cesare.
Debian Bug Importer (debzilla) wrote : | #5 |
Message-ID: <email address hidden>
Date: Thu, 05 Jan 2006 03:51:54 +0100
From: Cesare Leonardi <email address hidden>
To: Sven Luther <email address hidden>
CC: <email address hidden>, Nathanael Nerode <email address hidden>,
<email address hidden>, <email address hidden>
Subject: Re: Bug#346028: linux-2.6: Hangs while attempting to purge
Cesare Leonardi wrote:
> I haven't tested 2.6.15 because it isn't available in my mirror yet. But
> the Nathanael posts tell us that the problem is still present in the
> latest kernel.
> As soon as it will be available on the mirror i use, i'll test 2.6.15.
Ok, 2.6.15 is arrived.
I've tryed to install linux-image-
to purge it and the operation failed. But now, it doesn't hang as stated
in the bug reports, but fails with an error:
(Reading database ... 83162 files and directories currently installed.)
Removing linux-image-
Running postrm hook /sbin/update-grub .
Searching for GRUB installation directory ... found: /boot/grub
The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz
Unless you used the optional flag in lilo,
you may need to re-run lilo
The link /initrd.img is a damaged link
Removing symbolic link initrd.img
Unless you used the optional flag in lilo,
you may need to re-run lilo
Purging configuration files for linux-image-
Running postrm hook /sbin/update-grub .
Searching for GRUB installation directory ... found: /boot/grub
dpkg: error processing linux-image-
subprocess post-removal script returned error exit status 128
Errors were encountered while processing:
linux-
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Press return to continue.
But since the "486" flavour is a new entry, i've also tryed
linux-image-
(while i was investigating for bug #344767, i had also tested
linux-image-
the purge operation for 2.6.15-686-smp failed like 486 flavour:
(Reading database ... 83105 files and directories currently installed.)
Removing linux-image-
Running postrm hook /sbin/update-grub .
Searching for GRUB installation directory ... found: /boot/grub
The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz
Unless you used the optional flag in lilo,
you may need to re-run lilo
The link /initrd.img is a damaged link
Removing symbolic link initrd.img
Unless you used the optional flag in lilo,
you may need to re-run lilo
Purging configuration files for linux-image-
Running postrm hook /sbin/update-grub .
Searching for GRUB installation directory ... found: /boot/grub
dpkg: error processing linux-image-
subprocess post-removal script returned error exit status 128
Errors were encountered while processing:
linux-
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Press return to continue.
Some information about my system:
- Debian Sid
-...
Debian Bug Importer (debzilla) wrote : | #6 |
Message-ID: <email address hidden>
Date: Thu, 5 Jan 2006 07:59:22 +0100
From: Sven Luther <email address hidden>
To: Cesare Leonardi <email address hidden>
Cc: Sven Luther <email address hidden>, <email address hidden>,
Nathanael Nerode <email address hidden>, <email address hidden>, <email address hidden>
Subject: Re: Bug#346028: linux-2.6: Hangs while attempting to purge
On Thu, Jan 05, 2006 at 03:51:54AM +0100, Cesare Leonardi wrote:
> Cesare Leonardi wrote:
> >I haven't tested 2.6.15 because it isn't available in my mirror yet. But
> >the Nathanael posts tell us that the problem is still present in the
> >latest kernel.
> >As soon as it will be available on the mirror i use, i'll test 2.6.15.
>
> Ok, 2.6.15 is arrived.
> I've tryed to install linux-image-
> to purge it and the operation failed. But now, it doesn't hang as stated
> in the bug reports, but fails with an error:
Indeed, this is a grub RC bug, which need to fix their grub-update call from
/etc/kernel/
Friendly,
Sven Luther
Debian Bug Importer (debzilla) wrote : | #7 |
Message-ID: <email address hidden>
Date: Thu, 5 Jan 2006 07:52:36 +0100
From: Sven Luther <email address hidden>
To: Cesare Leonardi <email address hidden>
Cc: Sven Luther <email address hidden>, <email address hidden>,
Nathanael Nerode <email address hidden>, <email address hidden>
Subject: Re: Bug#346028: linux-2.6: Hangs while attempting to purge
On Thu, Jan 05, 2006 at 01:19:17AM +0100, Cesare Leonardi wrote:
> Sven Luther wrote:
> >It would be great if you could confirm the exact version of those two
> >packages, and could provide us some log of what is happening, as this bug
> >report doesn't seem to be very informative.
>
> For me, i have provided information in bug #344767, as i explained in
> the previous message: versions, logs, ecc.
Ah, looking at this one now.
> >This issue should have been fixed in linux-image-
> >really need to find out what did go wrong.
>
> I haven't tested 2.6.15 because it isn't available in my mirror yet. But
> the Nathanael posts tell us that the problem is still present in the
> latest kernel.
But it should not, which is why it is important to investigate. 2.6.14-2 is no
more in the archive as of today, and thus no longer relevant.
For information, i had this problem on powerpc, where the debconfified
mkvmlinuz package used debconf script in the /etc/kernel way described below,
but we fixed it last week, and the new 2.6.15-1 kernel build depend on at
least the 10.028 or 10.029 kernel-package version with this fixed.
So, either it is a new problem, or somehow the version Nathanael has built was
done so using an older kernel-package which was buggy.
> As soon as it will be available on the mirror i use, i'll test 2.6.15.
Thanks.
> >Also, could you please give us the output of ls -lR /etc/kernel, and
> >append it
> >to the bug report ?
>
> Do you mean this?
> $ ls -lR /etc/kernel-*
> -rw-r--r-- 1 root root 179 2005-09-11 20:55 /etc/kernel-
> -rw-r--r-- 1 root root 1006 2005-11-08 00:35 /etc/kernel-
No, the kernel-packahe generated postinst and co script have support for
script hooks, found under /etc/kernel/
exactly you have there, because it is probable that some random third party
hook (like grub-update call maybe) causes this problem.
Friendly,
Sven Luther
Debian Bug Importer (debzilla) wrote : | #8 |
Message-ID: <email address hidden>
Date: Thu, 5 Jan 2006 07:57:40 +0100
From: Sven Luther <email address hidden>
To: Cesare Leonardi <email address hidden>, <email address hidden>
Cc: Sven Luther <email address hidden>, <email address hidden>,
Nathanael Nerode <email address hidden>, <email address hidden>
Subject: Re: Bug#346028: linux-2.6: Hangs while attempting to purge
reassign 344767 grub
thanks
On Thu, Jan 05, 2006 at 01:19:17AM +0100, Cesare Leonardi wrote:
> Sven Luther wrote:
> >It would be great if you could confirm the exact version of those two
> >packages, and could provide us some log of what is happening, as this bug
> >report doesn't seem to be very informative.
>
> For me, i have provided information in bug #344767, as i explained in
> the previous message: versions, logs, ecc.
I have now looked at this bug report, and it is indeed probable that it is a
bug in grub, who wants to write to stdout, which plays hell with the new
kernel-package debconfified due to messing up the debconf protocol.
Since policy mandates debconf for interaction, this is a RC grub bug, and a
proposed fix is have grub-updates output info on stderr instead.
There were some bugs we redirected to the grub guys, but i can't find them in
the BTS anymore, so reasigning the 344767 bug report to them.
Friendly,
Sven Luther
Debian Bug Importer (debzilla) wrote : | #9 |
Message-ID: <email address hidden>
Date: Fri, 06 Jan 2006 01:32:13 +0100
From: Cesare Leonardi <email address hidden>
To: Sven Luther <email address hidden>
CC: <email address hidden>, Nathanael Nerode <email address hidden>,
<email address hidden>, <email address hidden>
Subject: Re: Bug#346028: linux-2.6: Hangs while attempting to purge
Sven Luther wrote:
>>Ok, 2.6.15 is arrived.
>>I've tryed to install linux-image-
>>to purge it and the operation failed. But now, it doesn't hang as stated
>>in the bug reports, but fails with an error:
>
>
> Indeed, this is a grub RC bug, which need to fix their grub-update call from
> /etc/kernel/
Ok, i have also read the other your mails regards the grub bug.
But i would inform you that the /etc/kernel/ folder (that you have
requested us to post in the previous messages) doesn't exist on my system...
Regards.
Cesare.
Debian Bug Importer (debzilla) wrote : | #10 |
Message-ID: <email address hidden>
Date: Fri, 6 Jan 2006 01:38:27 +0100
From: Sven Luther <email address hidden>
To: Cesare Leonardi <email address hidden>
Cc: Sven Luther <email address hidden>, <email address hidden>,
Nathanael Nerode <email address hidden>, <email address hidden>, <email address hidden>
Subject: Re: Bug#346028: linux-2.6: Hangs while attempting to purge
On Fri, Jan 06, 2006 at 01:32:13AM +0100, Cesare Leonardi wrote:
> Sven Luther wrote:
> >>Ok, 2.6.15 is arrived.
> >>I've tryed to install linux-image-
> >>to purge it and the operation failed. But now, it doesn't hang as stated
> >>in the bug reports, but fails with an error:
> >
> >
> >Indeed, this is a grub RC bug, which need to fix their grub-update call
> >from
> >/etc/kernel/
>
> Ok, i have also read the other your mails regards the grub bug.
> But i would inform you that the /etc/kernel/ folder (that you have
> requested us to post in the previous messages) doesn't exist on my system...
Mmm, then i am out of my depth, and i think it is best you follow up with
Manoj, since it is a kernel-package issue.
Friendly,
Sven Luther
Debian Bug Importer (debzilla) wrote : | #11 |
Message-ID: <email address hidden>
Date: Fri, 06 Jan 2006 09:12:41 -0200
From: Otavio Salvador <email address hidden>
To: Sven Luther <email address hidden>
Cc: <email address hidden>, Cesare Leonardi <email address hidden>,
Nathanael Nerode <email address hidden>, <email address hidden>, <email address hidden>
Subject: Re: Bug#344767: Bug#346028: linux-2.6: Hangs while attempting to purge
Sven Luther <email address hidden> writes:
> Mmm, then i am out of my depth, and i think it is best you follow up with
> Manoj, since it is a kernel-package issue.
I and Bastian did the fix for it. It should be include today.
--
O T A V I O S A L V A D O R
-------
E-mail: <email address hidden> UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://
-------
"Microsoft gives you Windows ... Linux gives
you the whole house."
Debian Bug Importer (debzilla) wrote : | #12 |
Message-ID: <email address hidden>
Date: Fri, 6 Jan 2006 07:35:05 -0500
From: Nathanael Nerode <email address hidden>
To: <email address hidden>
Subject: moreinfo
Also, could you please give us the output of ls -lR /etc/kernel
"No such file or directory".
--
Nathanael Nerode <email address hidden>
This space intentionally left blank.
Debian Bug Importer (debzilla) wrote : | #13 |
Message-Id: <E1Eut8M-
Date: Fri, 6 Jan 2006 16:04:02 +0100
From: maximilian attems <email address hidden>
To: <email address hidden>
Subject: reassign 346028 to grub
# Automatically generated email from bts, devscripts version 2.9.10
reassign 346028 grub
Debian Bug Importer (debzilla) wrote : | #14 |
Message-Id: <email address hidden>
Date: Sat, 7 Jan 2006 14:28:28 -0500
From: Nathanael Nerode <email address hidden>
To: <email address hidden>
Cc: <email address hidden>
Subject: works (with lilo) in 2.6.15-1
close 346028
thanks
I retested this (a tedious process to say the least) and 2.6.15-1 appears to
purge cleanly now. I'm using lilo, so I haven't tested it with hook scripts
present. Closing this.
--
Nathanael Nerode <email address hidden>
"(Instead, we front-load the flamewars and grudges in
the interest of efficiency.)" --Steve Lanagasek,
http://
Debian Bug Importer (debzilla) wrote : | #15 |
Message-ID: <email address hidden>
Date: Sat, 7 Jan 2006 18:28:55 -0800
From: Steve Langasek <email address hidden>
To: Nathanael Nerode <email address hidden>, <email address hidden>
Subject: Re: Bug#346028: works (with lilo) in 2.6.15-1
--PEIAKu/WMn1b1Hv9
Content-Type: text/plain; charset=us-ascii
Content-
Content-
On Sat, Jan 07, 2006 at 02:28:28PM -0500, Nathanael Nerode wrote:
> close 346028
> thanks
> I retested this (a tedious process to say the least) and 2.6.15-1 appears=
to=20
> purge cleanly now. I'm using lilo, so I haven't tested it with hook scri=
pts=20
> present. Closing this.
If you're using lilo, how are your tests relevant to a bug filed on grub?
--=20
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
<email address hidden> http://
--PEIAKu/WMn1b1Hv9
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDwHjnKN6
hTu6DKSLdP3iGeO
=U9ya
-----END PGP SIGNATURE-----
--PEIAKu/
Chuck Short (zulcss) wrote : | #16 |
Not us
Changed in grub: | |
status: | Unconfirmed → Rejected |
Chuck Short (zulcss) wrote : | #17 |
Rejected in debian
Changed in grub: | |
status: | Unconfirmed → Rejected |
Message-ID: <20060104231434 .7606.23950. reportbug@ doctormoo>
Date: Wed, 04 Jan 2006 18:14:34 -0500
From: Nathanael Nerode <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: linux-2.6: Hangs while attempting to purge
Package: linux-2.6
Severity: serious
Justification: Won't uninstall cleanly
It hangs on this line of the postrm script:
my $ret = purge();
I can get it to work by deleting this line. Perhaps this is because a
debconf routine is being called after "stop" has been called? I don't know,
but anyway it's a serious bug.
This bug appears in linux-image- 2.6.14- 2-686 and linux-image- 2.6.15- 1-686,
and I assume in other flavours as well.