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

Re: Renaming a package



On Sun, Jun 04, 2006 at 11:42:30PM +0200, Vincent Danjean wrote:
> Daniel Kobras wrote:
> 
> > Method B
> > 
> >   Package: oldpkg
> >   Depends: newpkg
> >   Files:
> >     /usr/share/doc/oldpkg -> /usr/share/doc/newpkg
> >     (and nothing else)
> 
> Does not this hit another bug in dpkg ?
> 
> It seems that empty old directories cannot be replaced by a
> symlink without special pre/postinst script to help. My package
> catched this bug and I had to workaround it (see #362487).

You are correct, though it is sometime considered a feature.

In this case, this means that oldpkg preinst must remove
/usr/share/doc/oldpkg.

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here.



Reply to: