Bug#1060161: apt install -V sometimes does not show a version while it knows the version
Package: apt
Version: 2.7.7
Severity: normal
X-Debbugs-Cc: witold.baryluk@gmail.com
Trying to install wine from winehq, on debian testing. No issue with
that, but got an interesting result with -V:
...
...
Suggested packages:
libcurl4-doc (8.5.0-2)
libgnutls28-dev (3.8.2-1)
libidn-dev (1.41-1)
libkrb5-dev (1.20.1-5)
libldap2-dev (2.5.13+dfsg-5)
librtmp-dev (2.4+20151223.gitfa8646d.1-2+b2)
libssh2-1-dev (1.11.0-4)
gdbm-l10n:i386
hplip (3.22.10+dfsg0-4)
hplip:i386 (3.22.10+dfsg0-4)
libtap-harness-archive-perl (0.18-4)
Recommended packages:
sane-airscan (0.99.27-1+b1)
libodbc1
libtiff5
libodbc1:i386
libtiff5:i386
The following packages will be REMOVED:
sane-airscan (0.99.27-1+b1)
wine
I can understand that apt does not always show exact version in
Suggested and Recommended, because these packages might not even exist,
and version might complexly depend whetever it is going to be installed
or not, some of them might conflict with each other, and in general
could be costly to compute.
But, REMOVED section should clear, because it should show the currently installed version:
user@debian:~$ dpkg -l wine
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-==============-============-===========================================
ii wine 8.0.1~repack-3 all Windows API implementation - standard suite
So, no idea why it is not showing version in the case of wine.
-- System Information:
Debian Release: trixie/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.7.0-rc4 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_UNSIGNED_MODULE
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 apt depends on:
ii adduser 3.137
ii base-passwd 3.6.3
ii debian-archive-keyring 2023.4
ii gpgv 2.2.40-1.1
ii libapt-pkg6.0 2.7.7
ii libc6 2.37-13
ii libgcc-s1 13.2.0-9
ii libgnutls30 3.8.2-1
ii libseccomp2 2.5.4-2+b1
ii libstdc++6 13.2.0-9
ii libsystemd0 255.2-3
Versions of packages apt recommends:
ii ca-certificates 20230311
Versions of packages apt suggests:
pn apt-doc <none>
ii dpkg-dev 1.22.2
ii gnupg 2.2.40-1.1
ii powermgmt-base 1.37
ii synaptic 0.91.3
-- no debconf information
Reply to: