Can't search cross-architecture

Bug #1296128 reported by Hadmut Danisch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-file (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I'm currently using a regular PC (plain AMD64 architecture) to create ubuntu boot images for ARM processor boards.

To make it easier to find necessary packages I wanted to use apt-file to sarch for ARM packages with

I therefore tried things like

apt-file -a armhf update
apt-file -a armhf search bash

which did not work. As far as I can see the reason is that apt-file uses the regular archive URLs, which are valid only for x86 and amd64. The other architectures use different URLs like

http://ports.ubuntu.com/ubuntu-ports/dists/trusty/

regards

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: apt-file 2.5.2ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-18.38-generic 3.13.6
Uname: Linux 3.13.0-18-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Mar 22 20:47:13 2014
PackageArchitecture: all
SourcePackage: apt-file
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Hadmut Danisch (hadmut) wrote :
Revision history for this message
Niels Thykier (niels-thykier) wrote :

apt-file 3 should support this provided you configure apt to fetch the Contents files for armhf. Admittedly, this is waiting for #1641283

Revision history for this message
Mattia Rizzolo (mapreri) wrote :
Download full text (9.9 KiB)

This bug was fixed in the package apt-file - 3.1.4
Sponsored for Niels Thykier (niels-thykier)

---------------
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
    them.

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

apt-file (3.1.3) unstable; urgency=medium

  * apt-file: Gracefully handle if origins (or suites) have spaces
    in them. (Closes: #843401, #843403)

 -- Niels Thykier <email address hidden> Sun, 06 Nov 2016 15:03:52 +0000

apt-file (3.1.2) unstable; urgency=medium

  [ Niels Thykier ]
  * apt-file: Strip Contents header without discarding results (Closes: #676642)
  * apt-file: Restructure --help output.
  * apt-file: Support --filter-suites and --filter-origins options. These
    make it possible to only search in (e.g.) Debian/unstable even if
    other origins or/and suites are downloaded.
  * apt-file.1: Clarify that --config-file and --option can be used to
    overwrite other command line parameters.

  [ Paul Wise ]
  * Make the package filter regex match the sectionless Contents-source format
  * Strip the Contents header from the sid cache in the tests

  [ Time Potter ]
  * Fix typo in apt-file manpage. (Closes: #843122)

 -- Niels Thykier <email address hidden> Sat, 05 Nov 2016 15:54:12 +0000

apt-file (3.1.1) unstable; urgency=medium

  * apt-file: Fix off-by-one causing "uninitialized value"
    warning. Thanks to Paul Wise for reporting the issue.
    (Closes: #838296)
  * apt-file: Use "apt-get" instead of "apt" for the update
    command if STDOUT is not a TTY. This is to avoid a
    warning from apt about it being unsuitable for scripts.

 -- Niels Thykier <email address hidden> Wed, 21 Sep 2016 18:53:01 +0000

apt-file (3.1) unstable; urgency=medium

  * Move apt-file under the APT packaging team.
  * apt-file: Fix bug in handling patterns starting with "-".
    Thanks to Paul Wise for reporting the issue.
    (Closes: #821016)
  * apt-file: Fix bug where package listing did not work if the
    Contents files did not include sections. Thanks to
    "Unit 193" for the report. (Closes: #820560)
  * apt-file-2-update.sh: Correct path to the "partial" directory.
    Thanks to Ritesh Raj Sarraf for the report. (Closes: #832131)
  * apt-file, 50apt-file.conf: Support fetching of Contents files
    in legacy locations (as used by Ubuntu) by default. This
    requires apt 1.3.
  * apt-file: Support setting a default value for -I/--index-names
    in the apt config file. Thanks to Cyril Brulebois for the
    suggestion (part of #825293)
  * apt-file: Accept "ALL" as a special index name for -I. When
    given, apt-file will search all of its indices. Thanks to
    Cyril Brulebois for the suggestion (part of #825293).
  * debian/NEWS: Clarify that the indices for source packages and
    udebs are disabled in the apt-file 2 -> 3 transition. These
    must be manually reabled. Thanks to Cyril Brulebois for the
    report. (Closes: #825293)
  * apt-file: Exit with...

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

Other bug subscribers

Remote bug watches

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