Package: apt
Version: 2.6.1
Severity: normal

With the sources.list below this works:

```
"apt-get" "-o" "Debug::pkgDepCache::AutoInstall=false" "-o" 
"APT::Get::Show-Versions=false" "-u" "dist-upgrade" "--print-uris" "--yes" "-t" 
 bookworm-security 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
```

while this gives an error:

```
# "apt-get" "-o" "Debug::pkgDepCache::AutoInstall=false" "-o" 
"APT::Get::Show-Versions=false" "-u" "dist-upgrade" "--print-uris" "--yes" "-t" 
 bookworm-updates
Reading package lists... Done
E: The value 'bookworm-updates' is invalid for APT::Default-Release as such a 
release is not available in the sources
```

I assume that's because there's not yet a point release for bookworm and
hence the Packages file is empty. This currently trips up the munin
apt_all plugin on bookworm. I'm aware there's better ways to figure out missing
upgrades but wanted to report it nevertheless.

Cheers,
 -- Guido

-- Package-specific info:

-- (no /etc/apt/preferences present) --

-- (/etc/apt/sources.list present) --

deb http://deb.debian.org/debian bookworm-updates main
deb http://deb.debian.org/debian bookworm main
deb http://deb.debian.org/debian-security/ bookworm-security main


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64

Kernel: Linux 6.1.0-9-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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 apt depends on:
ii  adduser                 3.134
ii  debian-archive-keyring  2023.3
ii  gpgv                    2.2.40-1.1
ii  libapt-pkg6.0           2.6.1
ii  libc6                   2.36-9
ii  libgcc-s1               12.2.0-14
ii  libgnutls30             3.7.9-2
ii  libseccomp2             2.5.4-1+b3
ii  libstdc++6              12.2.0-14
ii  libsystemd0             252.6-1

Versions of packages apt recommends:
ii  ca-certificates  20230311

Versions of packages apt suggests:
pn  apt-doc                      <none>
pn  aptitude | synaptic | wajig  <none>
ii  dpkg-dev                     1.21.22
ii  gnupg                        2.2.40-1.1
ii  powermgmt-base               1.37

-- no debconf information

Reply via email to