Received: (at submit) by bugs.debian.org; 6 May 1999 10:06:05 +0000 Received: (qmail 863 invoked from network); 6 May 1999 10:06:03 -0000 Received: from aragorn.ics.muni.cz (147.251.4.33) by master.debian.org with SMTP; 6 May 1999 10:06:03 -0000 Received: from anxur.fi.muni.cz (0@anxur.fi.muni.cz [147.251.48.3]) by aragorn.ics.muni.cz (8.8.5/8.8.5) with ESMTP id MAA08096 for ; Thu, 6 May 1999 12:05:50 +0200 (MET DST) Received: from decibel.fi.muni.cz (decibel.fi.muni.cz [147.251.51.14]) by anxur.fi.muni.cz (8.8.5/8.8.5) with ESMTP id MAA12121; Thu, 6 May 1999 12:05:49 +0200 (MET DST) Received: from kabi by decibel.fi.muni.cz with local (Exim 2.11 #1 (Debian)) id 10fL2K-0005qu-00; Thu, 6 May 1999 12:05:48 +0200 From: Zdenek Kabelac Subject: dpkg: Problem with instalation To: submit@bugs.debian.org X-Mailer: bug 3.1.7 Message-Id: Date: Thu, 6 May 1999 12:05:48 +0200 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)