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

June 20th, 2011 - 06:10 am ET by Mike Hommey | Report spam
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/exp...al/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.

Mike



To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 3 repliesReplies Make a reply

Replies

#1 Julian Andres Klode
June 20th, 2011 - 06:20 am ET | Report spam

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/exp...al/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/.






To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics