Bug#351056: many packages involved, not just python-twisted
> > $ apt-cache policy screen
> > screen:
> > Installed: 4.0.2-4.1
> > Candidate: 4.0.2-4.1
> > Version table:
> > 4.0.2-4.1 0
> > 300 http://http.us.debian.org unstable/main Packages
> > 4.0.2-4.1 0
> > 200 http://amd64.debian.net stable/main Packages
> > 4.0.2-4.1 0
> > 990 http://amd64.debian.net testing/main Packages
> > *** 4.0.2-4.1 0
> > 100 /var/lib/dpkg/status
>
> Compare the md5sums of the debs. They should all differ (to produce
> this output).
Yup:
$ wget http://http.us.debian.org/debian/pool/main/s/screen/screen_4.0.2-4.1_amd64.deb
$ wget http://amd64.debian.net/debian/pool/main/s/screen/screen_4.0.2-4.1_amd64.deb
$ md5sum screen_4.0.2-4.1_amd64.deb*
de0af8737338542645f9c0e14295ac79 screen_4.0.2-4.1_amd64.deb
4913a5102ecb102d6ec43109084d1232 screen_4.0.2-4.1_amd64.deb.1
> I don't get why stable and testing differ though. That should not even
> be possible. They are the same file on the same fs.
>
> goswin@ivanova:~$ grep-dctrl -X -P screen
> /org/amd64.debian.net/ftp/debian/dists/{stable,testing}/main/binary-amd6
>4/Packages -s Package,Version,MD5sum Package: screen
> Version: 4.0.2-4.1
> MD5sum: 4913a5102ecb102d6ec43109084d1232
>
> Package: screen
> Version: 4.0.2-4.1
> MD5sum: 4913a5102ecb102d6ec43109084d1232
??
> In what order do you have them in sources.list?
deb http://http.us.debian.org/debian/ unstable main contrib non-free
deb http://amd64.debian.net/debian stable main contrib non-free
deb http://amd64.debian.net/debian testing main contrib non-free
> Maybe they only get
> merged properly in some orders.
Good guess. I changed the order to move the http.us.debian.org line
to the end, and now the problem is at least partly resolved:
$ apt-cache policy screen
screen:
Installed: 4.0.2-4.1
Candidate: 4.0.2-4.1
Version table:
*** 4.0.2-4.1 0
200 http://amd64.debian.net stable/main Packages
990 http://amd64.debian.net testing/main Packages
100 /var/lib/dpkg/status
4.0.2-4.1 0
300 http://http.us.debian.org unstable/main Packages
$ apt-get -u dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Which package does apt-get download? The amd64.debian.net one as the
> pining dictates or the ftp.debian.org one as it is first?
> wants one but the downloader screws up and picks the other since it
> has the same version.
It downloads the one from amd64.debian.net.
Reply to: