Re: dpkg-scanpackage is ignoring newwe?
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.
MfG
Goswin
PS: Package pools will have a huge problem with this!
Reply to: