[Bug 1324915] Re: apt-cache rdepends has incorrect output

David Kalnischkies 1324915 at bugs.launchpad.net
Sat Jun 7 18:07:49 UTC 2014


>  * presence of '| network-manager-dbg'

network-manager-dbg depends on network-manager and this dependency is
or'ed, so what is wrong about that?

> * presence of connman (connman is a conflicts of network-manager)

If we/apt talks about dependencies, we usually mean all of them as
enumerating all of them tends to be quiet painful.

You have two options:
* -o APT::Cache::ShowDependencyType=1
which results in a similar output as with "depends" (it is the same code).
* --important --no-conflicts --no-replaces --no-breaks --no-pre-depends
(^ the last one might actually not be what you want, but hints at why we tend to have a relaxed interpretation of things)

I would like to have the first one as default, but given that scripts
exist which depend on this (insane) behavior, no dice…

** Changed in: apt (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1324915

Title:
  apt-cache rdepends has incorrect output

Status in “apt” package in Ubuntu:
  Invalid

Bug description:
  apt-cache seems not to parse cache data correctly.  See below at least 2 issues:
   * presence of '| network-manager-dbg'
   * presence of connman (connman is a conflicts of network-manager).

  $ apt-cache rdepends network-manager
  network-manager
  Reverse Depends:
    ppp
    wader-core
    waagent
    ubuntu-touch
    ubuntu-push-client
    ubuntu-gnome-desktop
    ubuntu-desktop-next
    sugar-tools-0.98
    sugar-tools-0.96
    sugar-session-0.98
    sugar-session-0.96
    sugar-presence-service-0.90
    sugar-presence-service-0.88
    sucrose-0.98
    sucrose-0.96
    python-networkmanager
    python-jarabe-0.98
    python-jarabe-0.96
    plasma-nm
    network-manager-strongswan
    network-manager-openconnect
    modem-manager-gui
    liferea
    libconnectivity-cpp0
    gnome-shell
    gajim
    connman
    walinuxagent
    resolvconf
    ppp
    network-manager-gnome
   |network-manager-dbg
    modemmanager
    libpurple0
    evolution

  $ lsb_release -sc
  utopic

  $ dpkg -S apt-cache
  apt: /usr/bin/apt-cache

  $ dpkg-query --show 
  apt   1.0.2ubuntu2

  $ apt-cache show network-manager
  Package: network-manager
  Priority: optional
  Section: net
  Installed-Size: 2040
  Maintainer: Ubuntu Core Dev Team <ubuntu-devel-discuss at lists.ubuntu.com>
  Original-Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers at lists.alioth.debian.org>
  Architecture: amd64
  Version: 0.9.8.8-0ubuntu17
  Depends: libc6 (>= 2.14), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2 (>= 0.88), libglib2.0-0 (>= 2.31.8), libgudev-1.0-0 (>= 146), libmm-glib0 (>= 0.7.991), libnl-3-200 (>= 3.2.7), libnl-genl-3-200 (>= 3.2.7), libnl-route-3-200 (>= 3.2.7), libnm-glib4 (>= 0.9.8.0), libnm-util2 (>= 0.9.6.0+git201212071413.8a9759a), libpolkit-gobject-1-0 (>= 0.99), libsoup2.4-1 (>= 2.26.1), libsystemd-login0 (>= 31), init-system-helpers (>= 1.18~), upstart (>= 1.12.1-0ubuntu6), lsb-base (>= 3.2-14), wpasupplicant (>= 0.7.3-1), dbus (>= 1.1.2), udev, isc-dhcp-client (>= 4.1.1-P1-4), iproute2, dnsmasq-base, policykit-1, iputils-arping
  Pre-Depends: multiarch-support
  Recommends: network-manager-pptp, network-manager-gnome | plasma-widget-networkmanagement | plasma-nm, ppp (>= 2.4.5), iptables, modemmanager, libpam-systemd, crda
  Suggests: avahi-autoipd, python
  Conflicts: connman
  Breaks: network-manager-gnome (<< 0.9), network-manager-kde (<< 1:0.9), network-manager-openconnect (<< 0.9), network-manager-openvpn (<< 0.9), network-manager-pptp (<< 0.9), network-manager-vpnc (<< 0.9), plasma-widget-networkmanagement (<< 0.9~), ppp (<< 2.4.5)
  Filename: pool/main/n/network-manager/network-manager_0.9.8.8-0ubuntu17_amd64.deb
  Size: 504062
  MD5sum: ad828d98e8572c3d352a8bcb86d1ad4b
  SHA1: 0f24d5f332bb39c12988ec5f76df403a15e31417
  SHA256: 59a45637af7e6fab50526323e2f58a46316afe236e8a49237ab8622f29c1a94a
  Description-en: network management framework (daemon and userspace tools)
   NetworkManager is a system network service that manages your network devices
   and connections, attempting to keep active network connectivity when
   available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
   devices, and provides VPN integration with a variety of different VPN
   services.
   .
   This package provides the userspace daemons and a command line interface to
   interact with NetworkManager.
   .
   Optional dependencies:
    * ppp: Required for establishing dial-up connections (e.g. via GSM).
    * avahi-autoipd: Used for IPv4LL, a protocol for automatic Link-Local IP
      address configuration.
  Description-md5: 8f6f8b56b77097ec1e2134d2c9189882
  Homepage: http://www.gnome.org/projects/NetworkManager/
  Bugs: https://bugs.launchpad.net/ubuntu/+filebug
  Origin: Ubuntu
  Supported: 9m
  Task: ubuntu-desktop, ubuntu-usb, kubuntu-desktop, kubuntu-full, kubuntu-active, kubuntu-active-desktop, kubuntu-active-full, kubuntu-active, edubuntu-desktop, edubuntu-usb, xubuntu-desktop, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, lubuntu-desktop, ubuntustudio-desktop, ubuntu-gnome-desktop, ubuntu-desktop-next, ubuntu-touch

  $ apt-cache show connman
  Package: connman
  Priority: optional
  Section: universe/net
  Installed-Size: 993
  Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
  Original-Maintainer: Alexander Sack <asac at debian.org>
  Architecture: amd64
  Version: 1.21-1
  Depends: libc6 (>= 2.15), libdbus-1-3 (>= 1.1.1), libglib2.0-0 (>= 2.28.0), libgnutls26 (>= 2.12.17-0), libreadline6 (>= 6.0), libxtables10, init-system-helpers (>= 1.18~), dbus, lsb-base
  Recommends: bluez, wpasupplicant, ofono
  Suggests: indicator-network
  Conflicts: network-manager, wicd
  Filename: pool/universe/c/connman/connman_1.21-1_amd64.deb
  Size: 311882
  MD5sum: eea3477c4d60d5e8f488b47fb606933a
  SHA1: 20c7fbbcae1c74e867c4b62c37248ea11a2c5db0
  SHA256: 8a8db61239189f1c49c1146f78bb0f72820371fd65921b9ad2ae289f672a46ba
  Description-en: Intel Connection Manager daemon
   The Linux Connection Manager project provides a daemon for managing
   Internet connections within embedded devices running the Linux
   operating system. The Connection Manager is designed to be slim and to
   use as few resources as possible. It is fully modular system that
   can be extended through plug-ins. The plug-in approach allows for
   easy adaption and modification for various use cases.
   .
   ConnMan provies IPv4 and IPv6 connectivity via:
    * ethernet
    * WiFi, using wpasupplicant
    * Cellular, using oFono
    * Bluetooth, using bluez
   .
   ConnMan implements DNS resolving and caching, DHCP clients for both IPv4 and
   IPv6, link-local IPv4 address handling and tethering (IP connection sharing)
   to clients via USB, ethernet, WiFi, cellular and Bluetooth.
   .
   This package contains the connman daemon and its plugins.
  Description-md5: d8355ea4ac1b5f83324dbab30d92c282
  Homepage: https://connman.net
  Bugs: https://bugs.launchpad.net/ubuntu/+filebug
  Origin: Ubuntu

  $ apt-cache show network-manager-dbg
  Package: network-manager-dbg
  Priority: extra
  Section: debug
  Installed-Size: 2659
  Maintainer: Ubuntu Core Dev Team <ubuntu-devel-discuss at lists.ubuntu.com>
  Original-Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers at lists.alioth.debian.org>
  Architecture: amd64
  Source: network-manager
  Version: 0.9.8.8-0ubuntu17
  Depends: network-manager (= 0.9.8.8-0ubuntu17) | libnm-util2 (= 0.9.8.8-0ubuntu17) | libnm-glib4 (= 0.9.8.8-0ubuntu17) | libnm-glib-vpn1 (= 0.9.8.8-0ubuntu17)
  Filename: pool/main/n/network-manager/network-manager-dbg_0.9.8.8-0ubuntu17_amd64.deb
  Size: 2122266
  MD5sum: a69d0ec90a8200f6d39d32805cb3d320
  SHA1: ba740fe07f872aa5e2c7ac42ea0f59ed284a83b2
  SHA256: 278734a61d4c9339f5e22395ecc94a84fc7ed5e294fc501dbedbfe1559d6762a
  Description-en: network management framework (debugging symbols)
   NetworkManager is a system network service that manages your network devices
   and connections, attempting to keep active network connectivity when
   available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
   devices, and provides VPN integration with a variety of different VPN
   services.
   .
   This package contains detached debugging symbols.
  Description-md5: fab22ebf7107cdfdeb29ff226f6cf920
  Homepage: http://www.gnome.org/projects/NetworkManager/
  Bugs: https://bugs.launchpad.net/ubuntu/+filebug
  Origin: Ubuntu
  Supported: 9m

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: apt 1.0.2ubuntu2
  ProcVersionSignature: Ubuntu 3.15.0-3.7-generic 3.15.0-rc7
  Uname: Linux 3.15.0-3-generic x86_64
  ApportVersion: 2.14.2-0ubuntu4
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri May 30 08:47:33 2014
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-10-19 (953 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  SourcePackage: apt
  UpgradeStatus: Upgraded to utopic on 2013-05-20 (375 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1324915/+subscriptions



More information about the foundations-bugs mailing list