[packagekit] User Interaction needed

Klaus Kaempf kkaempf at suse.de
Thu Mar 13 18:38:32 PDT 2008


* Richard Hughes <hughsient at gmail.com> [Mar 13. 2008 22:06]:
> On Thu, 2008-03-13 at 21:28 +0100, Klaus Kaempf wrote:
> > * Richard Hughes <hughsient at gmail.com> [Mar 13. 2008 20:52]:
> > > Well, the purist in me is saying that:
> > > * installing a package shouldn't uninstall another
> > 
> > An 'obsoletes' dependency in the to-be-installed package _will_
> > uninstall any package matching the obsoletes.
> > You cannot prevent this with RPM.
> 
> Sure, I guess that's the exception to the rule.

But a very real one.

> If you obsolete a package then you intend to replace it with good
> reason, for instance, obsoleting an obsolete library with a new one.
> Basically it's what the packager has decided that is a sane thing to
> do.

Sure. But it might not be in the best interest of the user.

> 
> The obsoletes case probable isn't suitable for the sendmail/postfix
> case, as an admin might be very confused why their working machine just
> won't work now if we blow away a working sendmail config.

Right. This case is usually solved with a 'Conflicts'.

The 'obsoletes' case is just a counterargument to the purist in you
saying "* installing a package shouldn't uninstall another" ;-)


Klaus
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)




More information about the PackageKit mailing list