Bug 57860

Summary: wrong display of versions of the multiple candidates when apt-get install is ambiguous
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: aptAssignee: placeholder <placeholder>
Status: NEW --- QA Contact: qa-sisyphus
Severity: minor    
Priority: P5 CC: boyarsh, glebfm, imz, ldv, placeholder, vt
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Ivan Zakharyaschev 2026-02-13 19:27:25 MSK
apt-0.5.15lorg2-alt100.x86_64

# apt-get install libreoffice
Reading Package Lists... Done
Building Dependency Tree... Done
Package libreoffice is a virtual package provided by:
  LibreOffice-still p11+403032.500.10.1@1769094403 [Installed]
  LibreOffice-integrated p11+403032.600.10.1@1769096236
  LibreOffice p11+403032.600.10.1@1769096236
You should explicitly select one to install.
E: Package libreoffice is a virtual package with multiple good providers.

It lacks [E:]V-R; only the part after the second : in [E:]V-R:DISTTAG@T is displayed.

Another example (note the version after the space, not after the hash):

# apt-get install kernel-image-6.12
Reading Package Lists... Done
Building Dependency Tree... Done
Package kernel-image-6.12 is a virtual package provided by:
  kernel-image-6.12#6.12.65-alt1:p11+404819.100.2.1@1768677871 p11+404819.100.2.1@1768677871 [Installed]
  kernel-image-6.12#6.12.61-alt1:p11+402076.100.2.1@1765460259 p11+402076.100.2.1@1765460259 [Installed]
  kernel-image-6.12#6.12.68-alt1:p11+406728.100.2.1@1770411613 p11+406728.100.2.1@1770411613
You should explicitly select one to install.
E: Package kernel-image-6.12 is a virtual package with multiple good providers.