[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with apt-get --



Dear Liam,

>Probably one of your configuration files was replaced during the upgrade. The original will have been preserved with the extension
>.dpkg-old.
I installed the OS again, did not upgrade it.
 
>You might also add:
>export ftp_proxy=$http_proxy

Ok.

But now there is a slight problem, when ever I use "sudo apt-get update",
 it does not work. but if I become root first, using "su", and then so the same thing, it works.
I tried closing all the terminals and opening them again, didn't work.
Here is the output, first in normal user and then as root.

prakhar@ibab-stud021:~$ sudo apt-get update
Err http://volatile.debian.org lenny/volatile Release.gpg
Cannot initiate the connection to volatile.debian.org:80 (2001:858:2:2::2). - connect (101 Network is unreachable) [IP: 2001:858:2:2::2 80]
Err http://volatile.debian.org lenny/volatile/main Translation-en_IN
Cannot initiate the connection to volatile.debian.org:80 (2001:858:2:2::2). - connect (101 Network is unreachable) [IP: 2001:858:2:2::2 80]
Err http://volatile.debian.org lenny/volatile/contrib Translation-en_IN
Cannot initiate the connection to volatile.debian.org:80 (2001:858:2:2::2). - connect (101 Network is unreachable) [IP: 2001:858:2:2::2 80]
Ign http://volatile.debian.org lenny/volatile Release
Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
Ign http://volatile.debian.org lenny/volatile/contrib Packages/DiffIndex
Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex
Ign http://volatile.debian.org lenny/volatile/contrib Sources/DiffIndex
Ign http://volatile.debian.org lenny/volatile/main Packages
Ign http://volatile.debian.org lenny/volatile/contrib Packages
Ign http://volatile.debian.org lenny/volatile/main Sources
Ign http://volatile.debian.org lenny/volatile/contrib Sources
Ign http://volatile.debian.org lenny/volatile/main Packages
Ign http://volatile.debian.org lenny/volatile/contrib Packages
Ign http://volatile.debian.org lenny/volatile/main Sources
Ign http://volatile.debian.org lenny/volatile/contrib Sources
Err http://volatile.debian.org lenny/volatile/main Packages
Cannot initiate the connection to volatile.debian.org:80 (2001:858:2:2::2). - connect (101 Network is unreachable) [IP: 2001:858:2:2::2 80]
Err http://volatile.debian.org lenny/volatile/contrib Packages
Cannot initiate the connection to volatile.debian.org:80 (2001:858:2:2::2). - connect (101 Network is unreachable) [IP: 2001:858:2:2::2 80]
Err http://volatile.debian.org lenny/volatile/main Sources
Cannot initiate the connection to volatile.debian.org:80 (2001:858:2:2::2). - connect (101 Network is unreachable) [IP: 2001:858:2:2::2 80]
Err http://volatile.debian.org lenny/volatile/contrib Sources
Cannot initiate the connection to volatile.debian.org:80 (2001:858:2:2::2). - connect (101 Network is unreachable) [IP: 2001:858:2:2::2 80]
23% [Connecting to http.us.debian.org (35.9.37.225)] [Connecting to security.debian.org (195.20.242.89)]^C

prakhar@ibab-stud021:~$ su
Password:
ibab-stud021:/home/prakhar# apt-get update
Get:1 http://http.us.debian.org lenny Release.gpg [1033B]
Get:2 http://security.debian.org lenny/updates Release.gpg [835B]
Get:3 http://volatile.debian.org lenny/volatile Release.gpg [481B]
Ign http://http.us.debian.org lenny/main Translation-en_IN
Ign http://security.debian.org lenny/updates/contrib Translation-en_IN
Ign http://http.us.debian.org lenny/contrib Translation-en_IN
Ign http://security.debian.org lenny/updates/non-free Translation-en_IN
Ign http://volatile.debian.org lenny/volatile/main Translation-en_IN
Ign http://http.us.debian.org lenny/non-free Translation-en_IN
Ign http://security.debian.org lenny/updates/main Translation-en_IN
Ign http://volatile.debian.org lenny/volatile/contrib Translation-en_IN
Hit http://http.us.debian.org lenny Release
Hit http://security.debian.org lenny/updates Release
Hit http://volatile.debian.org lenny/volatile Release
Ign http://http.us.debian.org lenny/main Packages/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex
Ign http://http.us.debian.org lenny/contrib Packages/DiffIndex
Ign http://security.debian.org lenny/updates/non-free Packages/DiffIndex
Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
Ign http://http.us.debian.org lenny/non-free Packages/DiffIndex
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Ign http://volatile.debian.org lenny/volatile/contrib Packages/DiffIndex
Hit http://http.us.debian.org lenny/main Packages
Hit http://security.debian.org lenny/updates/contrib Packages
Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex
Hit http://http.us.debian.org lenny/contrib Packages
Hit http://security.debian.org lenny/updates/non-free Packages
Ign http://volatile.debian.org lenny/volatile/contrib Sources/DiffIndex
Hit http://http.us.debian.org lenny/non-free Packages
Hit http://security.debian.org lenny/updates/main Packages
Hit http://volatile.debian.org lenny/volatile/main Packages
Hit http://volatile.debian.org lenny/volatile/contrib Packages
Hit http://volatile.debian.org lenny/volatile/main Sources
Hit http://volatile.debian.org lenny/volatile/contrib Sources
Fetched 2349B in 5s (425B/s)
Reading package lists... Done

--
Prakhar Gaur

Reply to: