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

Hernando Torque 940837 at bugs.launchpad.net
Sat Feb 25 21:10:17 UTC 2012


Oh, right! I probably got it wrong because I was following apt-cache's
output, which uses "PreDepends". :-)

** Description changed:

- apt-cache fails to filter out PreDepends when using either
+ apt-cache fails to filter out "PreDepends" when using:
  
  apt-cache --no-pre-depends $package
  
- or
+ whereas
  
- apt-cache -o APT::Cache::ShowPreDepends=0 $package
+ apt-cache -o APT::Cache::ShowPre-Depends=0 $package
  
- It works fine for Depends, Recommends, Suggests, Conflicts, Breaks,
- Replaces, Enhances, so this looks like a bug in apt to me.
+ works fine like the other options for "Depends", "Recommends",
+ "Suggests", "Conflicts", "Breaks", "Replaces", and "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)

-- 
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:

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

  whereas

  apt-cache -o APT::Cache::ShowPre-Depends=0 $package

  works fine like the other options for "Depends", "Recommends",
  "Suggests", "Conflicts", "Breaks", "Replaces", and "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