[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:13:30PM +0200, Julian Andres Klode wrote:
> 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.

So should we advocate that all private repositories use that syntax to
limit to the architectures they support?

Mike



Reply to: