reassign 37227 stow
thanks

[ Including the whole message for stow's maintainer convenience. ]

Hi!

On Thu, 1999-05-06 at 12:05:48 +0200, Zdenek Kabelac wrote:
> Package: dpkg
> Version: 1.4.1.1

> I was having some problem with installation of x11amp packages.
> 
> The problem was this:
> 
> I've installed latest x11amp packages to /usr/local/ hierarchy.
> After upgrade from X11ampg7  to x11amp9 I have had this problem.
> 
> X11amp was not playing - after the quick look at the /usr/lib
> directory I've found out this problem.
> There was incorrent link x11amp showing to /usr/local/lib/x11amp.
> The reason why the link was incorrect is clear - after the instalation
> of x11amp I have removed x11amp from /usr/local/stow by running stow -D.
> So this is clear.
> 
> However there are several other problems - which program has created this
> link - as I've only used stow & ldconfig. (And I definitely didn't
> created this one by myself).

stow created that link, that's one of its features.

> Second problem: dpkg has overwritten those files located in 
> /usr/local/lib/x11amp directory without a single warning as they
> followed still valid link in the time of installation
> 
> - This is why I'm filling this bugreport - dpkg should always check if there 
> is
> not a user file and if there are some files which are not part of Debian
> distribution I should be at least warned about this and asked to
> confirm overwritting them.

The problem here is that dpkg does not know if a file is a "user file",
and it will honour symlinks as modifications done on purpose by the
sysadmin. So I guess an answer to that could be "don't do that", but
users are entitled to use stow anyway. So the only fix I can see here
is for stow to document the dangers of its usage, and that this kind
of problem might happen. Thus the reassign.

> --- this is the whole log of x11amp's instalation:
> dpkg: considering removing x11ampg in favour of x11amp ...
> dpkg: yes, will remove x11ampg in favour of x11amp.
> (Reading database ... 83467 files and directories currently installed.)
> Unpacking x11amp (from .../sound/x11amp_0.9b1.1-1.deb) ...
> Purging configuration files for x11ampg ...
> Setting up x11amp (0.9b1.1-1) ...
> ---
> 
> So definitely there was no program which could have create /usr/lib/x11amp
> directory so even this should cause the warning message.
> 
> Also I'm still curious which program has created this hostile link
> from /usr/lib/x11amp  -> /usr/local/lib/x11amp.
> 
> --
> 
> after removing the bad link and reinstalation x11amp everythink works fine
> again.

regards,
guillem



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