[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
I just verified that all downloads go through the proxy when using update-manager (I used a squid proxy for the verification). I strongly suspect this is a bug with apt-cacher. Please reopen if the apt-cacher logs indicate that this is not the case and attach them here. Thanks, Michael ** Changed in: apt-cacher (Ubuntu) Sourcepackagename: update-manager = apt-cacher Assignee: (unassigned) = Michael Vogt (mvo) -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
I changed the code so that the error message is clearer at least. -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
here's my workaround cp /etc/apt/sources.list /etc/apt/sources.list.backup insert=`sed -e s/^A.* \//; s/\;$// ; s,/$,, /etc/apt/apt.conf` sed -i -e s,http://,$insert/,; /etc/apt/sources.list cat /etc/apt/sources.list mv /etc/apt/apt.conf /etc/apt/apt.conf.proxy update-manager -d -c cp /etc/apt/sources.list.backup /etc/apt/sources.list mv /etc/apt/apt.conf.proxy /etc/apt/apt.conf inserts the proxy bit from apt.conf into the sources.list until update- manager is finished. -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
I have reported shemgp's fix (see bug 156070) upstream: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502985 -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
It looks to me like that there was an update to apt-cacher in Intrepid that may resolve this bug. If anybody could test a distribution upgrade using an apt-cacher server on Intrepid that would be quite helpful. Thanks in advance. ** Changed in: update-manager (Ubuntu) Status: Confirmed = Incomplete -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
When I upgrade to Intrepid after the release, I'll test that. However, I doubt whether any fix to apt-cacher can fix this bug, since apt-cacher is behaving correctly. It's update-manager that doesn't correctly handle APT's configuration option Acquire::http::Proxy. The proof is that when sources.list is modified to force use of the proxy, update-manager works. -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
The bug report that has the apt-cacher fix is bug 156070. -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
I can confirm that apt-cacher 1.6.4ubuntu1 in intrepid which includes the fix described in bug 156070 does indeed work properly as a proxy for update-manager when it's used via Acquire::http::proxy. Marking this bug as closed. ** Changed in: update-manager (Ubuntu) Status: Incomplete = Fix Released ** Changed in: update-manager (Ubuntu) Target: later = None -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
** Tags added: apt-cacher dist-upgrade distribution update-manager upgrade -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
** Changed in: update-manager (Ubuntu) Importance: Undecided = Medium Target: None = later -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
I confirm that this bug still exists in the update from Hardy to Intrepid Beta Here are the messages from console (I translated them from Italian so probably they not fully compliant with the originals): extracting 'intrepid.tar.gz' authenticate 'intrepid.tar.gz' against 'intrepid.tar.gz.gpg' exception from gpg: GnuPG exited non-zero, with code 131072 Debug information: gpg: WARNING: permissions on home directory /tmp/tmpJLrld7 are not safe gpg: unable to open /tmp/tmpJLrld7/intrepid.tar.gz.gpg gpg: verify signatures failed: error opening file -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
** Tags added: proxy -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
it is similar to apt-cacher, includes its own cache, and doesn't require changes the the client sources.list. Page you are referring to says, that client sources.list file NEEDS to be modified. Is that so? -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
Any hopes to have this fixed before 8.10 is released? I installed apt- cacher on my company's server hoping to ease the bandwidth pain during the upgrade of our ubuntu boxes. Claudio's workaround is fine, but I'd rather prefer update-manager to do the right thing by itself, instead of telling people to mess with /etc/apt/sources.list . -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
The problem seems to manifest in UpdateManager/Core/DistUpgradeFetcherCore.py , in method DistUpgradeFetcherCore.authenticate: authenticate '/tmp/tmpy-qZkJ/feisty.tar.gz' against '/tmp/tmpy- qZkJ/feisty.tar.gz.gpg' The latter does not exist on the local machine, neither in the apt- cacher cache. -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
I'll try the workaround, but this really needs to be fixed. Aptitude works from the command line. Why is update-manager reinventing the wheel in the first place? Why not let aptitude do what it's good at? Use case: I have satellite internet with an inadequate bandwidth quota. I have two machines to upgrade from Gutsy to Hardy. If I can't use apt-cacher, I'll have to wait a month between upgrades. And Hardy fixes several Gutsy bugs that are really annoying. -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
I would like to see this fixed as well... Workarounds: - maybe apt-proxy would be a workaround here for Scott and others: https://help.ubuntu.com/community/AptProxy - it is similar to apt-cacher, includes its own cache, and doesn't require changes the the client sources.list. - also, the very bandwidth constrained can also order an Alternate CD from a local supplier - this has all the .deb packages, so it can be used as a target for updates by adding it with apt-cdrom. -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
Still not fixed, upgrading from 7.10 to 8.04. What's weird is that using a proxy worked fine with the graphical updater -- this only affects my server. I have bandwidth to spare, but right now, none of the mirrors do. Oh well -- looks like that's 2 gigs more bandwidth wasted because of this bug. (Yes, I could modify my sources.list, and then modify it back later -- and I remember the GUI tool not liking a particularly different sources.list.) -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
Same here... upgrading 7.04 to 7.10 workaround remove the /etc/apt/apt.conf.d/proxy file sudo mv /etc/apt/apt.conf.d/proxy /etc/apt/apt.conf.d/proxy.old modified the /etc/apt/sources.list as explained from Claudio Satriano HTH -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
Confirmed that the workaround from Claudio Satriano with modified sources.list is a workaround for this issue. ** Changed in: update-manager (Ubuntu) Status: New = Confirmed -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
I confirm this bug on all my machines using apt-cacher 1.5.3 on a Debian Etch server and trying to upgrade the client from Feisty to Gutsy. As soon as I remove the line Acquire::http::Proxy from /etc/apt/apt.conf , the upgrade starts. -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
Can this be related to Bug #24250 ?? -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
Hmm, after further investigation, I do believe it is a proxy-related problem (see Bug #24250), not directly connected to apt-cacher. In fact, if I use a syntax like the following for all the entries in /etc/apt/sources.list: deb http://hostname:3142/it.archive.ubuntu.com/ubuntu/ feisty main where 'hostname' is the name of the apt-cacher server, the upgrade to gutsy starts and the channels are correctly updated to gutsy, like in the following: deb http://hostname:3142/it.archive.ubuntu.com/ubuntu/ gutsy main This does not fix the issue but, at least, it is a workaround to perform the upgrade using apt-cacher. -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
I forgot to say that on this machine I have apt running as a client of apt-cacher on another machine - I've only just seen this bug report so I can't retry the upgrade to Gutsy. However, here's the relevant config file from /etc/apt/apt.conf.d: Acquire::http::Proxy http://valluga:3142;; Valluga is the apt-cacher host. -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
I had exactly this problem with Xubuntu on a Feisty to Gutsy RC upgrade on Oct 15th, i.e. before 7.10 release. I tried doing sudo dbus-launch update-manager -d and so on, but nothing worked. In the end I did an aptitude dist-upgrade, which worked well - however update-manager should be fixed. I was looking for the dist-upgrade log, but /var/log/dist-upgrade is empty - not obvious which logs apply to update-manager. In fact I found it hard to find any documentation on update-manager flags - there wasn't an info or man page (I think) in Feisty, but there is now in Gutsy, which is good. -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113658] Re: When apt-cacher is used, Update-Manger fails (not #78673 duplicate)
See dist-upgrade logs attached ** Attachment added: dist-upgrade-logs.tar.gz http://librarian.launchpad.net/7592377/dist-upgrade-logs.tar.gz -- When apt-cacher is used, Update-Manger fails (not #78673 duplicate) https://bugs.launchpad.net/bugs/113658 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs