Your message dated Wed, 14 Dec 2022 16:18:14 +0100 with message-id <20221214160901.GA199641@debian.org> and subject line Re: Bug#1026086: Wrong output of apt-cache depends has caused the Debian Bug report #1026086, regarding Wrong output of apt-cache depends to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1026086: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026086 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: Wrong output of apt-cache depends
- From: Orangey <orangey.box@gmail.com>
- Date: Wed, 14 Dec 2022 11:18:37 -0300
- Message-id: <[🔎] CAG2Po04TvW8b2vD_W0bJmYpH3z0uCegSwk8R2Z01Uqk8QE8sLw@mail.gmail.com>
Package: aptVersion: 2.2.4Linux 5.19.0-0.deb11.2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.19.11-1~bpo11+1 (2022-10-03) x86_64 GNU/LinuxDescription: Debian GNU/Linux 11 (bullseye)# apt show libdbus-1-3
Package: libdbus-1-3
Version: 1.12.20-2
Priority: optional
Section: libs
Source: dbus
Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>
Installed-Size: 496 kB
Depends: libc6 (>= 2.17), libsystemd0
Recommends: dbus
Breaks: dbus (<< 1.9.16-1~)
Homepage: https://dbus.freedesktop.org/
Tag: role::shared-lib
Download-Size: 219 kB
APT-Manual-Installed: no
APT-Sources: http://mirror.insacom.cl/debian bullseye/main amd64 Packages
Description: simple interprocess messaging system (library)
# apt depends libdbus-1-3
libdbus-1-3
Depends: libc6 (>= 2.17)
Depends: libsystemd0
libelogind0
Breaks: dbus (<< 1.9.16-1~)
Recommends: dbus
libelogind0 must not be in the command output.
--- End Message ---
--- Begin Message ---
- To: 1026086-close@bugs.debian.org
- Subject: Re: Bug#1026086: Wrong output of apt-cache depends
- From: Julian Andres Klode <jak@debian.org>
- Date: Wed, 14 Dec 2022 16:18:14 +0100
- Message-id: <20221214160901.GA199641@debian.org>
- In-reply-to: <[🔎] CAG2Po04TvW8b2vD_W0bJmYpH3z0uCegSwk8R2Z01Uqk8QE8sLw@mail.gmail.com>
- References: <[🔎] CAG2Po04TvW8b2vD_W0bJmYpH3z0uCegSwk8R2Z01Uqk8QE8sLw@mail.gmail.com>
On Wed, Dec 14, 2022 at 11:18:37AM -0300, Orangey wrote: > Package: apt > Version: 2.2.4 > > Linux 5.19.0-0.deb11.2-amd64 #1 SMP PREEMPT_DYNAMIC Debian > 5.19.11-1~bpo11+1 (2022-10-03) x86_64 GNU/Linux > Description: Debian GNU/Linux 11 (bullseye) > > # apt show libdbus-1-3 > Package: libdbus-1-3 > Version: 1.12.20-2 > Priority: optional > Section: libs > Source: dbus > Maintainer: Utopia Maintenance Team < > pkg-utopia-maintainers@lists.alioth.debian.org> > Installed-Size: 496 kB > *Depends: libc6 (>= 2.17), libsystemd0* > Recommends: dbus > Breaks: dbus (<< 1.9.16-1~) > Homepage: https://dbus.freedesktop.org/ > Tag: role::shared-lib > Download-Size: 219 kB > APT-Manual-Installed: no > APT-Sources: http://mirror.insacom.cl/debian bullseye/main amd64 Packages > Description: simple interprocess messaging system (library) > > # apt depends libdbus-1-3 > libdbus-1-3 > * Depends: libc6 (>= 2.17)* > > * Depends: libsystemd0 libelogind0* > Breaks: dbus (<< 1.9.16-1~) > Recommends: dbus > > *libelogind0 must not be in the command output.* No you're wrong. Please read the manual page: depends shows a listing of each dependency a package has and all the possible other packages that can fulfill that dependency and if you check libelogind you see: Provides: libsystemd0 (= 246.9.1) WRT your followup on --installed not filtering out libelogind, that's well it is what is. It actually filters installed dependencies, not installed packages, and hence libelogind0 is shown. They're legacy commands provided for backward compatibility for users who know what they're doing. You're likely better of asking your questions using patterns, e.g.: $ apt list '?reverse-depends(?name(libdbus-1-3))' libc6/stable-updates,now 2.31-13+deb11u5 amd64 [installed,automatic] libsystemd0/stable,now 247.3-7+deb11u1 amd64 [installed,automatic] or using apt-cache show with the pattern if you need a machine-readable output. See apt-patterns(7) for more information. -- debian developer - deb.li/jak | jak-linux.org - free software dev ubuntu core developer i speak de, en
--- End Message ---