apt /usr/lib/apt/methods/http has proxy issues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apt
Description: Ubuntu 8.04
Release: 8.04
Source package is: apt-0.7.9ubuntu17
I am behind a proxy and apt /usr/lib/
This subsequently fails checksum.
Can you please apply this patch, it is just one line:
diff -r apt-0.7.
687a688,691
> // generate proper encoding
> if (Itm->Uri.
> strcat(Buf, "Accept-Encoding: gzip,deflate\r\n");
> }
It simply adds the correct Accept-Encoding header flag while requesting a .gz file. This fixes my problem and I can do a "apt-get source" from behind a proxy as well.
Changed in apt: | |
assignee: | nobody → gralco |
assignee: | gralco → nobody |
status: | New → Confirmed |
assignee: | nobody → gralco |
assignee: | gralco → nobody |
assignee: | nobody → gralco |
Changed in apt: | |
assignee: | gralco → nobody |
Changed in apt: | |
assignee: | nobody → ubuntu-kernel-team |
Changed in apt: | |
assignee: | ubuntu-kernel-team → nobody |
I am having the same problem using apt-cacher-ng, when trying to upgrade to Ubuntu 8.10 I get the following:
magicfab@andrea:~$ sudo do-release-upgrade tar.gz. gpg'
Checking for a new ubuntu release
Failed Upgrade tool signature
Done Upgrade tool
Done downloading
extracting 'intrepid.tar.gz'
authenticate 'intrepid.tar.gz' against 'intrepid.
exception from gpg: GnuPG exited non-zero, with code 131072
Debug information:
gpg: WARNING: unsafe permissions on homedir `/tmp/tmp-AFwaU'
gpg: can't open `/tmp/tmp- AFwaU/intrepid. tar.gz. gpg'
gpg: verify signatures failed: file open error
Authentication failed
Authenticating the upgrade failed. There may be a problem with the network or with the server.
magicfab@andrea:~$