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)
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 ature: Ubuntu 3.2.0-17.27-generic 3.2.6
DistroRelease: Ubuntu 12.04
Package: apt 0.8.16~exp12ubuntu4
ProcVersionSign
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)