Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1289323

Bug#1133364: apt should ignore 0 epoch when downloading or installing with a version specifier

From Jochen Sprickerhof <jspricke@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1133364: apt should ignore 0 epoch when downloading or installing with a version specifier
Date 2026-04-12 16:10 +0200
Message-ID <MJ3FD-eBfs-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: apt
Version: 3.2.0
Severity: normal

Hi,

According to Debian policy 5.6.12. a zero epoch "may be omitted, in
which case zero is assumed." [0]. Currently this does not work:

$ apt download woff-tools=2009.10.04-2+1.3.1-2
Error: Version '2009.10.04-2+1.3.1-2' for 'woff-tools' was not found

# apt install woff-tools=2009.10.04-2+1.3.1-2
Error: Version '2009.10.04-2+1.3.1-2' for 'woff-tools' was not found

$ apt download woff-tools=0:2009.10.04-2+1.3.1-2
Get:1 https://deb.debian.org/debian unstable/main amd64 woff-tools all 0:2009.10.04-2+1.3.1-2 [3.024 B]

Can you please add support for this? This would fix the code in
debrebuild and allow to reproduce more packages on reproduce.d.n

Thanks!

Jochen


[0] https://www.debian.org/doc/debian-policy/ch-controlfields.html#version

Back to linux.debian.bugs.dist | Previous | Next | Find similar


Thread

Bug#1133364: apt should ignore 0 epoch when downloading or installing with a version specifier Jochen Sprickerhof <jspricke@debian.org> - 2026-04-12 16:10 +0200

csiph-web