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

Re: Bug#57218: /usr/local erased



On Mon, 7 Feb 2000, Torsten Landschoff wrote:

> 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
> it.
>
> Does somebody have an idea what I can do to fix this?

You may save the symlink state in the preinst, before dpkg removes it, and
restore it in the postinst, after dpkg has removed it, as done in base-files.

-- 
 "4e1f5110f75186e1b234fe8b82d06df9" (a truly random sig)


Reply to: