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

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
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 Sun, 12 Apr 2026 16:10:01 +0200
Message-ID <MJ3FD-eBfs-1@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sun Apr 12 14:01:08 2026
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -1.699
Reply-To Jochen Sprickerhof <jspricke@debian.org>, 1133364@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc deity@lists.debian.org
X-Debian-Pr-Message report 1133364
X-Debian-Pr-Package apt
X-Debian-Pr-Source apt
Content-Type text/plain; charset="us-ascii"
MIME-Version 1.0
Content-Transfer-Encoding 7bit
X-Mailer reportbug 13.2.0
X-Debian-User jspricke
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1963609
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 27
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 12 Apr 2026 15:59:38 +0200
X-Original-Message-ID <177600237889.171071.622297051811443161.reportbug@fenchel>
Xref csiph.com linux.debian.bugs.dist:1289323

Show key headers only | 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