Le Lundi 21 Juillet 2003 21:10, Thierry Vignaud a �crit :
> Andi Payn <[EMAIL PROTECTED]> writes:
> > Under rpm 4.0, installing or upgrading a package only checked its
> > obsoletes against the main package name. Now, 4.2 also checks
> > against any virtual names provided by the package. So, with 4.0, two
> > packages that provided and obsoleted the same virtual name wouldn't
> > interfere; now they do.
> >
> > The new behavior is probably better. But this means that a bunch of
> > old inconsistencies that never caused problems before now have to be
> > taken care of.
>
> a new job for distriblint ?
No, maybe you never seen this error:
* perl-ming-0.2a-5mdk.i586 (ming-0.2a-5mdk.src.rpm) [2]
OBS: obs by perl-ming-0.2a-5mdk.i586 [2]
* printman-0.0.1-0.20021202.1mdk.i586 (printman-0.0.1-0.20021202.1mdk.src.rpm)
[2]
OBS: obs by gnome-cups-manager-0.17-1mdk.i586 [2]
OBS mean the package is obsoletes by...
Packager which have an old or obsolete package get this warning.
But dislint does not expand obsolete to provides. I will fix this.
>
> > 4. Come up with a new policy for provides/obsoletes when replacing
> > old packages. Just versioning the obsoletes will solve 95% of the
> > problems. (If gimp-1.2 and gimp1_3-1.3 both said "Obsoletes:
> > hackgimp < 1.2" instead of "Obsoletes: hackgimp" everything would
> > work fine.) To solve the other 5%, don't ever copy over obsoletes
> > tags from the previous major version (except where it makes sense,
> > of course).
--
Linux pour Mac !? Enfin le moyen de transformer
une pomme en v�ritable ordinateur. - JL.
Olivier Thauvin - http://nanardon.homelinux.org/