On Thu, Mar 19, 2009 at 04:32:27PM +0100, Stanislav Brabec wrote:
> Michael Schroeder wrote in Thu 03/19 2009 at 15:35 +0100:
> > If it obsoletes another package it's an upgrade.
> 
> And what if the action you need is say foo-extra-update and foo-extra
> update was a part of foo-1 and later foo-plugins-extra-2?

The action is done in the package containing foo-extra-update.
But maybe I'm not really understanding your example, can you be a bit
more concrete in the setup you're talking about?

> > This has an easy solution: *never* call deluser. You don't know if
> > there are some files owned by the user lurking somewhere in the
> > filesystem and you sure don't want them to belong to some other user
> > after the next adduser call.
> 
> Well, in case of adduser, it keeps just one orphan line. But packages
> may keep several megabytes of cache files, which become obsolete if all
> its consumers are removed.

A cache file shared between different packages? It should be
marked as %ghost in all of those packages so that it automatically
is deleted when it's no longer needed.

Cheers,
  Michael.

-- 
Michael Schroeder                                   m...@suse.de
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to