FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian dpkg

LinkBack Thread Tools
Old 07-18-2012, 08:33 PM
Jonathan Nieder
Default Unpredictable behavior when two packages want to divert the same file


In 2004, Frank Küster wrote:

> And while we're at it, and a copy goes to debian-policy@l.d.o,
> ,----
> | You should not use `dpkg-divert' on a file belonging to another
> | package without consulting the maintainer of that package first.
> `----
> Not only that a warning about multiple diversions is missing here:
> This should be noted down somewhere in the source package. There are
> NMUs, packages are orphaned etc., and information like this can easily
> be lost.

To be clear, which of the following is this report proposing?

* Maintainer scripts must pass "--package" to dpkg-divert when
creating or removing diversions and must not use "--local"
(documented in 2010).

* Packages diverting the same file should conflict.

* Packages should not divert a file unless that file is "divertable".
To make a file divertable, the maintainer of the package shipping
it adds a comment to debian/control mentioning the filename and
which packages are allowed to divert it.

* Something else (?)

Thanks and hope that helps,

To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120718203306.GA13423@burratino

Thread Tools

All times are GMT. The time now is 12:22 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org