Re: apt-get wants to upgrade package to same version?
On Wed, Aug 21, 2002 at 11:18:09AM -0600, Jason Gunthorpe wrote:
> If you do apt-cache show kerberos4kth1 after installing and look very
> carefully you will see that the two listed 1.1-11-2 stanzas are subtly
> different. The problem is that your package file does not
> accurately reflect the contents of the .deb. That is all.
I claim though that it it should be identical to the .deb file, because
I ran dpkg-scanpackages on it myself, and haven't updated anything
since (besides, if I had updated something, the MD5sum check would fail
wouldn't it?)
Packages entry:
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
[504] [snoopy:unstable:bam] /home/ftp/pub/debian >dpkg -I ./pool/krb4/kerberos4kth1_1.1-11-2_all.deb
new debian package, version 2.0.
size 57786 bytes: control archive= 701 bytes.
288 bytes, 10 lines control
229 bytes, 3 lines md5sums
281 bytes, 9 lines * postinst #!/bin/sh
208 bytes, 7 lines * prerm #!/bin/sh
Package: kerberos4kth1
Version: 1.1-11-2
Section: net
Priority: optional
Architecture: all
Installed-Size: 76
Maintainer: Mikael Andersson <mikan@debian.org>
Source: krb4
Description: Dummy library package for Kerberos4 From KTH.
This is a dummy package. It should be safe to remove it.
What is different?
I wildly speculate that apt-get is making the assumption that package
version 1.1-11-2 will be exactly the same regardless of where it was
downloaded from, and is comparing the deb file against the Packages
entry from the unused/wrong source (priority==-1).
--
Brian May <bam@snoopy.apana.org.au>
Reply to: