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

Re: remaining files after an upgrade



On Sun, 07 Aug 2011, PICCA Frédéric-Emmanuel wrote:
> > I think you have a symlink somewhere in your package, and while you
> > expected it to be replaced by a directory on upgrade, this did not happen.
> > And thus the old files were kept... because the place where they have been
> > moved to doesn't exist, it's still a symlink to the old place.
> 
> Here what I did
> 
> spyder-old
> /usr/share/doc/python-spyderlib/html -> same link
> 
> spyder-new
> /usr/share/doc/python-spyderlib/html (real files)

So this is the transition that I mentionned and that dpkg does not do.
You have to remove /usr/share/doc/python-spyderlib/html in "preinst
upgrade" to let dpkg install the new directory.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)


Reply to: