Re: dpkg-scanpackage is ignoring newwe?
goswin.brederlow@student.uni-tuebingen.de wrote:
> Herbert Xu <herbert@gondor.apana.org.au> writes:
>
> > Bernd Eckenfels <ecki@lina.inka.de> wrote:
> >
> > > running dpkg-scanpackage i386 over > Packages
> >
> > > i get (over is size 0)
> >
> > > ! Package msn-transport (filename i386/msn-transport_1.0-2_i386.deb) is
> > > repeat;
> > > ignored that one and using data from i386/msn-transport_1.0-1_i386.deb !
> >
> > > which means dpkg-scanpackage is ignoring the -2 in favor of the -1.. why is
> > > this so and what can i do? :)
> >
> > dpkg-scanpackage just chooses the first one it sees. You can manually move
> > the old versions out before hand based on the embedded version numbers,
> > but that breaks when you've got epochs. Have a look at how apt-move handles
> > this.
>
> Couldn't it be changed so that the newer one will be taken (by date)
> or the versions are compared? Can't be that hard. Putting both in
> should also not make a problem, since you have the problem of multiple
> versions when using stable and unstable as well, so all relevant
> programms should cope with it.
Since I haven't seen a proper answer yet, I'll jump into this dead discussion
four months later...
Wichert said the current dpkg-dev contains dpkg-scanpackages and dpkg-scansources
that behaves properly. In case you'll have to fix your installed package you'll
find fixes for this at http://www.infodrom.ffis.de/Infodrom/patches/
Regards,
Joey
--
Beware of bugs in the above code; I have only proved it correct,
not tried it. -- Donald E. Knuth
Please always Cc to me when replying to me on the lists.
Reply to: