Re: apt-get wants to upgrade package to same version?
On Tue, Aug 20, 2002 at 11:19:13PM -0600, Jason Gunthorpe wrote:
> > apt-get knows that it has to get the file from:
> > deb http://snoopy.apana.org.au/~ftp/debian woody main
> > and the md5sum of the Packages file from this source, as quoted
> > before matches exactly.
> Er, the md5sum of the deb is not kept by dpkg after you install a .deb.
We seem to be going around in circles, or talking on different
frequencies, or something.
Lets try to go back to the basics:
My apt-sources contains:
deb http://snoopy.apana.org.au:8081/debian/ woody main non-free contrib
deb http://snoopy.apana.org.au:8081/debian/ unstable main non-free contrib
deb http://snoopy.apana.org.au/~ftp/debian woody main
My apt/preferences file is setup so that the 2nd line has a priority -1,
so it should effectively be ignored, right?
Also, the version in woody is old, so that line should be ignored
That leaves one line left to be processed, the last one.
I then run an "apt-get update" operation. This will download this
entry from the Packages file:
Maintainer: Mikael Andersson <firstname.lastname@example.org>
Description: Dummy library package for Kerberos4 From KTH.
This is a dummy package. It should be safe to remove it.
This MD5sum matches that of the file on the server, exactly:
 [snoopy:unstable:bam] /home/ftp/pub/debian >md5sum ./pool/krb4/kerberos4kth1_1.1-11-2_all.deb
The MD5sum is also exactly the same on the file downloaded on
I then do "apt-get upgrade" two times in a row, and it upgrades
the same set of packages twice.
Brian May <email@example.com>