[Bug 940848] Re: apt-cache --installed fails to correctly deal with virtual packages

Hernando Torque 940848 at bugs.launchpad.net
Sat Feb 25 10:00:40 UTC 2012


-- 
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/940848

Title:
  apt-cache --installed fails to correctly deal with virtual packages

Status in “apt” package in Ubuntu:
  New

Bug description:
  When using the --installed switch of apt-cache, the result seems to be
  bad when it has to deal with virtual packages. E.g.:

  $ apt-cache depends xfonts-base
  xfonts-base
    Depends: xfonts-utils
   |Suggests: xfs
    Suggests: <xserver>
      tightvncserver
      vnc4server
      xnest
      xserver-xephyr
      xserver-xfbdev
      xserver-xorg
      xvfb
    Replaces: <xfonts-misc>
    Replaces: <xfonts-misc:i386>

  Now with the --installed switch:

  $ apt-cache --installed depends xfonts-base
  xfonts-base
    Depends: xfonts-utils
      tightvncserver
      vnc4server
      xnest
      xserver-xephyr
      xserver-xfbdev
      xserver-xorg
      xvfb

  It correctly removes "Suggests: <xserver>", but fails to remove all
  the content of the virtual package.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: apt 0.8.16~exp12ubuntu4
  ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
  Uname: Linux 3.2.0-17-generic x86_64
  ApportVersion: 1.93-0ubuntu2
  Architecture: amd64
  Date: Sat Feb 25 10:55:52 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
  SourcePackage: apt
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list