Bug#530633: xterm: Unable to configure package
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. Julien Cristau, 31.05.2009 21:05: > On Thu, May 28, 2009 at 11:55:09 +0200, Bram Senders wrote: > >> File: `/var/lib/dpkg/alternatives/x-terminal-emulator.1.gz' >> Size: 10 Blocks: 8 IO Block: 4096 regular file >> Device: 304h/772dInode: 353989 Links: 1 >> Access: (0644/-rw-r--r--) Uid: (0/root) Gid: (0/root) >> Access: 2009-05-28 11:23:07.0 +0200 >> Modify: 2005-02-25 13:11:37.0 +0100 >> Change: 2008-04-03 00:02:28.0 +0200 >> > On Sun, May 31, 2009 at 20:42:35 +0200, Mathias Brodala wrote: > >>> File: „/var/lib/dpkg/alternatives/x-terminal-emulator.1.gz“ >>> Size: 10 Blocks: 8 IO Block: 4096 reguläre Datei >>> Device: 306h/774d Inode: 196536 Links: 1 >>> Access: (0644/-rw-r--r--) Uid: (0/root) Gid: (0/root) >>> Access: 2009-04-07 00:37:08.0 +0200 >>> Modify: 2009-04-07 00:37:08.0 +0200 >>> Change: 2009-04-07 00:37:08.0 +0200 > > What terminal emulators do you have installed? > (contents of /var/lib/dpkg/alternatives/x-terminal-emulator would > probably tell us that) Here’s the content: > auto > /usr/bin/x-terminal-emulator > x-terminal-emulator.1.gz > /usr/share/man/man1/x-terminal-emulator.1.gz > > /usr/bin/lxterm > 30 > /usr/share/man/man1/lxterm.1.gz > /usr/bin/koi8rxterm > 20 > /usr/share/man/man1/koi8rxterm.1.gz > /usr/bin/xfce4-terminal.wrapper > 40 > /usr/share/man/man1/xfce4-terminal.wrapper.1.gz > /usr/bin/urxvt > 11 > /usr/share/man/man1/urxvt.1.gz > /usr/bin/xterm > 20 > /usr/share/man/man1/xterm.1.gz > /usr/bin/uxterm > 20 > /usr/share/man/man1/uxterm.1.gz > /usr/bin/urxvtcd > 11 > /usr/share/man/man1/urxvtcd.1.gz Regards, Mathias - -- debian/rules -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoi1gYACgkQYfUFJ3ewsJh7fQCffxtM6clyWmtccgA6xf6Zt6Vx 4LsAn1XD1oqMXlc6FcviGhkycCI6tyFD =Slk3 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#530633: xterm: Unable to configure package
On Thu, May 28, 2009 at 11:55:09 +0200, Bram Senders wrote: > File: `/var/lib/dpkg/alternatives/x-terminal-emulator.1.gz' > Size: 10Blocks: 8 IO Block: 4096 regular file > Device: 304h/772d Inode: 353989 Links: 1 > Access: (0644/-rw-r--r--) Uid: (0/root) Gid: (0/root) > Access: 2009-05-28 11:23:07.0 +0200 > Modify: 2005-02-25 13:11:37.0 +0100 > Change: 2008-04-03 00:02:28.0 +0200 > On Sun, May 31, 2009 at 20:42:35 +0200, Mathias Brodala wrote: > > File: „/var/lib/dpkg/alternatives/x-terminal-emulator.1.gz“ > > Size: 10 Blocks: 8 IO Block: 4096 reguläre Datei > > Device: 306h/774d Inode: 196536 Links: 1 > > Access: (0644/-rw-r--r--) Uid: (0/root) Gid: (0/root) > > Access: 2009-04-07 00:37:08.0 +0200 > > Modify: 2009-04-07 00:37:08.0 +0200 > > Change: 2009-04-07 00:37:08.0 +0200 > What terminal emulators do you have installed? (contents of /var/lib/dpkg/alternatives/x-terminal-emulator would probably tell us that) Cheers, Julien -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#530633: xterm: Unable to configure package
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. Raphael Hertzog, 31.05.2009 10:47: > On Thu, 28 May 2009, Mathias Brodala wrote: >> Here’s the output: >> >>> File: „/var/lib/dpkg/alternatives/x-terminal-emulator“ > > That's not the good file. I asked for > /var/lib/dpkg/alternatives/x-terminal-emulator.1.gz. > > (Hence the rest of the mail is useless, we know the x-terminal-emulator > alternative is modified each time that the postinst of a terminal is > executed) Sorry about that. The correct file yields this: > File: „/var/lib/dpkg/alternatives/x-terminal-emulator.1.gz“ > Size: 10Blocks: 8 IO Block: 4096 reguläre Datei > Device: 306h/774d Inode: 196536 Links: 1 > Access: (0644/-rw-r--r--) Uid: (0/root) Gid: (0/root) > Access: 2009-04-07 00:37:08.0 +0200 > Modify: 2009-04-07 00:37:08.0 +0200 > Change: 2009-04-07 00:37:08.0 +0200 Nothing in dpkg’s logfiles is related to this timestamp. The logfiles go back to January 2008 here. Regards, Mathias - -- debian/rules -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoiz5sACgkQYfUFJ3ewsJg3nACeJLnHJKxL3KCzreJq5PBrqFOX QgkAn0vEFxEB+RSATmIvoQ55OrrCcnVb =SoAY -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#530633: xterm: Unable to configure package
On Thu, 28 May 2009, Mathias Brodala wrote: > Here’s the output: > > > File: „/var/lib/dpkg/alternatives/x-terminal-emulator“ That's not the good file. I asked for /var/lib/dpkg/alternatives/x-terminal-emulator.1.gz. (Hence the rest of the mail is useless, we know the x-terminal-emulator alternative is modified each time that the postinst of a terminal is executed) Cheers, -- Raphaël Hertzog Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny : http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#530633: xterm: Unable to configure package
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. Raphael Hertzog, 28.05.2009 09:21: > What is the timestamp of this file ? Here’s the output: > File: „/var/lib/dpkg/alternatives/x-terminal-emulator“ > Size: 501 Blocks: 8 IO Block: 4096 reguläre Datei > Device: 306h/774d Inode: 198025 Links: 1 > Access: (0644/-rw-r--r--) Uid: (0/root) Gid: (0/root) > Access: 2009-05-17 00:27:39.0 +0200 > Modify: 2009-05-17 00:27:39.0 +0200 > Change: 2009-05-17 00:27:39.0 +0200 > Can you check if that time correspond to the upgrade of some terminal > related package in /var/log/dpkg.log (or aptitude.log if you use it). There is only one package which comes suspiciously close to the timestamp above: xfce4-terminal. Just for the record, the lines in question are the following: > /var/log/dpkg.log:2009-05-17 00:26:43 upgrade xfce4-terminal 0.2.12-1 0.2.12-2 > /var/log/dpkg.log:2009-05-17 00:26:43 status half-configured xfce4-terminal > 0.2.12-1 > /var/log/dpkg.log:2009-05-17 00:26:43 status unpacked xfce4-terminal 0.2.12-1 > /var/log/dpkg.log:2009-05-17 00:26:43 status half-installed xfce4-terminal > 0.2.12-1 > /var/log/dpkg.log:2009-05-17 00:26:43 status half-installed xfce4-terminal > 0.2.12-1 > /var/log/dpkg.log:2009-05-17 00:26:43 status half-installed xfce4-terminal > 0.2.12-1 > /var/log/dpkg.log:2009-05-17 00:26:43 status half-installed xfce4-terminal > 0.2.12-1 > /var/log/dpkg.log:2009-05-17 00:26:43 status half-installed xfce4-terminal > 0.2.12-1 > /var/log/dpkg.log:2009-05-17 00:26:43 status half-installed xfce4-terminal > 0.2.12-1 > /var/log/dpkg.log:2009-05-17 00:26:44 status unpacked xfce4-terminal 0.2.12-2 > /var/log/dpkg.log:2009-05-17 00:26:44 status unpacked xfce4-terminal 0.2.12-2 > /var/log/dpkg.log:2009-05-17 00:27:39 configure xfce4-terminal 0.2.12-2 > 0.2.12-2 > /var/log/dpkg.log:2009-05-17 00:27:39 status unpacked xfce4-terminal 0.2.12-2 > /var/log/dpkg.log:2009-05-17 00:27:39 status half-configured xfce4-terminal > 0.2.12-2 > /var/log/dpkg.log:2009-05-17 00:27:39 status installed xfce4-terminal 0.2.12-2 As you can see in the last lines, this is more than close but plainly equal. > I don't know who/what called update-alternatives with > x-terminal-emulator.1.gz as master alternative but it's definitely not > a side-effect of proper usage of update-alternatives. Here’s the content of xfce4-terminal.postinst: > #!/bin/sh -e > > # install alternatives links > > if [ "$1" = "configure" ]; then > update-alternatives --install /usr/bin/x-terminal-emulator \ > x-terminal-emulator /usr/bin/xfce4-terminal.wrapper 40 \ > --slave /usr/share/man/man1/x-terminal-emulator.1.gz \ > x-terminal-emulator.1.gz /usr/share/man/man1/xfce4-terminal.wrapper.1.gz > fi > > # Automatically added by dh_installmenu > if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then > update-menus > fi > # End automatically added section > > > exit 0 Proper usage? Regards, Mathias - -- debian/rules -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoeu/0ACgkQYfUFJ3ewsJgVjgCgnW5pHhUaJwdeOCVoxblgo573 qRcAn1G9MpNI+2GUu0JLrzMrTeX+XEkr =0OOF -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#530633: xterm: Unable to configure package
On Thu, May 28, 2009 at 09:21:17AM +0200, Raphael Hertzog wrote: > On Wed, 27 May 2009, Bram Senders wrote: > > There is also an x-terminal-emulator.1.gz file in > > /var/lib/dpkg/alternatives, which is not a gzipped file at all, but just > > contains the contents: > > > > --- 8< --- > > manual > > > > > > > > --- >8 --- > > > > (including the three empty lines) Is this intended? > > The existence of this file is the real problem. update-alternatives only > create such a file for a master alternative and this one should not exist > at all. > > What is the timestamp of this file ? > > stat /var/lib/dpkg/alternatives/x-terminal-emulator.1.gz File: `/var/lib/dpkg/alternatives/x-terminal-emulator.1.gz' Size: 10 Blocks: 8 IO Block: 4096 regular file Device: 304h/772d Inode: 353989 Links: 1 Access: (0644/-rw-r--r--) Uid: (0/root) Gid: (0/root) Access: 2009-05-28 11:23:07.0 +0200 Modify: 2005-02-25 13:11:37.0 +0100 Change: 2008-04-03 00:02:28.0 +0200 > Can you check if that time correspond to the upgrade of some terminal > related package in /var/log/dpkg.log (or aptitude.log if you use it). Unfortunately, my logs don't go back to april last year. ;-) > I don't know who/what called update-alternatives with > x-terminal-emulator.1.gz as master alternative but it's definitely not > a side-effect of proper usage of update-alternatives. Alas I don't know either; this box is maintained by multiple people, so anything might have happened to the terminal alternatives. [snip] > Or maybe simply "rm -f > /var/lib/dpkg/alternatives/x-terminal-emulator.1.gz" as it avoids the > temporary removal of /etc/alternatives/x-terminal-emulator.1.gz (and the > message "forcing reinstallation of alternative /usr/bin/uxterm because > link group x-terminal-emulator is broken" later on...). That solved the problem for me. Well, not the problem of who broke the alternatives, but at least xterm is properly installed now again. :-) Thanks for the detailed help! Cheers, Bram -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#530633: xterm: Unable to configure package
reassign 530633 xterm retitle 530633 xterm should cleanup improper master alternative x-terminal-emulator.1.gz thanks On Wed, 27 May 2009, Bram Senders wrote: > There is also an x-terminal-emulator.1.gz file in > /var/lib/dpkg/alternatives, which is not a gzipped file at all, but just > contains the contents: > > --- 8< --- > manual > > > > --- >8 --- > > (including the three empty lines) Is this intended? The existence of this file is the real problem. update-alternatives only create such a file for a master alternative and this one should not exist at all. What is the timestamp of this file ? stat /var/lib/dpkg/alternatives/x-terminal-emulator.1.gz Can you check if that time correspond to the upgrade of some terminal related package in /var/log/dpkg.log (or aptitude.log if you use it). I don't know who/what called update-alternatives with x-terminal-emulator.1.gz as master alternative but it's definitely not a side-effect of proper usage of update-alternatives. The new version of update-alternative does many checks that forbids obvious improper usage of update-alternatives but it has to assume that the current installed information is correct. In the case, where it's not, we'll have to include cleanup code in preinst scripts. On Wed, 27 May 2009, Francesco P. Lovergine wrote: > After this operation, 0B of additional disk space will be used. > Setting up xterm (243-1) ... > update-alternatives: warning: forcing reinstallation of alternative > /usr/bin/uxterm because link group > x-terminal-emulator is broken. > Processing triggers for menu ... So there's no failure here for you... what did you change in between? it's not the dpkg update (1.15.1 → 1.15.2) that helped as update-alternatives is the same in those versions. And versions prior to 1.15 don't have the check that generated the failure. Note to xterm maintainers: If we can't identify the faulty package that created this wrong alternative then I suggest you put a work-around in xterm.preinst that simply removes it... update-alternatives --quiet --remove-all x-terminal-emulator.1.gz >/dev/null 2>/dev/null || true Or maybe simply "rm -f /var/lib/dpkg/alternatives/x-terminal-emulator.1.gz" as it avoids the temporary removal of /etc/alternatives/x-terminal-emulator.1.gz (and the message "forcing reinstallation of alternative /usr/bin/uxterm because link group x-terminal-emulator is broken" later on...). Note 2: update-alternatives calls are now logged in dpkg.log, in the future it will be easier to find faulty packages. Cheers, -- Raphaël Hertzog Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny : http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#530643: Bug#530633: xterm: Unable to configure package
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. Julien Cristau, 27.05.2009 11:15: > What's the content of /var/lib/dpkg/alternatives/x-terminal-emulator? Here’s the content: > auto > /usr/bin/x-terminal-emulator > x-terminal-emulator.1.gz > /usr/share/man/man1/x-terminal-emulator.1.gz > > /usr/bin/lxterm > 30 > /usr/share/man/man1/lxterm.1.gz > /usr/bin/koi8rxterm > 20 > /usr/share/man/man1/koi8rxterm.1.gz > /usr/bin/xfce4-terminal.wrapper > 40 > /usr/share/man/man1/xfce4-terminal.wrapper.1.gz > /usr/bin/urxvt > 11 > /usr/share/man/man1/urxvt.1.gz > /usr/bin/xterm > 20 > /usr/share/man/man1/xterm.1.gz > /usr/bin/uxterm > 20 > /usr/share/man/man1/uxterm.1.gz > /usr/bin/urxvtcd > 11 > /usr/share/man/man1/urxvtcd.1.gz > Is there any mention of x-terminal-emulator.1.gz in another file in that > directory? No, only in the file posted above. > What version of dpkg are you using? Latest in Unstable, 1.15.2. Regards, Mathias - -- debian/rules -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkodV+AACgkQYfUFJ3ewsJj/VACbBlb4quvN27T1/w8kzYcdICpq 6AcAoIrLJGJOzjomEzEJeeo2SeYh8AU0 =xs8V -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#530633: xterm: Unable to configure package
On Wed, May 27, 2009 at 11:15:53AM +0200, Julien Cristau wrote: > On Tue, May 26, 2009 at 15:48:27 +0200, Mathias Brodala wrote: > > > > Setting up xterm (243-1) ... > > > update-alternatives: error: alternative x-terminal-emulator.1.gz can't > > > be slave of x-terminal-emulator: it is a master alternative. > > > dpkg: error processing xterm (--configure): > > > subprocess installed post-installation script returned error exit > > > status 2 > > > Errors were encountered while processing: > > > xterm > > > E: Sub-process /usr/bin/dpkg returned an error code (1) > > > On Tue, May 26, 2009 at 17:43:57 +0200, Francesco Paolo Lovergine wrote: > > > Setting up xterm (243-1) ... > > update-alternatives: error: alternative x-terminal-emulator.1.gz can't > > be slave of x-terminal-emulator: it is a master alternative. > > dpkg: error processing xterm (--configure): subprocess installed > > post-installation script returned error exit status 2 > > Errors were encountered while processing: xterm > > > What's the content of /var/lib/dpkg/alternatives/x-terminal-emulator? > Is there any mention of x-terminal-emulator.1.gz in another file in that > directory? What version of dpkg are you using? > > Cheers, > Julien Ah sorry, it is NOW 1.15.2 and indeed this is the result after an apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up xterm (243-1) ... update-alternatives: warning: forcing reinstallation of alternative /usr/bin/uxterm because link group x-terminal-emulator is broken. Processing triggers for menu ... -- Francesco P. Lovergine -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#530643: Bug#530633: xterm: Unable to configure package
On Wed, May 27, 2009 at 11:15:53AM +0200, Julien Cristau wrote: > On Tue, May 26, 2009 at 15:48:27 +0200, Mathias Brodala wrote: > > > > Setting up xterm (243-1) ... > > > update-alternatives: error: alternative x-terminal-emulator.1.gz can't > > > be slave of x-terminal-emulator: it is a master alternative. > > > dpkg: error processing xterm (--configure): > > > subprocess installed post-installation script returned error exit > > > status 2 > > > Errors were encountered while processing: > > > xterm > > > E: Sub-process /usr/bin/dpkg returned an error code (1) > > > On Tue, May 26, 2009 at 17:43:57 +0200, Francesco Paolo Lovergine wrote: > > > Setting up xterm (243-1) ... > > update-alternatives: error: alternative x-terminal-emulator.1.gz can't > > be slave of x-terminal-emulator: it is a master alternative. > > dpkg: error processing xterm (--configure): subprocess installed > > post-installation script returned error exit status 2 > > Errors were encountered while processing: xterm > > > What's the content of /var/lib/dpkg/alternatives/x-terminal-emulator? > Is there any mention of x-terminal-emulator.1.gz in another file in that > directory? What version of dpkg are you using? > > Cheers, > Julien dpkg is 1.15.2 here. There's no any other file which mentions x-terminal-emulator.1.gz. The required file: ---8<- manual /usr/bin/x-terminal-emulator x-terminal-emulator.1.gz /usr/share/man/man1/x-terminal-emulator.1.gz /usr/bin/koi8rxterm 20 /usr/share/man/man1/koi8rxterm.1.gz /usr/bin/lxterm 30 /usr/share/man/man1/lxterm.1.gz /usr/bin/powershell 20 /usr/bin/rxvt-xpm 8 /usr/share/man/man1/rxvt-xpm.1.gz /usr/bin/rxvt-xterm 10 /usr/share/man/man1/rxvt-xterm.1.gz /usr/bin/urxvt 11 /usr/share/man/man1/urxvt.1.gz /usr/bin/urxvtcd 11 /usr/share/man/man1/urxvtcd.1.gz /usr/bin/uxterm 20 /usr/share/man/man1/uxterm.1.gz /usr/bin/xterm 20 /usr/share/man/man1/xterm.1.gz ---8<-- -- Francesco P. Lovergine -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#530643: Bug#530633: xterm: Unable to configure package
On Wed, May 27, 2009 at 11:15:53AM +0200, Julien Cristau wrote: > What's the content of /var/lib/dpkg/alternatives/x-terminal-emulator? > Is there any mention of x-terminal-emulator.1.gz in another file in that > directory? What version of dpkg are you using? This bug bit me as well, so here's my info. Contents of /var/lib/dpkg/alternatives/x-terminal-emulator: --- 8< --- auto /usr/bin/x-terminal-emulator x-terminal-emulator.1.gz /usr/share/man/man1/x-terminal-emulator.1.gz /usr/bin/lxterm 30 /usr/share/man/man1/lxterm.1.gz /usr/bin/gnome-terminal.wrapper 40 /usr/share/man/man1/gnome-terminal.1.gz /usr/bin/aterm-xterm 20 /usr/share/man/man1/aterm.1.gz /usr/bin/rxvt-xterm 10 /usr/share/man/man1/rxvt-xterm.1.gz /usr/bin/rxvt-xpm 8 /usr/share/man/man1/rxvt-xpm.1.gz /usr/bin/xterm 20 /usr/share/man/man1/xterm.1.gz /usr/bin/uxterm 20 /usr/share/man/man1/uxterm.1.gz /usr/bin/koi8rxterm 20 /usr/share/man/man1/koi8rxterm.1.gz --- >8 --- There is also an x-terminal-emulator.1.gz file in /var/lib/dpkg/alternatives, which is not a gzipped file at all, but just contains the contents: --- 8< --- manual --- >8 --- (including the three empty lines) Is this intended? No other file in /var/lib/dpkg/alternatives mentions x-terminal-emulator.1.gz. My dpkg version is 1.15.2. Greetings, Bram Senders -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#530633: xterm: Unable to configure package
On Tue, May 26, 2009 at 15:48:27 +0200, Mathias Brodala wrote: > > Setting up xterm (243-1) ... > > update-alternatives: error: alternative x-terminal-emulator.1.gz can't > > be slave of x-terminal-emulator: it is a master alternative. > > dpkg: error processing xterm (--configure): > > subprocess installed post-installation script returned error exit > > status 2 > > Errors were encountered while processing: > > xterm > > E: Sub-process /usr/bin/dpkg returned an error code (1) > On Tue, May 26, 2009 at 17:43:57 +0200, Francesco Paolo Lovergine wrote: > Setting up xterm (243-1) ... > update-alternatives: error: alternative x-terminal-emulator.1.gz can't > be slave of x-terminal-emulator: it is a master alternative. > dpkg: error processing xterm (--configure): subprocess installed > post-installation script returned error exit status 2 > Errors were encountered while processing: xterm > What's the content of /var/lib/dpkg/alternatives/x-terminal-emulator? Is there any mention of x-terminal-emulator.1.gz in another file in that directory? What version of dpkg are you using? Cheers, Julien -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#530633: xterm: Unable to configure package
Package: xterm Version: 243-1 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Upgrading xterm yields the following error: > Setting up xterm (243-1) ... > update-alternatives: error: alternative x-terminal-emulator.1.gz can't > be slave of x-terminal-emulator: it is a master alternative. > dpkg: error processing xterm (--configure): > subprocess installed post-installation script returned error exit > status 2 > Errors were encountered while processing: > xterm > E: Sub-process /usr/bin/dpkg returned an error code (1) - -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (x86_64) Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages xterm depends on: ii libc6 2.9-12 GNU C Library: Shared libraries ii libfontconfig12.6.0-3generic font configuration library ii libice6 2:1.0.5-1 X11 Inter-Client Exchange library ii libncurses5 5.7+20090523-1 shared libraries for terminal hand ii libx11-6 2:1.2.1-1 X11 client-side library ii libxaw7 2:1.0.5-2 X11 Athena Widget library ii libxft2 2.1.13-3 FreeType-based font drawing librar ii libxmu6 2:1.0.4-1 X11 miscellaneous utility library ii libxt61:1.0.5-3 X11 toolkit intrinsics library ii xbitmaps 1.0.1-2Base X bitmaps Versions of packages xterm recommends: ii x11-utils 7.4+1 X11 utilities Versions of packages xterm suggests: ii xfonts-cyrillic 1:1.0.0-6 Cyrillic fonts for X - -- no debconf information -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkob8yQACgkQYfUFJ3ewsJhr7ACfRdDOwyK3oZHGGu+PRVUV7qqu iM8AnjHncxrELGAUSYyGsBVYCOwZ6Qg3 =Ug/s -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org