[Pkg-mailman-hackers] purge problem?

Lionel Elie Mamane lionel@mamane.lu
Sun, 29 Feb 2004 01:49:09 +0100


--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Feb 29, 2004 at 12:39:31AM +0100, GCS wrote:

>  Please check if you can install and _purge_ mailman 2.4.1

I cannot. As for you, it hangs. It has done the update-rc.d mailman
remove, so I suppose that indeed, it hangs either on the
". /usr/share/debconf/confmodule" or on the "db_purge".

root      4955  4883  0 01:09 pts/0    SN     0:01  |           \_ apt-get =
--purge remove mailman
root      4964  4955  0 01:09 pts/0    SN     0:04  |               \_ /usr=
/bin/dpkg --force-depends --force-remove-essential --purge mailman
root      4989  4964  0 01:10 pts/0    SN     0:02  |                   \_ =
/usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/mailman.pos=
trm purge
root     29847  4989  0 01:32 pts/0    SN     0:00  |                      =
 \_ /bin/sh -e /var/lib/dpkg/info/mailman.postrm purge

master@linzen:~$ sudo strace -p 29847
Password:
Process 29847 attached - interrupt to quit
write(1, "Removing /etc/mailman/ca/admlogi"..., 39

? This is strange: I had this message on my console already:

 Removing /etc/mailman/ca/admlogin.html

master@linzen:~$ sudo ls -l /proc/29847/fd/
total 0
lr-x------    1 root     root           64 2004-02-29 01:40 0 -> pipe:[1064=
880]
l-wx------    1 root     root           64 2004-02-29 01:40 1 -> pipe:[1064=
881]
lrwx------    1 root     root           64 2004-02-29 01:40 2 -> /dev/pts/0
lr-x------    1 root     root           64 2004-02-29 01:40 255 -> /var/lib=
/dpkg/info/mailman.postrm

To me, this looks like writing to a pipe where no one is actively
listening. The pipe is full, and it is blocking on this.

I did:

master@linzen:~$ sudo cat /proc/29847/fd/1

Which gives me the whole list of ucf "Removing ..." messages again,
finishing, plus the line

PURGE=20

and

dpkg: error processing mailman (--purge):
 subprocess post-removal script returned error exit status 128
Errors were encountered while processing:
 mailman
E: Sub-process /usr/bin/dpkg returned an error code (1)


I think we are supposed to call ". /usr/share/debconf/confmodule"
first thing in the script, because it re-execs the script. I'm testing
this right now.

--=20
Lionel
--ZGiS0Q5IWpPtfppv
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAQTcFscRzFz57S3MRAumCAJ4yS/IwDafBaoo3ReRqI1WFanadCwCg8DUC
5qIQpKJIbq42oOUeCRGls58=
=lPa4
-----END PGP SIGNATURE-----

--ZGiS0Q5IWpPtfppv--