How to run “sudo apt-get update” through proxy in commandline?

Programming Club IIT Kanpur: How can I get  updates in ubuntu 10.10?

  • I am using Ubuntu 10.10 via Vmware in windows 8. Also I am using no proxy in both virtual machine and Windows. I get this message when I run 'sudo apt-get update' - ' Some index files failed to download,they have been ignored or older ones used instead'. I can't install any software package either, I get the same message.

  • Answer:

    :-/ You are using an outdated version of ubuntu which is no longer supported, just dump it and move on to new version, or if you really want a long term support then go with one of the LTS versions. Anyways, now coming to answering your question, since ubuntu has officially stopped supporting updates for 10.10 all the mirrors out there are not gonna have the required packages, so you have only one option of setting the repo to old-releases.ubuntu.com/ubuntu in /etc/apt/sources.list (i.e. replace all the existing archive.ubuntu.com with old-releases.ubuntu.com )

Adarsh Jagannatha at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.