On 29.03.12 Roland Stigge (sti...@antcom.de) wrote:
> On 29/03/12 00:14, Hilmar Preuße wrote:

Hi,

> > 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...
> #
> 
Not here:

sid:~# dpkg -r latex2html
(Reading database ... 102818 files and directories currently
installed.)
Removing latex2html ...
/var/lib/dpkg/info/latex2html.prerm: line 23: cd: 
/var/www/usr/share/latex2html/icons: No such file or directory
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 removed doc-base file...

> 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 don't have that directory:

sid:~# ls -l /var/www/
total 0

It is not in the package and it is not created in the post/pre inst
scripts.

> 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...
>  
sid:~# ls -ld /var/www/
drwxr-xr-x 2 root root 4096 Apr 16  2009 /var/www/

I suggest to check if that dir (it is expected to be a directory?)
exist before deleting it.

H.
-- 
sigmentation fault



--
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