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

Re: dpkg upgrade error



On Thu, Dec 27, 2001 at 10:25:39AM -0700, Daniel Farnsworth Teichert wrote:
> When I looked at the preinst script, it seemed to be choking because
> /usr/share/doc/libdb2-util wasn't a soft link. I think it may not
> have even existed. I created a temporary directory, made
> /usr/share/doc/libdb2-util a soft-link to it, tried it again, and
> everything went fine. It deleted the soft link and did whatever
> it wanted to do (stuck some documentation in there, or a soft link
> thereto, or something).

I think that should work OK, although I wouldn't guarantee it. For
myself, I edited the preinst in the .deb and added '|| true' to the end
of the offending line, as the script seemed to be intended to do
something if /usr/share/doc/libdb2-util was a symbolic link but probably
wasn't intended to fail if it was a real directory.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: