Bug#37227: dpkg: Problem with instalation
Package: dpkg
Version: 1.4.1.1
Hi
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).
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.
--- 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.
-- System Information
Debian Release: potato
Kernel Version: Linux decibel 2.2.5 #2 Po Bøe 29 18:31:28 CEST 1999 i586 unknown
Versions of the packages dpkg depends on:
ii libc6 2.1.1-2 GNU C Library: Shared libraries and timezone
ii libncurses4 4.2-3.2 Shared libraries for terminal handling
ii libstdc++2.9 2.91.61-1 The GNU stdc++ library (egcs version)
Reply to: