Package: reprepro
Severity: wishlist
Tags: upstream
X-Debbugs-Cc: [email protected]

Hi,

my private repository has a number of linux kernel packages, which have
ABI version encoded in the package name, so package names get retired
often, and newer source versions build different package names.

As a result, old packages accumulate over time. It would be nice to have
a mechanism that allows me to remove binary packages from a distribution
that were built from a source version that has been superseded, if
binary packages for that architecture for the current version also
exist, or the source package has stopped building binaries for that
architecture altogether.

i.e. if

Source: a
Version: 2
Architecture: any

Package: a1
Version: 1
Architecture: x
Source: a (= 1)

Package: a2
Version: 2
Architecture: x
Source: a (= 2)

are present, then package "a1" is obsolete and can be removed. As a
corner case, it can also be removed if "x" is no longer listed in the
source package's Architecture field (but if "all" is listed, those
should be installed into architecture "x" before the old version is
removed).

   Simon

-- System Information:
Debian Release: 13.3
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.73+deb13-amd64 (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages reprepro depends on:
ii  libarchive13t64  3.7.4-4
ii  libbz2-1.0       1.0.8-6
ii  libc6            2.41-12+deb13u1
ii  libdb5.3t64      5.3.28+dfsg2-9
ii  libgpg-error0    1.51-4
ii  libgpgme11t64    1.24.2-3
ii  liblzma5         5.8.1-1
ii  zlib1g           1:1.3.dfsg+really1.3.1-1+b1
ii  zstd             1.5.7+dfsg-1

Versions of packages reprepro recommends:
ii  apt  3.0.3

Versions of packages reprepro suggests:
ii  gpg-agent        2.4.7-21+deb13u1+b1
pn  inoticoming      <none>
ii  lzip             1.25-3
ii  pinentry-curses  1.3.1-2

Reply via email to