Bug#38230: unmerge 38230; reassign 38230 lynx
unmerge 38230
reassign 38230 lynx
severity 38230 normal
thanks
The postrm of lynx and lynx-ssl should *not* rm -f
/etc/lynx.cfg . The removal of conffiles should be left
to dpkg.
There may be a bug in dpkg too (see #109691), but it is independent
of this bug.
jdthood@thanatos:~$ dpkg -s lynx
Package: lynx
Status: install ok installed
Priority: standard
Section: web
Installed-Size: 3500
Maintainer: James Troup <james@nocrew.org>
Version: 2.8.4.1b-3
Provides: www-browser, news-reader
Depends: libc6 (>= 2.2.4-4), libncurses5 (>= 5.2.20010310-1), zlib1g (>=
1:1.1.3)
Recommends: mime-support
Conffiles:
/etc/lynx.cfg d5deda8e0e06bb93bcce120c19a66e8f
[...]
jdthood@thanatos:/var/lib/dpkg/info$ cat lynx.postrm
#!/bin/sh
set -e
if [ -x /usr/bin/update-menus ]; then
update-menus
fi
if [ -x /usr/sbin/update-mime ]; then
update-mime
fi
if [ "$1" = "purge" ]; then
rm -f /etc/lynx.cfg
fi
[ Then I installed lynx-ssl ]
jdthood@thanatos:~$ dpkg -s lynx-ssl
Package: lynx-ssl
Status: install ok installed
Priority: extra
Section: non-US
Installed-Size: 3512
Maintainer: James Troup <james@nocrew.org>
Version: 1:2.8.4.1b-3
Provides: www-browser, news-reader, lynx
Depends: libc6 (>= 2.2.4-4), libncurses5 (>= 5.2.20010310-1),
libssl0.9.6, zlib1g (>= 1:1.1.3)
Recommends: mime-support
Conflicts: lynx
Conffiles:
/etc/lynx.cfg d5deda8e0e06bb93bcce120c19a66e8f
[...]
jdthood@thanatos:~$ cat /var/lib/dpkg/info/lynx-ssl.postrm
#!/bin/sh
set -e
if [ -x /usr/bin/update-menus ]; then
update-menus
fi
if [ -x /usr/sbin/update-mime ]; then
update-mime
fi
if [ "$1" = "purge" ]; then
rm -f /etc/lynx.cfg
fi
--
Thomas Hood
Reply to: