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

Bug#483418: debian-policy: Not limit dpkg-divert to install but valid also for upgrade in app. G



Jörg Sommer <joerg@alea.gnuu.de> writes:
> Russ Allbery schrieb am Sat 05. Jul, 15:49 (-0700):

>> I believe it's not permissible to divert the same file more than once.

> I don't know. It's possible and who should prohibit it?

I'm fairly sure that you'll find that dpkg-divert prohibits it, thus
making it impossible.

windlord:/usr/bin# dpkg-divert --list | grep perldoc
diversion of /usr/bin/perldoc to /usr/bin/perldoc.stub by perl-doc
windlord:/usr/bin# dpkg-divert --divert /usr/bin/perldoc.extra --package perl-extra /usr/bin/perldoc
dpkg-divert: `diversion of /usr/bin/perldoc to /usr/bin/perldoc.extra by perl-extra' clashes with `diversion of /usr/bin/perldoc to /usr/bin/perldoc.stub by perl-doc'

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: