APT fails to connect to any mirrors and I cannot access GUI.
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.
APT fails to connect to any mirrors and I cannot access GUI.
I just installed Debian Woody.
Problem 1: APT fails to connect to any of the mirrors (times out). I can manually go to the URL using lynx without problem.
Problem 2: When I type 'startx' or 'startkde', I get 'command not found' and when I type 'init 5,' a message comes on that says 'switching to run level 5' but nothing changes, it's still at the command prompt. The install disk said that KDE and GNOME were going to be installed.
Maybe try apt-get xwindow system or apt-get gnome or kde using cd as source just to make sure it is installed. Or maybe do as seporo says and install debian, unless you have a good reason not to.
1. How does your /etc/apt/sources.list file look like?
2. Debian doesn't use runlevels like e.g. RedHat does. "Everything" runs in runlevel 2 already. Runlevels 3, 4 and 5 doesn't do anything additional.
If you wish to restart the display manager (kdm, gdm, xdm, ...), execute /etc/init.d/kdm restart (replace kdm with gdm or xdm in that command if it is one of those you use)
If X isn't installed (or not quite properly as can happen when installing Debian 3.0 'woody'), execute apt-get install x-window-system
And for desktop/workstation purposes it is recommended currently to use Debian testing ('sarge') instead of that nearly three year old Debian 3.0 ('woody').
The question is what your /etc/apt/sources.list looks like? That should determine why it can not connect. But everyone else who has stated it is correct, Debian Sarge is about to go stable, so there is really no reason to stay with Woody, it's ancient.
Originally posted by dastrike 2. Debian doesn't use runlevels like e.g. RedHat does. "Everything" runs in runlevel 2 already. Runlevels 3, 4 and 5 doesn't do anything additional.
Wow, I've been using Debian for well over 2 years now and I never knew that!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.