[Bug 940837] Re: apt-cache fails to filter PreDepends

David Kalnischkies 940837 at bugs.launchpad.net
Sat Feb 25 18:41:33 UTC 2012


apt-cache -o APT::Cache::ShowPre-Depends=0 $package
works though, and that's the correct name for the config option (as it is written with this dash everywhere else too).

But don't worry, even i got that wrong while implementing it… --pre-
depends acts on the config option without dash - obviously it doesn't
work this way…

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

Title:
  apt-cache fails to filter PreDepends

Status in “apt” package in Ubuntu:
  Confirmed

Bug description:
  apt-cache fails to filter out PreDepends when using either

  apt-cache --no-pre-depends $package

  or

  apt-cache -o APT::Cache::ShowPreDepends=0 $package

  It works fine for Depends, Recommends, Suggests, Conflicts, Breaks,
  Replaces, Enhances, so this looks like a bug in apt to me.

  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:17:50 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/940837/+subscriptions




More information about the foundations-bugs mailing list