[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#631103: /usr/bin/apt-get: [multiarch] apt-get update probably shouldn't complain about missing files for non-native arch



On Mon, Jun 20, 2011 at 12:07:55PM +0200, Mike Hommey wrote:
> Package: apt
> Version: 0.8.14.1
> Severity: normal
> File: /usr/bin/apt-get
> 
> I added the following to /etc/apt/apt.conf.d/multiarch:
> 
> APT::Architectures { "amd64"; "i386"; "armel"; };
> 
> I have this in my sources.list:
> 
> deb http://mozilla.debian.net/ experimental iceweasel-5.0
> 
> apt-get update then complains about missing armel metadata on that repo:
> 
> W: Failed to fetch http://mozilla.debian.net/dists/experimental/Release  Unable to find expected entry 'iceweasel-5.0/binary-armel/Packages' in Release file (Wrong sources.list entry or malformed file)
> 
> The repo doesn't contain anything about armel at all. While I do understand
> this can be an important piece of information in some cases, in cases like
> this one, it is unnecessarily annoying.
I think it's absolutely reasonable. The default is to get sources for all
requested architectures. If you don't want APT to fetch armel files for
that source, use
  deb [arch=amd64,i386] http://mozilla.debian.net/ experimental iceweasel-5.0
instead.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Attachment: pgp3GsybCWh1b.pgp
Description: PGP signature


Reply to: