apt-get update fails with "Unable to find expected entry 'main/binary-i386/Packages' in Release file" on pure x86_64 repos

Bug #1554223 reported by Dan Kegel
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Opinion
Undecided
Unassigned

Bug Description

(ubuntu-bug wouldn't let me report bugs against apt, go figure.)

I run my own apt repo for a third-party app, and I have to include a dummy i386 package to avoid an error from apt-get.

Along comes Chrome's decision to desupport i386, and suddenly this problem matters to a lot of people,
who are all seeing apt-get update fail with:

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.

While it would be easy for Google to include a dummy i386 package in their repo, it would be even better if apt-get didn't barf like this on pure 64 bit repos.

Revision history for this message
Dan Kegel (dank) wrote :

Oh, this is on ubuntu 15.10 (i.e. apt 1.0.10.2.ubuntu1), and probably all previous versions.
It does not seem to affect ubuntu 16.04 beta 1 (i.e. apt 1.2.3).

Revision history for this message
Dan Kegel (dank) wrote :
Revision history for this message
Julian Andres Klode (juliank) wrote :

This is a bug on Chrome's site mostly. We made the design choice to request all architectures configured and warn about missing ones. You can tell APT to ignore archs for some sources in your sources.list entry.

Changed in apt (Ubuntu):
status: New → Opinion
Revision history for this message
Dan Kegel (dank) wrote :

If it were a warning, I'd agree with you... but it's an error, and it stops my scripts cold.

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.