Le Lundi 21 Juillet 2003 23:52, Andi Payn a �crit : > On Monday 21 July 2003 14:26, Olivier Thauvin wrote: > > 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. > > I think this is the whole problem in a nutshell: rpm 4.2 expanded obsoletes > to virtual provides, and distriblint didn't. > > I'm glad the solution is so easy.
I just finnish the code fix about this in distlint (I add check, check always more check, it become very slow...), but I discover an interesting things. After test, It report a lot of rpm obsoleting theirself, for example zebra, then i check why. When a rpm replace another (new name by example), to make things easy to poeple: - the new rpm provide the old to keep `urpmi old-name` workable - the new rpm obsolete the old to see the old uninstalled [EMAIL PROTECTED] distriblint]$ rpm -qp --obsoletes /home/root/mandrake/mdk/Mandrake-devel/contrib/i586/zebra-0.93b-1mdk.i586.rpm bird gated mrt [EMAIL PROTECTED] distriblint]$ rpm -qp --provides /home/root/mandrake/mdk/Mandrake-devel/contrib/i586/zebra-0.93b-1mdk.i586.rpm routingdaemon bird gated mrt zebra = 0.93b-1mdk bird, gated, mrt are osboletes. I have a workaround, do not report when a rpm obsolete itself except when it obsolete it %name (this last case is not normal, a new version obsoletes an older of course). Rpm sucks... you allready know that... -- Linux pour Mac !? Enfin le moyen de transformer une pomme en v�ritable ordinateur. - JL. Olivier Thauvin - http://nanardon.homelinux.org/
