apt-get/synaptic repositories problems
Hi all,
I recently installed ubuntu 7.10, I have been updating my system through apt-get and synaptic, and up until recently it was all working fine. Things are not going so good now, and i don't know what i have done? when i try to install any software through synaptic now i get this error: http://archive.canonical.com/ubuntu/...y/Release.gpg: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://archive.canonical.com/ubuntu/...ion-en_GB.bz2: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://archive.ubuntu.com/ubuntu/dis...y/Release.gpg: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://archive.ubuntu.com/ubuntu/dis...ion-en_GB.bz2: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://archive.ubuntu.com/ubuntu/dis...ion-en_GB.bz2: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://archive.ubuntu.com/ubuntu/dis...ion-en_GB.bz2: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://archive.ubuntu.com/ubuntu/dis...ion-en_GB.bz2: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://security.ubuntu.com/ubuntu/di...y/Release.gpg: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://security.ubuntu.com/ubuntu/di...ion-en_GB.bz2: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://security.ubuntu.com/ubuntu/di...ion-en_GB.bz2: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://security.ubuntu.com/ubuntu/di...ion-en_GB.bz2: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://security.ubuntu.com/ubuntu/di...ion-en_GB.bz2: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://archive.ubuntu.com/ubuntu/dis...s/Release.gpg: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://archive.ubuntu.com/ubuntu/dis...ion-en_GB.bz2: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://archive.ubuntu.com/ubuntu/dis...ion-en_GB.bz2: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://archive.ubuntu.com/ubuntu/dis...ion-en_GB.bz2: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://archive.ubuntu.com/ubuntu/dis...ion-en_GB.bz2: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://archive.ubuntu.com/ubuntu/dis...d/Release.gpg: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://archive.ubuntu.com/ubuntu/dis...ion-en_GB.bz2: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://archive.ubuntu.com/ubuntu/dis...ion-en_GB.bz2: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://archive.ubuntu.com/ubuntu/dis...ion-en_GB.bz2: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) http://archive.ubuntu.com/ubuntu/dis...ion-en_GB.bz2: Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) I don't know why i am getting this error now, as far as i know i haven't changed anything recently, or at least i don't "think" i did. Stranger things have happened though.. thanks in advance deft |
Can you please post the contents of your /etc/apt/sources.list file?
|
deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. # Line commented out by installer because it failed to verify: # deb http://gb.archive.ubuntu.com/ubuntu/ gutsy main restricted # Line commented out by installer because it failed to verify: # deb-src http://gb.archive.ubuntu.com/ubuntu/ gutsy main restricted ## Major bug fix updates produced after the final release of the ## distribution. # Line commented out by installer because it failed to verify: # deb http://gb.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted # Line commented out by installer because it failed to verify: # deb-src http://gb.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. # Line commented out by installer because it failed to verify: # Line commented out by installer because it failed to verify: # Line commented out by installer because it failed to verify: # Line commented out by installer because it failed to verify: ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. # Line commented out by installer because it failed to verify: # deb http://gb.archive.ubuntu.com/ubuntu/ gutsy multiverse # Line commented out by installer because it failed to verify: # deb-src http://gb.archive.ubuntu.com/ubuntu/ gutsy multiverse # Line commented out by installer because it failed to verify: # deb http://gb.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse # Line commented out by installer because it failed to verify: deb-src http://gb.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. This software is not part of Ubuntu, but is ## offered by Canonical and the respective vendors as a service to Ubuntu ## users. # deb http://archive.canonical.com/ubuntu gutsy partner # deb-src http://archive.canonical.com/ubuntu gutsy partner # Line commented out by installer because it failed to verify: # deb http://security.ubuntu.com/ubuntu gutsy-security main restricted # Line commented out by installer because it failed to verify: # deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted # Line commented out by installer because it failed to verify: # Line commented out by installer because it failed to verify: # Line commented out by installer because it failed to verify: # deb http://security.ubuntu.com/ubuntu gutsy-security multiverse # Line commented out by installer because it failed to verify: deb http://archive.ubuntu.com/ubuntu/ gutsy main universe restricted multiverse deb http://security.ubuntu.com/ubuntu/ gutsy-security universe main multiverse restricted deb http://archive.ubuntu.com/ubuntu/ gutsy-updates universe main multiverse restricted deb http://archive.ubuntu.com/ubuntu/ gutsy-proposed universe main multiverse restricted deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse deb http://archive.canonical.com/ubuntu feisty-commercial main |
This is what i get when i run sudo apt-get update:
sudo apt-get update Err http://archive.ubuntu.com gutsy Release.gpg Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://archive.ubuntu.com gutsy/main Translation-en_GB Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://archive.ubuntu.com gutsy/universe Translation-en_GB Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://archive.ubuntu.com gutsy/restricted Translation-en_GB Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://archive.ubuntu.com gutsy/multiverse Translation-en_GB Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://archive.ubuntu.com gutsy-updates Release.gpg Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://archive.ubuntu.com gutsy-updates/universe Translation-en_GB Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://archive.ubuntu.com gutsy-updates/main Translation-en_GB Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://archive.ubuntu.com gutsy-updates/multiverse Translation-en_GB Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://archive.ubuntu.com gutsy-updates/restricted Translation-en_GB Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://security.ubuntu.com gutsy-security Release.gpg Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://security.ubuntu.com gutsy-security/universe Translation-en_GB Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://security.ubuntu.com gutsy-security/main Translation-en_GB Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://security.ubuntu.com gutsy-security/multiverse Translation-en_GB Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://security.ubuntu.com gutsy-security/restricted Translation-en_GB Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://archive.canonical.com feisty-commercial Release.gpg Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://archive.canonical.com feisty-commercial/main Translation-en_GB Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://archive.ubuntu.com gutsy-proposed Release.gpg Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://archive.ubuntu.com gutsy-proposed/universe Translation-en_GB Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://archive.ubuntu.com gutsy-proposed/main Translation-en_GB Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://archive.ubuntu.com gutsy-proposed/multiverse Translation-en_GB Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://archive.ubuntu.com gutsy-proposed/restricted Translation-en_GB Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Err http://gb.archive.ubuntu.com gutsy-updates Release.gpg Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...es/Release.gpg Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://archive.ubuntu.com/ubuntu/dis...sy/Release.gpg Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://security.ubuntu.com/ubuntu/di...ty/Release.gpg Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://security.ubuntu.com/ubuntu/di...tion-en_GB.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://security.ubuntu.com/ubuntu/di...tion-en_GB.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://security.ubuntu.com/ubuntu/di...tion-en_GB.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://security.ubuntu.com/ubuntu/di...tion-en_GB.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://archive.ubuntu.com/ubuntu/dis...es/Release.gpg Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://archive.ubuntu.com/ubuntu/dis...ed/Release.gpg Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://archive.canonical.com/ubuntu/...al/Release.gpg Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Failed to fetch http://archive.canonical.com/ubuntu/...tion-en_GB.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) Reading package lists... Done W: Some index files failed to download, they have been ignored, or old ones used instead. lub0@lub0-desktop:~$ |
Hmm...
What happens when you try to run "apt-get update"? |
what are your proxy settings?
|
There is no proxy? I am a home user connecting directly to the internet using dsl wireless..
and all my internet and stuff works, it just appears to be apt and also my bit-torrent wont work either? |
indienick, Its the output I posted above :)
|
What does echo $http_proxy give you?
|
Quote:
Ugh - it's been a bad day. |
hehe, know what you mean mate ;)
|
does /etc/apt.conf exists?
If yes, please post its content |
Ok first up, sudo echo $http_proxy: http://localhost:4001
cat /etc/apt.conf cat: /etc/apt.conf: No such file or directory I guess that its not there :P |
Code:
unset http_proxy |
Quote:
I suggest you to do a Code:
grep -R http_proxy /etc/* Bye |
All times are GMT -5. The time now is 04:09 AM. |