severity 582755 serious thanks > Maybe it is ok to modify /etc/resolv.conf and piuparts should not complain > about this, I'm not sure atm and I dont have time to resolve this now, > sorry.
"Leaving a broken system behind on remove/purge is broken" and thats what
happens and thats why I've now set the severity to serious:
First, I've created a clean sid chroot. Then I chrooted into it and ran the
following commands:
1 cat /etc/resolv.conf
2 cp /etc/resolv.conf /etc/resolv.conf.before-dnscache-run
3 apt-get install dnscache-run
4 cat /etc/resolv.conf
5 cp /etc/resolv.conf /etc/resolv.conf.dnscache-run-installed
6 apt-get remove dnscache-run
7 cp /etc/resolv.conf /etc/resolv.conf.dnscache-run-removed
8 dpkg --purge dnscache-run
9 cp /etc/resolv.conf /etc/resolv.conf.dnscache-run-purged
10 cd /etc/
11 ls -lart resolv.conf*
12 cat /etc/resolv.conf.before-dnscache-run
13 cat resolv.conf
14 ls -lart resolv.conf*
15 ping www.debian.org
16 history
r...@piatti:/etc# cat /etc/resolv.conf.before-dnscache-run
search debian.org
nameserver 128.214.9.15
nameserver 218.214.4.29
r...@piatti:/etc# cat /etc/resolv.conf
search debian.org
# nameserver 128.214.9.15
# nameserver 218.214.4.29
nameserver 127.0.0.1
r...@piatti:/etc# ls -lart resolv.conf*
-rw-r--r-- 1 root root 66 Jun 18 09:16 resolv.conf.before-dnscache-run
-rw-r--r-- 1 root root 91 Jun 18 09:17 resolv.conf
-rw-r--r-- 1 root root 91 Jun 18 09:17 resolv.conf.dnscache-run-installed
-rw-r--r-- 1 root root 91 Jun 18 09:17 resolv.conf.dnscache-run-removed
-rw-r--r-- 1 root root 91 Jun 18 09:18 resolv.conf.dnscache-run-purged
r...@piatti:/etc# ping www.debian.org
ping: unknown host www.debian.org
while it used to work before the package was installed.
cheers,
Holger
signature.asc
Description: This is a digitally signed message part.

