Bug#1007122: apt: in dependencies, apt should not install a package that is already provided via "Provides:"
Package: apt
Version: 2.4.1
Severity: minor
With "apt install ...", apt wants to install a package as a
dependency, but this package is already provided by an installed
package, via "Provides:".
Example:
cventin:~> apt install -s elpa-transient
[...]
The following additional packages will be installed:
emacs
but on my machine, emacs-gtk is already installed, and it has
Provides: editor, emacs, emacsen, info-browser, mail-reader, news-reader
Note: emacs is a metapackage for emacs-gtk or variants, so that
it is completely useless if emacs-gtk is installed directly.
-- Package-specific info:
-- 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')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.16.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 depends on:
ii adduser 3.120
ii debian-archive-keyring 2021.1.1
ii gpgv 2.2.27-3
ii libapt-pkg6.0 2.4.1
ii libc6 2.33-7
ii libgcc-s1 12-20220302-1
ii libgnutls30 3.7.3-4+b1
ii libseccomp2 2.5.3-2
ii libstdc++6 12-20220302-1
ii libsystemd0 250.3-2
Versions of packages apt recommends:
ii ca-certificates 20211016
Versions of packages apt suggests:
ii apt-doc 2.4.1
ii aptitude 0.8.13-3
ii dpkg-dev 1.21.1
ii gnupg 2.2.27-3
ii powermgmt-base 1.36
-- no debconf information
--
Vincent Lefèvre <vincent@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 to: