Comment 16 for bug 7550

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 7 Oct 2004 16:25:55 -0500
From: Branden Robinson <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: Re: Latest xserver-xfree86 not installable due to bad configlet

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

On Wed, Sep 29, 2004 at 08:17:08AM -0700, Dave Carrigan wrote:
> I was doing my regular upgrade today and couldn't upgrade
> xserver-xfree86:
>=20
> Setting up xserver-xfree86 (4.3.0.dfsg.1-8) ...
> start_configlet: configlet in path /usr/share/configlets/localeconf is bad
> start_configlet: configlet in path /usr/share/configlets/xserver-common i=
s bad
> Traceback (most recent call last):
> File "/etc/configlet.d/configlet-frontends", line 314, in ?
> save_configlet_list()
> File "/etc/configlet.d/configlet-frontends", line 183, in save_configle=
t_list
> configlet_list_file =3D open(configlet_list_filename, "w")
> IOError: [Errno 2] No such file or directory: '/var/cache/configlet-front=
ends/configlet-capplet.list'
>=20
> This looks like http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D263076,
> but there's nothing in the bug report that suggests a workaround or fix.
>=20
> I'm a little nervous about ending my X session in case it can't be
> restarted. Any suggestions?

Sorry it took so long to get back to you about this.

A real kludge of a workaround would be to modify the package's installed
postinst script to not die if update-configlets dies, and then tell dpkg to
configure the package again.

$ editor /var/lib/dpkg/info/xserver-xfree86.postinst
[go to the end of the file]
[change the line:
    update-configlets
 to:
    update-configlets || warn "update-configlets failed"
]
$ dpkg --configure --pending

Jeff Licquia has given me a patch to effectuate the migration to the new
python-gtk bindings. I plan to apply that patch, or one much like it.

--=20
G. Branden Robinson | It just seems to me that you are
Debian GNU/Linux | willfully entering an arse-kicking
<email address hidden> | contest with a monstrous entity
http://people.debian.org/~branden/ | that has sixteen legs and no arse.

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

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

iEYEARECAAYFAkFltGMACgkQ6kxmHytGonwoRACfVw0w2YkaLow1wwO43AsdKpg2
Z0oAnR/CEcREAGsCXnrwjixqlQ9BVSa7
=P03A
-----END PGP SIGNATURE-----

--DheUW4aQn8WJk6WR--