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

Re: Bug#681834: network-manager, gnome, Recommends vs Depends

On Tue, Jul 17, 2012 at 06:29:46PM +0100, Ian Jackson wrote:
> Noel David Torres Taño writes ("Re: Bug#681834: network-manager, gnome, Recommends vs Depends"):
> > Core to the issue here is that the n-m Depends gets forced even into users 
> > that wants the whole platform, that is, the 'gnome' package.

>   http://packages.debian.org/squeeze/gnome
>     Recommends: network-manager-gnome (>= 0.8) 
>     # no mention of gnome-core

>   http://packages.debian.org/squeeze/gnome-core
>     # no mention of network-manager*

>   http://packages.debian.org/wheezy/gnome
>     Depends: gnome-core (= 1:3.0+9)

>   http://packages.debian.org/wheezy/gnome-core
>     Depends: network-manager-gnome (>= 0.9) [not kfreebsd-amd64, kfreebsd-i386]

> So if you currently have `gnome' installed but have deliberately
> violated the Recommends to not have n-m, you will `forcibly' gain n-m
> during the upgrade.

> If we change the Depends to a Recommends then this will not occur.

> I have heard that there are at least some versions of some package
> managers which will fail to honour the Recommends on upgrade.  Ie that
> if you previously had gnome-core, but not gnome, you might end up
> without network-manager.  But that's not a particularly undesirable
> situation.  It certainly wouldn't cause an existing network-manager to
> be removed; the only thing you miss out on is the declared increase in
> `coreness', according to GNOME, of n-m.  (And perhaps those package
> manager bugs have been fixed by now anyway.)

Ah; so in my previous message to the bug, I had overlooked that there was an
upgrade issue here.  I agree that changing the network handling on upgrade
in this way is problematic, and that additional care needs to be taken so
that users who opted out of using network-manager in squeeze can have their
choice preserved in wheezy.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature

Reply to: