Ubuntu

apt-get update reporting "not acceptable"

Reported by Ralf Hildebrandt on 2012-02-25
150
This bug affects 32 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Undecided
Unassigned

Bug Description

# apt-get update
Ign http://de.archive.ubuntu.com precise InRelease
Ign http://archive.canonical.com precise InRelease
Ign http://de.archive.ubuntu.com precise-updates InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://us.archive.ubuntu.com precise InRelease
Ign http://us.archive.ubuntu.com precise-updates InRelease
Ign http://us.archive.ubuntu.com precise-backports InRelease
Ign http://de.archive.ubuntu.com precise-backports InRelease
Hit http://archive.canonical.com precise Release.gpg
Ign http://ppa.launchpad.net precise InRelease
Hit http://ppa.launchpad.net oneiric Release.gpg
Ign http://de.archive.ubuntu.com precise-security InRelease
Ign http://us.archive.ubuntu.com precise-security InRelease
Hit http://us.archive.ubuntu.com precise Release.gpg
Hit http://de.archive.ubuntu.com precise Release.gpg
Hit http://archive.canonical.com precise Release
Hit http://ppa.launchpad.net oneiric Release.gpg
Get:1 http://ppa.launchpad.net oneiric Release.gpg [316 B]
Hit http://us.archive.ubuntu.com precise-updates Release.gpg
Hit http://us.archive.ubuntu.com precise-backports Release.gpg
Hit http://de.archive.ubuntu.com precise-updates Release.gpg
Hit http://packages.medibuntu.org oneiric InRelease
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://us.archive.ubuntu.com precise-security Release.gpg
Hit http://de.archive.ubuntu.com precise-backports Release.gpg
Hit http://archive.canonical.com precise/partner amd64 Packages
Hit http://ppa.launchpad.net oneiric Release
Hit http://ppa.launchpad.net oneiric Release
Hit http://us.archive.ubuntu.com precise Release
Hit http://us.archive.ubuntu.com precise-updates Release
Hit http://archive.canonical.com precise/partner i386 Packages
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://ppa.launchpad.net oneiric Release
Hit http://us.archive.ubuntu.com precise-backports Release
Hit http://de.archive.ubuntu.com precise-security Release.gpg
Ign http://ppa.launchpad.net oneiric Release
Hit http://packages.medibuntu.org oneiric/free amd64 Packages
Hit http://ppa.launchpad.net precise Release
Hit http://us.archive.ubuntu.com precise-security Release
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Hit http://de.archive.ubuntu.com precise Release
Hit http://us.archive.ubuntu.com precise/main amd64 Packages
Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://de.archive.ubuntu.com precise-updates Release
Ign http://ppa.launchpad.net oneiric/main amd64 Packages/DiffIndex
Ign http://ppa.launchpad.net oneiric/main i386 Packages/DiffIndex
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://de.archive.ubuntu.com precise-backports Release
Hit http://packages.medibuntu.org oneiric/non-free amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://de.archive.ubuntu.com precise-security Release
Hit http://us.archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://de.archive.ubuntu.com precise/main amd64 Packages
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://de.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://packages.medibuntu.org oneiric/free i386 Packages
Hit http://de.archive.ubuntu.com precise/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://de.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://de.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-security/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-security/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise-security/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise-security/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-security/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-security/multiverse i386 Packages
Hit http://de.archive.ubuntu.com precise/restricted i386 Packages
Hit http://packages.medibuntu.org oneiric/non-free i386 Packages
Hit http://us.archive.ubuntu.com precise-security/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-security/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-security/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/main Translation-de
Hit http://de.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-de
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-de
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-de
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://de.archive.ubuntu.com precise/main TranslationIndex
Ign http://packages.medibuntu.org oneiric/free TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://de.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
Hit http://us.archive.ubuntu.com precise-security/main Translation-en
Hit http://de.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-security/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-security/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-security/universe Translation-en
Hit http://de.archive.ubuntu.com precise/universe TranslationIndex
Ign http://packages.medibuntu.org oneiric/non-free TranslationIndex
Hit http://de.archive.ubuntu.com precise-updates/main amd64 Packages
Ign http://archive.canonical.com precise/partner Translation-en_US
Hit http://de.archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://de.archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://de.archive.ubuntu.com precise-updates/multiverse amd64 Packages
Ign http://archive.canonical.com precise/partner Translation-en
Hit http://de.archive.ubuntu.com precise-updates/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main Translation-en_US
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://archive.canonical.com precise/partner Translation-de
Hit http://de.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://de.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://de.archive.ubuntu.com precise-updates/multiverse i386 Packages
Ign http://ppa.launchpad.net oneiric/main Translation-de
Ign http://ppa.launchpad.net oneiric/main Translation-en_US
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-de
Ign http://ppa.launchpad.net oneiric/main Translation-en_US
Ign http://ppa.launchpad.net oneiric/main Translation-en
Hit http://de.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://de.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Ign http://ppa.launchpad.net oneiric/main Translation-de
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-de
Hit http://de.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://de.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://de.archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://de.archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://de.archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://de.archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://de.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://de.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://de.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://de.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://de.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://de.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://de.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://de.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://de.archive.ubuntu.com precise-security/main amd64 Packages
Hit http://de.archive.ubuntu.com precise-security/restricted amd64 Packages
Hit http://de.archive.ubuntu.com precise-security/universe amd64 Packages
Hit http://de.archive.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://de.archive.ubuntu.com precise-security/main i386 Packages
Hit http://de.archive.ubuntu.com precise-security/restricted i386 Packages
Hit http://de.archive.ubuntu.com precise-security/universe i386 Packages
Hit http://de.archive.ubuntu.com precise-security/multiverse i386 Packages
Hit http://de.archive.ubuntu.com precise-security/main TranslationIndex
Hit http://de.archive.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://de.archive.ubuntu.com precise-security/restricted TranslationIndex
Hit http://de.archive.ubuntu.com precise-security/universe TranslationIndex
Hit http://de.archive.ubuntu.com precise/main Translation-en
Hit http://de.archive.ubuntu.com precise/main Translation-de
Hit http://de.archive.ubuntu.com precise/multiverse Translation-en
Hit http://de.archive.ubuntu.com precise/multiverse Translation-de
Hit http://de.archive.ubuntu.com precise/restricted Translation-en
Hit http://de.archive.ubuntu.com precise/restricted Translation-de
Hit http://de.archive.ubuntu.com precise/universe Translation-en
Hit http://de.archive.ubuntu.com precise/universe Translation-de
Hit http://de.archive.ubuntu.com precise-updates/main Translation-en
Hit http://de.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://de.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://de.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://de.archive.ubuntu.com precise-backports/main Translation-en
Hit http://de.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://de.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://de.archive.ubuntu.com precise-backports/universe Translation-en
Hit http://de.archive.ubuntu.com precise-security/main Translation-en
Hit http://de.archive.ubuntu.com precise-security/multiverse Translation-en
Hit http://de.archive.ubuntu.com precise-security/restricted Translation-en
Hit http://de.archive.ubuntu.com precise-security/universe Translation-en
Err http://de.archive.ubuntu.com precise/universe i386 Packages
  406 Not Acceptable [IP: 141.30.13.30 80]
Ign http://packages.medibuntu.org oneiric/free Translation-en_US
Ign http://packages.medibuntu.org oneiric/free Translation-en
Ign http://packages.medibuntu.org oneiric/free Translation-de
Ign http://packages.medibuntu.org oneiric/non-free Translation-en_US
Ign http://packages.medibuntu.org oneiric/non-free Translation-en
Ign http://packages.medibuntu.org oneiric/non-free Translation-de
Fetched 316 B in 4s (66 B/s)
W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-i386/Packages 406 Not Acceptable [IP: 141.30.13.30 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

But then trying using wget:

# wget -nd http://de.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-i386/Packages
--2012-02-25 09:32:06-- http://de.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-i386/Packages
Resolving de.archive.ubuntu.com (de.archive.ubuntu.com)... 141.30.13.20, 141.30.13.10, 141.30.13.30
Connecting to de.archive.ubuntu.com (de.archive.ubuntu.com)|141.30.13.20|:80... connected.
HTTP request sent, awaiting response... 406 Not Acceptable
2012-02-25 09:32:06 ERROR 406: Not Acceptable.

# wget -nd http://de.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-i386/Packages
--2012-02-25 09:29:15-- http://de.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-i386/Packages
Resolving de.archive.ubuntu.com (de.archive.ubuntu.com)... 141.30.13.30, 141.30.13.10, 141.30.13.20
Connecting to de.archive.ubuntu.com (de.archive.ubuntu.com)|141.30.13.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4806777 (4,6M) [application/x-bzip2]
Saving to: `Packages'

100%[==================================================================================>] 4.806.777 1,30M/s in 3,5s

2012-02-25 09:29:19 (1,30 MB/s) - `Packages' saved [4806777/4806777]

I don't know whom to contact about this error (141.30.13.30 is working, 141.30.13.20 is not)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apt 0.8.16~exp12ubuntu4
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Sat Feb 25 09:30:19 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
SourcePackage: apt
UpgradeStatus: Upgraded to precise on 2012-02-21 (3 days ago)

Failed to download repository information

Check your Internet connection.

W:Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-i386/Packages 406 Not Acceptable [IP: 141.30.13.30 80]
, W:Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/precise/multiverse/binary-i386/Packages 406 Not Acceptable [IP: 141.30.13.30 80]
, W:Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/precise/contrib/binary-i386/Packages 404 Not found
, W:Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/precise/non-free/binary-i386/Packages 404 Not found
, E:Some index files failed to download. They have been ignored, or old ones used instead.

This is not a bug in apt, but rather a setup error on the de.archive.ubuntu.com mirror. But due to lack of contact info it's really hard to find out where I should report this to.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt (Ubuntu):
status: New → Confirmed
Download full text (10.8 KiB)

This is really bothering me. I don't know if it is because I'm running a 32 bit piece of 12.04 software with a PAE on a 64 bit machine(processor).

Here is a detailed error listing from my terminal.

sudo apt-get update

Ign http://archive.canonical.com precise InRelease
Ign http://extras.ubuntu.com precise InRelease
Ign http://de.archive.ubuntu.com precise InRelease
Ign http://security.ubuntu.com precise-security InRelease
Ign http://archive.ubuntu.com precise InRelease
Ign http://de.archive.ubuntu.com precise-updates InRelease
Ign http://dl.google.com stable InRelease
Hit http://extras.ubuntu.com precise Release.gpg
Hit http://archive.canonical.com precise Release.gpg
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://archive.ubuntu.com precise Release.gpg
Hit http://extras.ubuntu.com precise Release
Ign http://de.archive.ubuntu.com precise-proposed InRelease
Hit http://archive.canonical.com precise Release
Hit http://security.ubuntu.com precise-security Release
Get:1 http://dl.google.com stable Release.gpg [198 B]
Hit http://archive.ubuntu.com precise Release
Ign http://de.archive.ubuntu.com precise-backports InRelease
Hit http://extras.ubuntu.com precise/main i386 Packages
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://de.archive.ubuntu.com precise Release.gpg
Hit http://archive.ubuntu.com precise/universe Sources
Ign http://extras.ubuntu.com precise/main TranslationIndex
Get:2 http://dl.google.com stable Release [1,347 B]
Hit http://de.archive.ubuntu.com precise-updates Release.gpg
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/universe TranslationIndex
Hit http://de.archive.ubuntu.com precise-proposed Release.gpg
Get:3 http://dl.google.com stable/main i386 Packages [759 B]
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages ...

* Ananth Srisailapathy <email address hidden>:
> This is really bothering me. I don't know if it is because I'm running a
> 32 bit piece of 12.04 software with a PAE on a 64 bit
> machine(processor).
>
> Here is a detailed error listing from my terminal.

That's just because one of the Ubuntu mirror servers at tu-dresden.de is out
of whack:

> Err http://de.archive.ubuntu.com precise/universe i386 Packages
> 406 Not Acceptable [IP: 141.30.13.20 80]
> Err http://de.archive.ubuntu.com precise/multiverse i386 Packages
> 406 Not Acceptable [IP: 141.30.13.20 80]

de.archive.ubuntu.com is made up of three servers, one of which is
broken.

I'd like to retract my last statement, since apt-get update yields:

W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-i386/Packages 406 Not Acceptable [IP: 141.30.13.10 80]

then trying to fetch the same file from the same machine (again contacting 141.30.13.10) wget yields:

$ wget -nd http://de.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-i386/Packages

--2012-03-02 18:46:54-- http://de.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-i386/Packages
Resolving de.archive.ubuntu.com (de.archive.ubuntu.com)... 141.30.13.10, 141.30.13.30, 141.30.13.20
Connecting to de.archive.ubuntu.com (de.archive.ubuntu.com)|141.30.13.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4822737 (4,6M) [application/x-bzip2]
Saving to: `Packages'

100%[============================================================================>] 4.822.737 1,64M/s in 2,8s

2012-03-02 18:46:57 (1,64 MB/s) - `Packages' saved [4822737/4822737]

So it must be something within apt-get...

Glasairman (wlk461) wrote :

Just had the same problem on the German mirror . I simply switched to the Main Server (Tab Einstellung > Software-Paketquellen Tab "Software from Ubuntu" and "Herunterladen von ...." and the problem "verschwand".

No big deal, the German mirror is screwed

Eagle (me-ngeefk4xayt3t4u9wat) wrote :
Download full text (23.6 KiB)

Though the same thing happens to me as well even though I choose different servers:

eagle@...:~$ sudo apt-get update
[sudo] password for eagle:
Ign http://mirrors.sohu.com precise InRelease
Ign http://mirrors.sohu.com precise-updates InRelease
Ign http://mirrors.sohu.com precise-backports InRelease
Ign http://mirrors.sohu.com precise-security InRelease
Ign http://mirrors.sohu.com precise-proposed InRelease
Ign http://archive.canonical.com precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Hit http://ppa.launchpad.net precise Release.gpg
Get:1 http://ppa.launchpad.net precise Release.gpg [316 B]
Hit http://mirrors.sohu.com precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://mirrors.sohu.com precise-updates Release.gpg
Hit http://mirrors.sohu.com precise-backports Release.gpg
Hit http://mirrors.sohu.com precise-security Release.gpg
Hit http://archive.canonical.com precise Release.gpg
Hit http://mirrors.sohu.com precise-proposed Release.gpg
Ign http://extras.ubuntu.com precise InRelease
Ign http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release
Hit http://archive.canonical.com precise Release
Hit http://mirrors.sohu.com precise Release
Hit http://mirrors.sohu.com precise-updates Release
Hit http://mirrors.sohu.com precise-backports Release
Hit http://extras.ubuntu.com precise Release.gpg
Get:2 http://ppa.launchpad.net precise Release [11.9 kB]
Hit http://archive.canonical.com precise/partner Sources
Hit http://mirrors.sohu.com precise-security Release
Hit http://mirrors.sohu.com precise-proposed Release
Hit http://mirrors.sohu.com precise/main Sources
Hit http://mirrors.sohu.com precise/restricted Sources
Hit http://mirrors.sohu.com precise/universe Sources
Hit http://mirrors.sohu.com precise/multiverse Sources
Hit http://mirrors.sohu.com precise/main i386 Packages
Hit http://mirrors.sohu.com precise/restricted i386 Packages
Hit http://mirrors.sohu.com precise/universe i386 Packages
Hit http://mir...

Eagle (me-ngeefk4xayt3t4u9wat) wrote :

Forgot to include that I use Ubuntu 12.

Julian Andres Klode (juliank) wrote :

It should try the Packages.gz and Packages.bz2 files first, and those should succeed. Somehow they don't seem to work or APT is configured to ignore them. APT then asks for the uncompressed file, which the server does not have. The server then wants to be clever and offer you Packages.bz2 instead, but APT told it that it wants an uncompressed file at that point, so the server answers "I cannot send this file to you uncompressed".

* Julian Andres Klode <email address hidden>:
> It should try the Packages.gz and Packages.bz2 files first, and those
> should succeed. Somehow they don't seem to work or APT is configured to
> ignore them.

How would one check for that?

> APT then asks for the uncompressed file, which the server does not
> have. The server then wants to be clever and offer you Packages.bz2
> instead, but APT told it that it wants an uncompressed file at that
> point, so the server answers "I cannot send this file to you
> uncompressed".

cd311 (cd311) wrote :

here are some contact information for the server
https://launchpad.net/ubuntu/+mirror/ubuntu.mirror.tudos.de-archive

I just dropped a line to the owner.
hopefully this problem will be solved.

dorpm (dorpmueller) wrote :
Download full text (13.0 KiB)

Similar problem here:

Ign http://archive.canonical.com precise InRelease
Ign http://security.ubuntu.com precise-security InRelease
Ign http://de.archive.ubuntu.com precise InRelease
Ign http://de.archive.ubuntu.com precise-updates InRelease
Ign http://de.archive.ubuntu.com precise-backports InRelease
Ign http://extras.ubuntu.com precise InRelease
Treffer http://archive.canonical.com precise Release.gpg
Holen: 1 http://security.ubuntu.com precise-security Release.gpg [198 B]
Holen: 2 http://de.archive.ubuntu.com precise Release.gpg [198 B]
Treffer http://extras.ubuntu.com precise Release.gpg
Treffer http://archive.canonical.com precise Release
Holen: 3 http://de.archive.ubuntu.com precise-updates Release.gpg [198 B]
Holen: 4 http://security.ubuntu.com precise-security Release [49,6 kB]
Treffer http://extras.ubuntu.com precise Release
Holen: 5 http://de.archive.ubuntu.com precise-backports Release.gpg [198 B]
Holen: 6 http://de.archive.ubuntu.com precise Release [49,6 kB]
Treffer http://archive.canonical.com precise/partner Sources
Treffer http://extras.ubuntu.com precise/main amd64 Packages
Treffer http://archive.canonical.com precise/partner amd64 Packages
Treffer http://archive.canonical.com precise/partner i386 Packages
Ign http://archive.canonical.com precise/partner TranslationIndex
Treffer http://extras.ubuntu.com precise/main i386 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Holen: 7 http://security.ubuntu.com precise-security/main Sources [6.603 B]
Holen: 8 http://de.archive.ubuntu.com precise-updates Release [49,6 kB]
Treffer http://download.virtualbox.org precise InRelease
Holen: 9 http://security.ubuntu.com precise-security/restricted Sources [14 B]
Holen: 10 http://security.ubuntu.com precise-security/universe Sources [3.146 B]
Holen: 11 http://security.ubuntu.com precise-security/multiverse Sources [696 B]
Holen: 12 http://security.ubu...

Michael Nagel (nailor) wrote :

as a temporary workaround one can switch from the german mirror to the main server

e.g. via "software centre, main menu, edit, software sources, download from"

Joachim Bauch (fancycode) wrote :

Just got the same error (12.04 from German mirror, main mirror is working fine):

W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/precise-updates/main/binary-i386/Packages 406 Not Acceptable [IP: 141.30.13.30 80]
W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/binary-i386/Packages 406 Not Acceptable [IP: 141.30.13.30 80]
W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/binary-i386/Packages 406 Not Acceptable [IP: 141.30.13.30 80]
W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/binary-i386/Packages 406 Not Acceptable [IP: 141.30.13.30 80]

david6 (andrew-dowden) wrote :

Currently getting same issue for AU (Australian) mirror, but only affecting (for me) Ubunut 'server'.

Error:

W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/source/Sources 406 Not Acceptable

Vadim Peretokin (vperetokin) wrote :

I can confirm the AU problem, getting the same thing:

W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/precise-security/universe/binary-amd64/Packages 406 Not Acceptable

Nic Robinson (nix-nixonian) wrote :

I also had 406 errors using the aarnet AU mirror. Problem resolved after the following:

Changed to the main Ubuntu repo, then ran 'apt-get update'
Changed back to aarnet, again ran 'apt-get update'

No more Error 406 (for me)

Download full text (3.8 KiB)

This problem seems to appear when a file has been partially downloaded to /var/lib/apt/lists/partial and the server does not support request ranges. Here is the error I got when running "aptitude update" and the corresponding HTTP requests / responses:

[...]
Err http://de.archive.ubuntu.com precise-updates/universe i386 Packages
  406 Not Acceptable [IP: 141.30.13.20 80]
[...]
W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/binary-i386/Packages 406 Not Acceptable [IP: 141.30.13.20 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

The HTTP requests and responses for this file are:

GET /ubuntu/dists/precise-updates/universe/binary-i386/Packages.bz2 HTTP/1.1
Host: de.archive.ubuntu.com
Connection: keep-alive
Cache-Control: max-age=0
Range: bytes=15556-
If-Range: Fri, 06 Sep 2013 23:35:00 GMT
User-Agent: Debian APT-HTTP/1.3 (0.8.16~exp12ubuntu10.12)

HTTP/1.1 416 Requested Range Not Satisfiable
Date: Sat, 07 Sep 2013 17:51:48 GMT
Connection: keep-alive
Server: ATS/3.0.5
Content-Length: 0

GET /ubuntu/dists/precise-updates/universe/binary-i386/Packages.gz HTTP/1.1
Host: de.archive.ubuntu.com
Connection: keep-alive
Cache-Control: max-age=0
Range: bytes=15556-
If-Range: Fri, 06 Sep 2013 23:35:00 GMT
User-Agent: Debian APT-HTTP/1.3 (0.8.16~exp12ubuntu10.12)

HTTP/1.1 416 Requested Range Not Satisfiable
Date: Sat, 07 Sep 2013 17:51:48 GMT
Connection: keep-alive
Server: ATS/3.0.5
Content-Length: 0

GET /ubuntu/dists/precise-updates/universe/binary-i386/Packages HTTP/1.1
Host: de.archive.ubuntu.com
Connection: keep-alive
Cache-Control: max-age=0
Accept: text/*
Range: bytes=15556-
If-Range: Fri, 06 Sep 2013 23:35:00 GMT
User-Agent: Debian APT-HTTP/1.3 (0.8.16~exp12ubuntu10.12)

HTTP/1.1 406 Not Acceptable
Date: Sat, 07 Sep 2013 17:51:48 GMT
Server: ATS/3.0.5
Alternates: {"Packages.bz2" 1 {type application/x-bzip2} {length 219035}}, {"Packages.gz" 1 {type application/x-gzip} {length 279396}}
Vary: negotiate,accept,Accept-Encoding
TCN: list
Content-Length: 576
Content-Type: text/html; charset=iso-8859-1
Age: 0
Connection: keep-alive

[... response body omitted ...]

In this case the file /var/lib/apt/lists/partial/de.archive.ubuntu.com_ubuntu_dists_precise-updates_universe_binary-i386_Packages had a size of 15557 bytes.

So I think the following thing happens: Apt finds a partially downloaded file, so it tries to continue downloading this file by sending a request with the "Range" header set. The server cannot serve this request (either because it does not support ranges or because the specified range is invalid). Thus it sends a 416 response. Now Apt makes a mistake: Instead of sending the request again without the "Range" header, it proceeds to the next file (Packages.gz after Packages.bz2 failed and finally Packages). Funnily it uses the same range there.

I think there are two bugs regarding the download of partially download files:

1) The start for the "Range" header is calculated from the file size on disk. However correct start depends on the type of the compression used. In my example, the file on disk was gzip compressed but the bzip2 version is requested fir...

Read more...

Brendan Hide (brendan-hide) wrote :

Nice analysis.

I had the same issue now - simple workaround was to empty the /var/lib/apt/lists/partial/ folder. :)

This is obviously not ideal (many end-users might not be able to figure out what to do here) and this is technically a bug in apt or Ubuntu's apt configuration.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers