Hi!

Thanks for reporting!

On 29/03/12 00:14, Hilmar Preuße wrote:
> When removing the latex2html package the following code is executed:
> 
>     # FILES To removes
>     cd /var/www/usr/share/latex2html/icons && rm -f blueball.png ch_end_r.png 
> \
>     image.png     orangeball.png pv_grp_g.png \
>     ch_beg_r.png  contents.png   index.png     pinkball.png    redball.png \
>     ch_begin.png  crossref.png   next.png      prev.png        up.png \
> <snip>
> 
> That dir is not part of the latex2html package, hence a warning appears:
> 
> Removing latex2html ...
> /var/lib/dpkg/info/latex2html.prerm: line 23: cd: 
> /var/www/usr/share/latex2html/icons: No such file or directory
> 
> The dir /usr/share/latex2html/icons does exist, but the files in there
> should be under control of dpkg.

I just tried to reproduce and didn't get the warning:

# dpkg -r latex2html
(Reading database ... 309545 files and directories currently installed.)
Removing latex2html ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 removed doc-base file...
Registering documents with scrollkeeper...
#

Further, when /var/www/usr/share/latex2html/icons does exist (as you
mentioned, and I just checked), why does the warning occur at all?

I remember that the solution in /var/www/usr/... was implemented because
things under /var/www/... should _not_ be under control of dpkg. E.g.,
/var/www can be a symbolic link on a user's system...

Roland



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to