[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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
too, right?

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:

Package: kerberos4kth1
Version: 1.1-11-2
Priority: optional
Section: net
Maintainer: Mikael Andersson <mikan@debian.org>
Architecture: all
Filename: ./pool/krb4/kerberos4kth1_1.1-11-2_all.deb
Size: 57786
MD5sum: 330d49310a3264f037875e06a1328458
Description: Dummy library package for Kerberos4 From KTH.
 This is a dummy package. It should be safe to remove it.
installed-size: 76
source: krb4

This MD5sum matches that of the file on the server, exactly:

[518] [snoopy:unstable:bam] /home/ftp/pub/debian >md5sum ./pool/krb4/kerberos4kth1_1.1-11-2_all.deb
330d49310a3264f037875e06a1328458 ./pool/krb4/kerberos4kth1_1.1-11-2_all.deb

The MD5sum is also exactly the same on the file downloaded on
the client.

I then do "apt-get upgrade" two times in a row, and it upgrades
the same set of packages twice.

Why?
-- 
Brian May <bam@snoopy.apana.org.au>



Reply to: