Re: cleaning after apt-mirror

2014-10-07 Thread Don Armstrong
On Tue, 07 Oct 2014, Abdelkader Belahcene wrote: > but the problem is > > 2) Have a version number less than the version in the Packages file. > > look at these packages: > > main/m/mutter/gir1.2-mutter-3.0_3.12.2-2_i386.deb > main/m/mutter/gir1.2-mutter-3.0_3.12.2-2+b1_i386.deb > > the sort gi

Re: Re: cleaning after apt-mirror

2014-10-07 Thread Abdelkader Belahcene
thanks for reply, but the problem is 2) Have a version number less than the version in the Packages file. look at these packages: main/m/mutter/gir1.2-mutter-3.0_3.12.2-2_i386.deb main/m/mutter/gir1.2-mutter-3.0_3.12.2-2+b1_i386.deb the sort gives gir1.2-mutter-3.0_3.12.2-2_i386.deb more recent

Re: cleaning after apt-mirror

2014-10-07 Thread Don Armstrong
On Tue, 07 Oct 2014, Abdelkader Belahcene wrote: > I am not satisfied by my script. I sorted the package in descending > order and kept the first and deleted others. this seemed correct, It's not correct. You must sort on the basis of version number, which does not necessarily increase lexically.