Hi Ralf! Thanks for your bug report!
On Di, 15 Okt 2019, Ralf Treinen wrote: > Package: rancid-cgi > Version: 3.10-1 > User: [email protected] > Tags: patch > Usertags: colis-shparser > if /etc/rancid/apache.conf is a directory, the preinst will fail > after possibly having removed /etc/rancid/lg.conf. This modification > cannot be rolled back. > > We suggest to inverse the order in the script : > > if [ -e /etc/rancid/apache.conf ]; then > rm /etc/rancid/apache.conf > fi > if [ -h /etc/rancid/lg.conf ]; then > rm /etc/rancid/lg.conf > fi > > This way, if /etc/rancid/apache.conf is a directory, the script will > fail immediately. Note that the following conditional command > cannot fail. As far as I can see, this preinst file is very ancient and tries to fix even older mistakes in the package. From my point of view, the best solution would be to remove all of the above, because it is no longer needed. Nobody should upgraded from pre 2.2.2-3 to 3.10 any more. Any objections? Greetings Roland

