4

I'm trying to make the Update Manager work through the proxy on my ubuntu 9.10. I've tried what was suggested in this question, but the Update Manager still reports 409 conflict. Would really appreciate if anybody could help me with this.

The window manager solution turned out to simple: System->Administration->Synaptic package manager, then in the Synaptic window Settings->Preferences->Network. Manually enter the http_proxy field. And it works now. Still am curious as to how to do this from command line though.

ev-br
  • 161
  • 2 questions to make me understand your question better. 1. what is a 409 conflict ? 2. Are you unable to download packages via proxy even after creating /etc/apt/apt.conf.d/40proxy as explained in the post you have referred ? (If you clicked "Apply system-wide..." in Network Proxy after creating that file, it may get deleted) – koushik Oct 11 '10 at 13:16
  • yes, I'm unable to download packages after following your suggestions in that post. And yes, the file is there.
  • – ev-br Oct 11 '10 at 14:00
  • No, I'm unable to download packages. When I start the Update Manager, Click "check", type the password, it fails to download anything and pops up an err window "Could not download all repository indexes". There it lists individual packages, like this: "Failed to fetch http://archive.canonical.com/ubuntu/dists/karmic/partner/binary-i386/Packages.gz 409 Conflict [IP: 80]"
  • – ev-br Oct 11 '10 at 14:03
  • @Zhenya can you successfully run apt-get update from the terminal? or do you get the same HTTP 409 error? – Riccardo Murri Oct 11 '10 at 18:55
  • @Riccardo Murri: same error, Err http://archive.ubuntu.com karmic/main Packages 409 Conflict " – ev-br Oct 11 '10 at 19:37
  • @Zhenya and from the browser? Can you download the erroring URL? – Riccardo Murri Oct 11 '10 at 19:39
  • @Riccardo Murri: The browser works fine. In fact, the solution turned out to be rather simple, see the edit. Thanks for your suggestions anyway! – ev-br Oct 12 '10 at 11:48