[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug 295175 followup



On Sun, Feb 20, 2005 at 01:16:58PM -0800, Thomas Bushnell BSG wrote:
> Bug 295175, the grave xfree86-common bug that was blocking many
> autobuilds has now had its fix uploaded to the archive.
> 
> Unfortunately, the xfree86 build with the fix is failing, and looking
> at the build logs, I think it's because the buildd chroots are still
> corrupted with the damage that the buggy package did.

Well, the damage is in part the package's fault, and in part (apparently)
dpkg's -- if you do a --purge of an installed package, the package does not
pass through the "removed ok conffiles-only" stage.  Instead, despite the
package payload being removed, the package is marked as still being
installed, which is where all this grief comes from.

> We need the buildd maintainers to all clean the chroots by hand

Yes, but...

> (perhaps it would be best to just rebuild them from scratch),

I don't think that's necessary.  Just apply the attached patch[1] in
/var/lib/dpkg/info.

> and then reschedule builds of xfree86.

That part's necessary too.  :)

> Regardless of exactly what the correct procedure is, is there someone
> who is taking the lead of making sure all this happens?  More than a
> few packages have gotten stalled by the corrupted chroots on the
> buildd's causing spurious build failures and it needs by-hand work to
> correct each one.

Steve Langasek has been working with me and some of the buildd admins on
this via IRC, but it is good to give this cleanup procedure broader
exposure.

[1] also available at <URL: http://redwald.deadbeast.net/tmp/xfree86-common_postrm_buildd_fix.diff >

-- 
G. Branden Robinson                |       The software said it required
Debian GNU/Linux                   |       Windows 3.1 or better, so I
branden@debian.org                 |       installed Linux.
http://people.debian.org/~branden/ |
--- xfree86-common.postrm~	2004-02-17 18:20:44.000000000 -0500
+++ xfree86-common.postrm	2005-02-19 14:07:19.323055852 -0500
@@ -599,7 +599,7 @@
 
 
 if [ "$1" = "purge" ]; then
-  update-rc.d "$THIS_PACKAGE" remove
+  update-rc.d "$THIS_PACKAGE" >/dev/null remove
   for DIR in /etc/X11/Xresources /etc/X11/Xsession.d /etc/X11; do
     rmdir "$DIR" 2> /dev/null || true
   done

Attachment: signature.asc
Description: Digital signature


Reply to: