[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#57218: /usr/local erased

reassign 57218 gs
retitle 57218 upgrading gs erases /usr/local if it is a symlink

On Sun, Feb 06, 2000 at 07:23:44PM -0700, Michael Lachmann wrote:
> Package: general
> My /usr/local is a link (to /mnt/local/usr). On my last Upgrade (potato)
> the link was erased. It was replaced with a real directory. After the
> upgrade, the directory contained only the
> /usr/local/lib/ghostscript/
> subdirectory.

Oh no. Don't tell me I got it wrong again :( The ghostscript install 
creates some directories in /usr/local in its postinst. But that should not 
remove the /usr/local link...

My guess is the following: The previous gs package contained
/usr/local/lib/ghostscript/... and dpkg tells me that it can't remove 
/usr/local because non-empty on upgrading.

My guess is that dpkg removed /usr/local on your system since it is a 
link and not a directory so having files in it does not stop dpkg removing

Does somebody have an idea what I can do to fix this?

Thanks for reporting this bug Michael!



Torsten Landschoff           Bluehorn@IRC               <torsten@debian.org>
           Debian Developer and Quality Assurance Committee Member

Reply to: