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
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 Disposition: inline Transfer- Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Content-
Content-
On Wed, Sep 29, 2004 at 08:17:08AM -0700, Dave Carrigan wrote: configlets/ localeconf is bad configlets/ xserver- common i= .d/configlet- frontends" , line 314, in ? list() .d/configlet- frontends" , line 183, in save_configle= list_filename, "w") configlet- front= capplet. list' bugs.debian. org/cgi- bin/bugreport. cgi?bug= 3D263076,
> 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/
> start_configlet: configlet in path /usr/share/
s bad
> Traceback (most recent call last):
> File "/etc/configlet
> save_configlet_
> File "/etc/configlet
t_list
> configlet_list_file =3D open(configlet_
> IOError: [Errno 2] No such file or directory: '/var/cache/
ends/configlet-
>=20
> This looks like http://
> 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 configlets configlets || warn "update-configlets failed"
[go to the end of the file]
[change the line:
update-
to:
update-
]
$ 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 people. debian. org/~branden/ | that has sixteen legs and no arse.
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://
--DheUW4aQn8WJk6WR pgp-signature; name="signature .asc" Description: Digital signature Disposition: inline
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
ltGMACgkQ6kxmHy tGonwoRACfVw0w2 YkaLow1wwO43Asd Kpg2 CEcREAGsCXnrwji xqlQ9BVSa7
Version: GnuPG v1.2.5 (GNU/Linux)
iEYEARECAAYFAkF
Z0oAnR/
=P03A
-----END PGP SIGNATURE-----
--DheUW4aQn8WJk 6WR--