Bug#579758: Explicit zero epoch confuses apt

Goswin von Brederlow goswin-v-b at web.de
Fri Apr 30 14:54:28 UTC 2010


Package: libconfigreader-simple-perl
Version: 1.28-2
Severity: minor

Hi,

Package: libconfigreader-simple-perl
Architecture: all
Version: 1.28-2
Conflicts: squidtaild (<< 0:2.1a6-5.4)
Depends: perl
Replaces: squidtaild (<< 0:2.1a6-5.4)

You explicitly specified a zero epoch for the version of squidtaild.
Dpkg automatically surpresses a 0 epoch as that is already implied if
no epoch is given and saves dpkg from keeping an extra flag for its
presence.

Apt on the other hand uses the raw strings of the fields in a hash
function which is then used to check if the available and installed
package are the same. With dpkg dropping the zero epoch apt gets
confused and considers the installed and available
libconfigreader-simple-perl 1.28-2 to be different packages and wants
to update it again and again. See Bug#574956.

While we wait for the apt authors to device a fix for this please
consider uploading a new package without needlessly specifying the
zero epoch to avoid the problem.

MfG
	Goswin

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31.6-xen-2010.02.18 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages libconfigreader-simple-perl depends on:
ii  perl                          5.10.1-9   Larry Wall's Practical Extraction 

libconfigreader-simple-perl recommends no packages.

libconfigreader-simple-perl suggests no packages.





More information about the pkg-perl-maintainers mailing list