[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
If anyone comes to this bug report trying to find out why it is still broken, check for your $http_proxy, $https_proxy and $ftp_proxy being set on the machine you are trying to do updates from, these need to be unset. -- Incompatible with full URL HTTP requests from recent apt versions https://bugs.launchpad.net/bugs/46776 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
** Changed in: apt (Ubuntu) Status: Fix Committed => Fix Released -- Incompatible with full URL HTTP requests from recent apt versions https://bugs.launchpad.net/bugs/46776 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
The fixed apt-proxy has been in Ubuntu for a while now. ** Changed in: apt-proxy (Ubuntu) Status: Unconfirmed => Fix Released -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
** Changed in: apt (Debian) Status: Unconfirmed => Fix Released -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
I commited a fix that adds more careful checking for valid proxy settings to methods/http.cc. This should fix this problem in apt. I also re-assigned the debian bug to apt-setup because it writes out incorrect values. ** Changed in: apt (Ubuntu) Assignee: (unassigned) => Michael Vogt Status: Confirmed => Fix Committed ** Also affects: apt-setup (upstream) Importance: Untriaged Status: Unconfirmed -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
IMHO it is apt-setup that is setting Acquire::http::Proxy to a incorrect value. If no proxy is used apt-setup should just not write this entry. -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
** Bug 55813 has been marked a duplicate of this bug -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: [Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
Michael Vogt wrote: > Could you please check via "apt-config dump" if your http proxy is set > to "false" ? > > it is. see attached. APT ""; APT::Architecture "i386"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Periodic ""; APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Download-Upgradeable-Packages "0"; APT::Periodic::AutocleanInterval "0"; APT::Archives ""; APT::Archives::MaxAge "30"; APT::Archives::MinAge "2"; APT::Archives::MaxSize "500"; APT::Authentication ""; APT::Authentication::TrustCDROM "true"; Dir "/"; Dir::State "var/lib/apt/"; Dir::State::lists "lists/"; Dir::State::cdroms "cdroms.list"; Dir::State::userstatus "status.user"; Dir::State::status "/var/lib/dpkg/status"; Dir::Cache "var/cache/apt/"; Dir::Cache::archives "archives/"; Dir::Cache::srcpkgcache "srcpkgcache.bin"; Dir::Cache::pkgcache "pkgcache.bin"; Dir::Etc "etc/apt/"; Dir::Etc::sourcelist "sources.list"; Dir::Etc::sourceparts "sources.list.d"; Dir::Etc::vendorlist "vendors.list"; Dir::Etc::vendorparts "vendors.list.d"; Dir::Etc::main "apt.conf"; Dir::Etc::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Bin ""; Dir::Bin::methods "/usr/lib/apt/methods"; Dir::Bin::dpkg "/usr/bin/dpkg"; aptitude ""; aptitude::Keep-Unused-Pattern "^linux-image.*$ | ^linux-restricted-modules.*$"; Unattended-Upgrade ""; Unattended-Upgrade::Allowed-Origins ""; Unattended-Upgrade::Allowed-Origins:: "Ubuntu dapper-security"; DPkg ""; DPkg::Pre-Install-Pkgs ""; DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true"; DPkg::Post-Invoke ""; DPkg::Post-Invoke:: "if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi"; Acquire ""; Acquire::http ""; Acquire::http::Proxy "false"; -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
Could you please check via "apt-config dump" if your http proxy is set to "false" ? -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
** Changed in: apt (Debian) Status: Unknown => Unconfirmed -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
The problem seems in fact to be with apt; it should be fixed there rather than hacked around in apt-proxy. ** Changed in: apt-proxy (Ubuntu) Sourcepackagename: apt-proxy => apt Importance: High => Medium Status: In Progress => Confirmed ** Bug watch added: Debian Bug tracker #378868 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=378868 ** Also affects: apt (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=378868 Importance: Unknown Status: Unknown -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
** Changed in: apt-proxy (Debian) Status: Fix Committed => Fix Released -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
** Changed in: apt-proxy (Debian) Status: Unconfirmed => Fix Committed -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
I noticed the problem as well, and changed my apt.conf to reflect the changes posed by cvrse. This was on a fresh install of Dapper (server cd). Apt-proxy wasn't working even for the local machine. Once I changed the apt.conf, all was good. -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
I'm a bit mystified by this problem; I'd like to hear an opinion from upstream (the bug has been forwarded to bugs.debian.org) before changing it in Dapper. -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
Hi, I tried the hint by cvrse first, it worked with an old Breezy installation (to make upgrade to dapper) but did not work on a fresh Dapper installation. Had to apply the forementioned patch to apt_proxy.py to have it work correctly on Dapper too -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
** Changed in: apt-proxy (Debian) Status: Unknown => Unconfirmed -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
i had the same problem and all it took to fix was changing a line in /etc/apt/apt.conf back to the breezy default. ie. Acquire::http::Proxy "false"; to AcquireProxy "false"; -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: [Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
On Fri, Jul 14, 2006 at 11:16:06AM -, Mark Howard wrote: > How did you perform the check? Adding a simple print statement to the part > of the code which is touched in the patch shows the full url here (no > other proxies or apt.conf settings). Note that this is only for cases > where apt and apt-proxy are running on different machines. Local > instances do seem to have just the path (and hence work unmodified). I used a packet sniffer to examine the HTTP session. As I mentioned, I don't use apt-proxy; if this behaviour only appears when talking to apt-proxy, it's probably an issue with that, rather than with apt. At any rate, I'm happy for MOTU to make the call on this patch, since apt-proxy is in universe. -- - mdz -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: [Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
On Fri, Jul 14, 2006 at 11:03:56AM -, Robert Sander wrote: > apt is not configured to use a specific web-proxy but there is a > transparent squid running in between the client and the apt-proxy > server. In that case, the request is coming from squid, and not from apt at all. However, I use squid as well (non-transparent and without apt-proxy), and I still can't reproduce the behaviour described here. It still does a standard GET with a path and not a URL. Which version of squid are you using? -- - mdz -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
Matt, How did you perform the check? Adding a simple print statement to the part of the code which is touched in the patch shows the full url here (no other proxies or apt.conf settings). Note that this is only for cases where apt and apt-proxy are running on different machines. Local instances do seem to have just the path (and hence work unmodified). -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
apt is not configured to use a specific web-proxy but there is a transparent squid running in between the client and the apt-proxy server. -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
I've checked just now, and Dapper's apt sends GET , not GET , same as Debian's. I'd be quite surprised if anyone made an explicit change like that anyway. Do you have apt configured to talk to a proxy via apt.conf perhaps? -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
This debdiff contains Mark Howard's patch stripping the protocol/host:port to work with Ubuntu's apt, which sends full URL HTTP requests. ** Changed in: apt-proxy (Ubuntu) Importance: Critical => High Status: Confirmed => In Progress -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
** Bug watch added: Debian Bug tracker #374405 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374405 ** Also affects: apt-proxy (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374405 Importance: Unknown Status: Unknown -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
Same error. Works for me too. Thanks Mark. -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 46776] Re: Incompatible with full URL HTTP requests from recent apt versions
Hello all, i had the same error listed in this bug and the patch worked fine to me too... thanks. -- Incompatible with full URL HTTP requests from recent apt versions https://launchpad.net/bugs/46776 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs