Package: apt-show-versions
Version: 0.22.13+nmu1
Severity: normal

I get

cventin:~> apt-show-versions -a clang-14-doc
clang-14-doc:all 1:14.0.6-8 install ok installed
No stable version
No stable-updates version
clang-14-doc:all 1:14.0.6-2       testing      ftp.debian.org
clang-14-doc:all 1:14.0.6-6       unstable     ftp.debian.org
clang-14-doc:all 1:14.0.6-10~exp1 experimental ftp.debian.org
clang-14-doc:all/experimental *manually* upgradeable from 1:14.0.6-8 to 
1:14.0.6-10~exp1

but the current unstable version is 1:14.0.6-8, not 1:14.0.6-6!

On https://tracker.debian.org/pkg/llvm-toolchain-14 one has

  [2022-11-12] Accepted llvm-toolchain-14 1:14.0.6-8 (source) into unstable
  (Sylvestre Ledru)

and on my machine, /usr/share/doc/clang-14-doc/changelog.Debian.gz
starts with

llvm-toolchain-14 (1:14.0.6-8) unstable; urgency=medium
                   ^^^^^^^^^^  ^^^^^^^^

Moreover,
/var/lib/apt/lists/ftp.debian.org_debian_dists_unstable_main_binary-amd64_Packages
contains

Package: clang-14-doc
Source: llvm-toolchain-14
Version: 1:14.0.6-8
[...]

I suspect that apt-show-versions is confused by
/var/lib/apt/lists/ftp.debian.org_debian_dists_unstable_main_binary-i386_Packages,
which contains

Package: clang-14-doc
Source: llvm-toolchain-14
Version: 1:14.0.6-6
[...]

i.e. the unstable version given by apt-show-versions.

I suppose that apt-show-versions should follow the behavior of apt
and aptitude.

Concerning apt:

cventin:~> apt install -s clang-14-doc/unstable
[...]
Selected version '1:14.0.6-8' (Debian:unstable [all]) for 'clang-14-doc'

so it takes the amd64 version, probably because this is the main
architecture on this machine (i386 being a foreign one).

And in /var/log/aptitude, I can see

[UPGRADE] clang-14-doc:amd64 1:14.0.6-7 -> 1:14.0.6-8

mentioning amd64 explicitly.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-4-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt-show-versions depends on:
ii  apt                      2.5.4
ii  libapt-pkg-perl          0.1.40+b2
ii  perl [libstorable-perl]  5.36.0-4

apt-show-versions recommends no packages.

apt-show-versions suggests no packages.

-- no debconf information

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to