Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

when I try 'apt-get update' on 12.10 I get:

...

Err http://archive.ubuntu.com quantal-security/main Translation-en_US

Connection failed

Err http://archive.ubuntu.com quantal-security/main

Connection failed

...

Several times ago everything worked. I haven't changed anything since then. I didn't find the solution of the problem.

UP

yes, server is connected to the internet and available via http and ssh. Sites on the server work fine too. I just try to upgrade sevrer dists and I enter 'apt-get update' for getting fresh index. When I try to install any package I also get a problem . For example installing curl:

root@srv ~ # apt-get install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package curl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is
only available from another source

E: Package 'curl' has no installation candidate

Problem SOLVED

by commenting line:

Acquire::http::Proxy "http://server_ip:8123";

in /etc/apt/apt.conf

It is appeared after installing polipo package.

share|improve this question
Please put the Solution as an answer and select it as the accepted answer. – user68186 Dec 3 '12 at 20:15
I tried, but '8 hours' restriction not allow to make it. Maybe later – sx00 Dec 3 '12 at 20:18

closed as too localized by fossfreedom Dec 3 '12 at 20:42

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.