Bug#631245: lynx-cur postinst fails due to old diversion by lynx-ssl
Hi, I think you are right. You might already done so but do the followings fix the problem? dpkg-divert --remove --rename --divert /usr/bin/lynx.nossl /usr/bin/lynx dpkg-divert --remove --rename --divert /usr/share/man/man1/lynx.nossl.1.gz /usr/share/man/man1/lynx.1.gz I do have a methusalem installation (prior to 1997 I believe), and I did have the /usr/bin/lynx.nossl diversion, and doing these two suggestions (followed by purge of lynx and lynx-cur) was the part that finally fixed an apt-get install lynx run. Probably the only thing that's left to wonder now is whether there's something useful to be done about this upgrade issue programmatically, or whether this bug report's content is sufficient documentation for this ancient fact. Thank you for your input! Andreas Mohr -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#631245: lynx-cur postinst fails due to old diversion by lynx-ssl
Hi Sven and I'm very sorry for such a long delay. On Wed, 22 Jun 2011 00:35:53 +0200, Sven Hartge wrote: I have system which was installed with Debian Slink in 2000, upgraded to then-frozen Potato and has since been kept at a daily updated Sid. Nice. The lynx and lynx-ssl packages have been installed since day 1, which may be the cause for this bug. During the postinst of lynx-cur I get: (snip) This erro is correct, there is no /usr/bin/lynx, but a lynx.nossl: -rwxr-xr-x 1 root root 1382956 21. Jun 06:10 /usr/bin/lynx.nossl Because: oweh@ds9:~$ dpkg-divert --list | grep lynx diversion of /usr/bin/lynx to /usr/bin/lynx.nossl by lynx-ssl diversion of /usr/share/man/man1/lynx.1.gz to /usr/share/man/man1/lynx.nossl.1.gz by lynx-ssl Umm, then I wonder if lynx didn't fail to upgrade in the past? You have not used command lynx for long time? Since Woody was the last Debian version to include lynx-ssl and this package is long gone, I suspect an error in the postrm of the old lynx-ssl package which failed to remove the diversion. I think you are right. You might already done so but do the followings fix the problem? dpkg-divert --remove --rename --divert /usr/bin/lynx.nossl /usr/bin/lynx dpkg-divert --remove --rename --divert /usr/share/man/man1/lynx.nossl.1.gz /usr/share/man/man1/lynx.1.gz Regards, 2011-7-15(Fri) -- Debian Developer - much more I18N of Debian Atsuhito Kohda kohda AT debian.org Department of Math., Univ. of Tokushima -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#631245: lynx-cur postinst fails due to old diversion by lynx-ssl
Package: lynx-cur Version: 2.8.8dev.9-2 Severity: normal Hi! I have system which was installed with Debian Slink in 2000, upgraded to then-frozen Potato and has since been kept at a daily updated Sid. The lynx and lynx-ssl packages have been installed since day 1, which may be the cause for this bug. During the postinst of lynx-cur I get: --8-- Setting up lynx-cur (2.8.8dev.9-2) ... update-alternatives: error: alternative path /usr/bin/lynx doesn't exist. dpkg: error processing lynx-cur (--configure): subprocess installed post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of lynx: lynx depends on lynx-cur (= 2.8.8dev.9-2); however: Package lynx-cur is not configured yet. dpkg: error processing lynx (--configure): dependency problems - leaving unconfigured configured to not write apport reports configured to not write apport reports Errors were encountered while processing: lynx-cur lynx --8-- This erro is correct, there is no /usr/bin/lynx, but a lynx.nossl: -rwxr-xr-x 1 root root 1382956 21. Jun 06:10 /usr/bin/lynx.nossl Because: oweh@ds9:~$ dpkg-divert --list | grep lynx diversion of /usr/bin/lynx to /usr/bin/lynx.nossl by lynx-ssl diversion of /usr/share/man/man1/lynx.1.gz to /usr/share/man/man1/lynx.nossl.1.gz by lynx-ssl Since Woody was the last Debian version to include lynx-ssl and this package is long gone, I suspect an error in the postrm of the old lynx-ssl package which failed to remove the diversion. Grüße, Sven. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (200, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lynx-cur depends on: ii libbsd0 0.3.0-1 utility functions from BSD systems ii libc6 2.13-7 Embedded GNU C Library: Shared lib ii libgcrypt11 1.4.6-5 LGPL Crypto library - runtime libr ii libgnutls26 2.10.5-1+b1 the GNU TLS library - runtime libr ii libidn111.22-1 GNU Libidn library, implementation ii libncursesw55.9-1shared libraries for terminal hand ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages lynx-cur recommends: ii mime-support 3.51-1 MIME files 'mime.types' 'mailcap lynx-cur suggests no packages. -- debconf-show failed -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org