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

Bug#222251: /usr/sbin/dpkg-divert: refuses diverting of symlinks pointing on a directory



begin  Adam Heath schrieb am Mon 01. Dec, 12:15 (-0600) :
> On Wed, 26 Nov 2003, JörgSommer wrote:
> 
> > Package: dpkg
> > Version: 1.10.18
> > Severity: normal
> > File: /usr/sbin/dpkg-divert
> > Tags: Patch
> >
> > $ ls -l /usr/share/doc/python2.3/python-policy.html
> > lrwxrwxrwx    1 root     root           28 2003-11-17 23:18 /usr/share/doc/python2.3/python-policy.html -> ../python/python-policy.html
> > # dpkg-divert --package python --rename /usr/share/doc/python2.3/python-policy.html
> > dpkg-divert: Cannot divert directories
> >
> > As you can see dpkg-divert refuses diverting of a symlink that points on
> > a directory.
> 
> Because you can't divert directories either.

But I want to divert the symlink not the directory. With directories
there is no problem, if they are in two packages - the directory is owned
by both. But symlinks are like files, only one package could own them.

What should a package do, if it need the symlink points to another
destination?

end.
-- 
Failure is not an option. It comes bundled with your Microsoft product.

Attachment: signature.asc
Description: Digital signature


Reply to: