Package: debdelta
Version: 0.67
Severity: normal

When a package includes a "+" in the version, apt currently saves the
file using "+", whereas debdelta saves the file using a % escape: "%2b".

Because of this, debdelta can still download/create the deb archive,
but apt will fail to recognize its presence in /var/cache/apt/archives,
leading to a full download anyway.

For reference, the current kicad package in unstable includes a +dfsg
version designator. Expected filename:

/var/cache/apt/archives/kicad_6.0.1+dfsg-1_amd64.deb

file created by debdelta:

/var/cache/apt/archives/kicad_6.0.1%2bdfsg-1_amd64.deb

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (800, 'experimental'), (500, 'unstable-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.0-2-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debdelta depends on:
ii  binutils                   2.37.50.20220106-2
ii  bzip2                      1.0.8-5
ii  freecad-daily-dep [libc6]  1.0
ii  libbz2-1.0                 1.0.8-5
ii  libc6                      2.33-2
ii  python3                    3.9.8-1
ii  python3-requests           2.25.1+dfsg-2
ii  zlib1g                     1:1.2.11.dfsg-2

Versions of packages debdelta recommends:
ii  bsdiff                   4.3-23
pn  gnupg2                   <none>
ii  gpg-agent [gnupg-agent]  2.2.27-3
ii  python3-apt              2.3.0+b1
ii  python3-debian           0.1.42
ii  xdelta                   1.1.3-10.4
ii  xdelta3                  3.0.11-dfsg-1+b1
ii  xz-utils [lzma]          5.2.5-2

Versions of packages debdelta suggests:
pn  debdelta-doc  <none>

-- Configuration Files:
/etc/debdelta/sources.conf changed [not included]

Reply via email to