apt-file fails using a proxy (such as apt-cacher-ng)

Bug #767061 reported by Fabián Rodríguez on 2011-04-20
This bug affects 5 people
Affects Status Importance Assigned to Milestone
apt-file (Ubuntu)

Bug Description

Binary package hint: apt-file

I am using apt-cacher-ng to proxy apt package installation.

When installing apt-file on a desktop system, it fails, most probably not recognizing a proxy is in place.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: apt-file 2.4.0
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Wed Apr 20 07:26:26 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110315)
PackageArchitecture: all
SourcePackage: apt-file
UpgradeStatus: No upgrade log present (probably fresh install)


- Edit /etc/apt/apt.conf to comment out the proxy configuration line temporarily
- Re-launch apt-file update

Fabián Rodríguez (magicfab) wrote :
Fabián Rodríguez (magicfab) wrote :
description: updated
Changed in apt-file (Ubuntu):
status: New → Confirmed
Peter Wu (lekensteyn) wrote :

/etc/apt/apt.conf does not exist by default, what did it contain?

Thijs Kinkhorst (kink) wrote :

The basic problem here is that APT doesn't publish a good interface to downloading files which apt-file could use, requiring apt-file to reimplement all special cases like proxy handling. I'm not eager to reinvent this wheel and hope the APT developers will at one point provide a good interface to this process.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt-file - 3.1.4

apt-file (3.1.4) unstable; urgency=medium

  * Fix typo in 60disable-contents-fetching.conf. Thanks to
    Felix Geyer for spotting it. (Closes: #843453)
  * apt-file: Fix two spelling mistakes in the --help output.
    Thanks to "axhn" on IRC and Guillem Jover for spotting

 -- Niels Thykier <email address hidden> Mon, 23 Jan 2017 20:39:04 +0000

Changed in apt-file (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.