apt-cache rdepends returns cryptic error message

Bug #647045 reported by Marc Deslauriers on 2010-09-24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)

Bug Description

Binary package hint: apt

apt-cache rdepends with a non-existing package now returns a cryptic error message in maverick:

mdeslaur@mdlinux:~$ apt-cache rdepends blahblah
E: Handler silently failed

The same query in lucid used to return a much saner error:

mdeslaur@mdlinux:~$ apt-cache rdepends blahblah
W: Unable to locate package blahblah

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: apt 0.8.3ubuntu5
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Fri Sep 24 14:07:09 2010
EcryptfsInUse: Yes
 PATH=(custom, user)
SourcePackage: apt

== Regression details ==
Discovered in version: apt 0.8.3ubuntu7
Last known good version: apt

Marc Deslauriers (mdeslaur) wrote :
summary: - apt-cache rdepends returns cryptic error message
+ [maverick] apt-cache rdepends returns cryptic error message

Confirming, I'm seeing this regression in behavior for apt-cache rdepends on maverick vs. lucid as well.

Changed in apt (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
tags: added: regression-potential
tags: added: regression-release
removed: regression-potential
description: updated
summary: - [maverick] apt-cache rdepends returns cryptic error message
+ apt-cache rdepends returns cryptic error message

Not just apt-cache rdepends, even depends returns the same error. Perhaps the error returned by other options i.e.
                 N: Unable to locate package <package name>
could be printed instead.

Julian Andres Klode (juliank) wrote :

Fixed in revision 2054 of debian-sid, must be merged.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt - 0.8.10ubuntu1

apt (0.8.10ubuntu1) natty; urgency=low

  [ Julian Andres Klode ]
  * cmdline/apt-cache.cc: Create an error for apt-cache depends
    if packages could not found (LP: #647045)

  [ Michael Vogt ]
  * merged from debian-sid

apt (0.8.10) unstable; urgency=low

  [ Programs translations ]
  * Czech by Miroslav Kure. Closes: #605107

  [ Martin Pitt ]
  * test/integration/test-compressed-indexes, test/test-indexes.sh:
    - Explicitly disable compressed indexes at the start. This ensures that we
      will actually test uncompressed indexes regardless of the internal
      default value of Acquire::GzipIndexes.

  [ David Kalnischkies ]
  * apt-pkg/algorithms.cc:
    - mark all installed packages first without auto installation in
      a dist-upgrade to prefer upgrading packages instead of installing
      new packages in versioned or-groups (Closes: #605394)
 -- Michael Vogt <email address hidden> Tue, 07 Dec 2010 15:53:49 +0100

Changed in apt (Ubuntu Natty):
status: Confirmed → Fix Released
Adolfo Jayme (fitojb) on 2014-01-26
Changed in apt (Ubuntu Maverick):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers