DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to get the updates for Debian Sarge using apt-get but it's not working and I haven't a clue why not?
I've been trying to add the urls into the sources.list and then run the command
Code:
apt-get update
but it just sits there and does nothing. There's nothing wrong with my network/internet setup as I can view web pages with all browsers in both KDE and Gnome and also I'm 99% sure that I've added the correct URLs into the sources.list correctly and saved the file like you should. My machine is configured using DHCP.
How am I supposed to get this version of Sarge to update? Also I need to get new kernel modules for it because I'm trying to install the Nvidia driver for it but I need to do a few other things first before I can get it to work properly.
Would be very grateful if you could solve this one..
Type "nano /etc/apt/sources.list" and take a look at what you have. It should look something like:
Code:
deb ftp://ftp.debian.org/debian testing main contrib non-free
deb ftp://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
deb ftp://security.debian.org/debian-security testing/updates main contrib non-free
It is important that the syntax be correct. It is sensitive to capital/lowercase.
I just entered that into nano like you said, saved the file and then came out of it. Then I ran the apt-get update command to try and get the updates for Sarge and this is what is did:
Code:
debian:/# apt-get update
0% [Connecting to ftp.debian.org (1.0.0.0)] [Connecting to non-us.debian.org (1.0.0.0)] [Connecting to security.debian.org (1.0.
That's all it does, the cursor just sits there for ages blinking instead of connecting to the update sites. What can you suggest to overcome this problem?
Sometimes the servers are slow. Maybe you can try running "apt-get update" again and see what happens. I'm not sure what could be blocking apt from the network I just ran apt-get update a few minutes ago and the debian.org servers are working.
Sometimes the servers are slow. Maybe you can try running "apt-get update" again and see what happens. I'm not sure what could be blocking apt from the network I just ran apt-get update a few minutes ago and the debian.org servers are working.
I doubt it'd be the servers being slow, I've tried it several times over the last few days and it does nothing even though there's a good connection there. I've heard from other people who have used the same version of Sarge as me and they've had no trouble what so ever using apt-get.
That's what I mean, the servers are working for you but not for me and that's what so frustrating about this whole thing.
Quote:
No idea what's causing your problem, but have you tried using http sources instead of ftp sources?
Not really, I've only tried doing what others have suggested. It was ftp you're right but if I change the sources to http then what is the best addresses I should use in the sources.list before I try? If you can suggest something to change it to I will do and then I will try running apt-get again and post the results here...
I'm kind of new to Debian but I've worked with a few other distros before, I've never had this trouble with SuSE 9.2 so I'm not sure what to do about it, maybe if you can suggest what I need to do then I can do that, other than that I'm stuck. Maybe it's the version of Sarge I'm running that's got something wrong with it. I can tell you the URL of the site I got it from. It was from this address:
deb http://http.us.debian.org/debian testing main contrib non-free
deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free
debian:/# apt-get update
Err http://http.debian.org testing/main Packages
Temporary failure resolving 'http.debian.org'
Err http://http.debian.org testing/main Release
Temporary failure resolving 'http.debian.org'
Err http://non-us.debian.org testing/non-US/main Packages
Could not connect to non-us.debian.org:80 (1.0.0.0), connection timed out
Err http://security.debian.org testing/updates/main Packages
Could not connect to security.debian.org:80 (1.0.0.0), connection timed out
Err http://http.debian.org testing/contrib Packages
Temporary failure resolving 'http.debian.org'
0% [Connecting to http.debian.org] [Connecting to non-us.debian.org (1.0.0.0)] [Connecting to securit
Access to this forum was all done within Debian Sarge and I had no trouble communicating with this website at all. I just don't understand why it doesn't work with the apt-get command?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.