LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 04-08-2009, 08:17 PM   #1
navy80
Member
 
Registered: Apr 2009
Location: Salvador, Brazil
Distribution: Ubuntu 9.10
Posts: 38

Rep: Reputation: 15
Debian Lenny: no GUI after install


Hello there,

Im a refugee from Ubuntu and would appreciate your help.

I want to install Debian with xfce. Ive installed Lenny using netinstall CD. After the first boot, I cant see any graphical interface, only a few lines apper and then I see:

(mycomputername) login:

I thought after the install I would see some GUI...

Anyway, I logged in as root and typed apt-get update, however I get a message "temporary failure", "failed to catch ..."

The content of my sources.list is:
deb http://http.br.debian.org/debian lenny/updates main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib

Any help greately apprecited and I would love to get Debian working - I dont want to come back to using Ubuntu.
 
Old 04-08-2009, 08:31 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Here's a guide to getting a "perfect" XFCE install for Etch. Just start at step 7 and ignore the fact that this is for Etch instead of Lenny. Should be about the same...

As to your other problem, can you tell if you have an internet connection? Try something like ping www.google.com. If not, you might need to do an ifup eth0 type command to bring up the network interface.

Or if you just want to reinstall, you might just download the special XFCE/LXDE install CD from here.

Last edited by pljvaldez; 04-08-2009 at 08:34 PM.
 
Old 04-08-2009, 08:33 PM   #3
Robhogg
Member
 
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 85
The message from apt-get update may be network related - have you got a network connection?

As for the GUI, what happens if you run sudo startx?

When I installed Debian on my Eee, I found myself at the command line at first. When I ran startx, I did get a GUI but with a very basic window manager. I had to install Gnome using apt-get.

It's a bit of time since I did it, but (AFAI can remember) I had to install the following packages before I had a usable desktop:
  • gdm
  • gnome-panel
  • gnome-menus
 
Old 04-08-2009, 08:48 PM   #4
navy80
Member
 
Registered: Apr 2009
Location: Salvador, Brazil
Distribution: Ubuntu 9.10
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pljvaldez View Post
Here's a guide to getting a "perfect" XFCE install for Etch. Just start at step 7 and ignore the fact that this is for Etch instead of Lenny. Should be about the same...

As to your other problem, can you tell if you have an internet connection? Try something like ping www.google.com. If not, you might need to do an ifup eth0 type command to bring up the network interface.

Or if you just want to reinstall, you might just download the special XFCE/LXDE install CD from here.
Yes, I actually followed this guide and got stuck when apt-get update didnt work.

I tried to type ping www.google.com and the screen started to be flooded with "64 bytes from www.google.com.br (64.233.163.103): icmp_seq=(rising number) ttl=(raising number) time=(raising number)

When I typed ifup eth0 it said "ifup: interface eth0 already configured"
 
Old 04-08-2009, 08:49 PM   #5
navy80
Member
 
Registered: Apr 2009
Location: Salvador, Brazil
Distribution: Ubuntu 9.10
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Robhogg View Post
The message from apt-get update may be network related - have you got a network connection?

As for the GUI, what happens if you run sudo startx?

When I installed Debian on my Eee, I found myself at the command line at first. When I ran startx, I did get a GUI but with a very basic window manager. I had to install Gnome using apt-get.

It's a bit of time since I did it, but (AFAI can remember) I had to install the following packages before I had a usable desktop:
  • gdm
  • gnome-panel
  • gnome-menus
It looks the problem is really in the network connection. How can I tell whether the network connection is up?

When I type "sudo startx" it says "command not found"

Last edited by navy80; 04-08-2009 at 09:13 PM.
 
Old 04-08-2009, 09:37 PM   #6
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
debian does not use sudo by default, you'll need to su to root - unless you run visudo and set up sudo yourself.
 
Old 04-09-2009, 08:15 AM   #7
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
su - to root then try the following commands to check your internet connection settings.

su - <enter>
password:

ifconfig -a
cat /etc/resolve.conf
route -n


Post the output here if you are not sure what you are looking at.
 
Old 04-09-2009, 08:59 AM   #8
navy80
Member
 
Registered: Apr 2009
Location: Salvador, Brazil
Distribution: Ubuntu 9.10
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by farslayer View Post
su - to root then try the following commands to check your internet connection settings.

su - <enter>
password:

ifconfig -a
cat /etc/resolve.conf
route -n


Post the output here if you are not sure what you are looking at.
Ive done what you said and posted the output onto my blog as a photo (I cant copy and paste into Windows that Im asshamedly using at the moment):

Last edited by navy80; 04-09-2009 at 09:01 AM.
 
Old 04-09-2009, 09:58 AM   #9
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Rep: Reputation: 54
The output you saw from ping-ing google.com indicates you have a working internet connection. Also, "ifconfig -a" shows that your eth0 interface has been assigned an IP address as it should.

I would suggest running apt-get update again to see if it truly is a temporary error as your error message indicated. You will need to do that as root. As others said, use "su":
Code:
su
apt-get update
apt-get dist-upgrade
If "apt-get update fails, try editing /etc/apt/sources.lst to change the sources. It looks like you are using repositories in Brazil. You might try using another source in Brazil, or try those in another country. You will also need to be root to edit the sources:
Code:
su
nano /etc/apt/sources.lst
Good luck!
 
Old 04-09-2009, 10:17 AM   #10
navy80
Member
 
Registered: Apr 2009
Location: Salvador, Brazil
Distribution: Ubuntu 9.10
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by m_yates View Post
The output you saw from ping-ing google.com indicates you have a working internet connection. Also, "ifconfig -a" shows that your eth0 interface has been assigned an IP address as it should.

I would suggest running apt-get update again to see if it truly is a temporary error as your error message indicated. You will need to do that as root. As others said, use "su":
Code:
su
apt-get update
apt-get dist-upgrade
If "apt-get update fails, try editing /etc/apt/sources.lst to change the sources. It looks like you are using repositories in Brazil. You might try using another source in Brazil, or try those in another country. You will also need to be root to edit the sources:
Code:
su
nano /etc/apt/sources.lst
Good luck!
Ive done what you suggested and still I get no joy.

I tried to change the repositories to *.us.* and also tried to change http for ftp. Still the same message "unable to fetch"...

Can I just check one thing: as Im coming from Ubuntu this is not quite clear.
When I see the login prompt, Im to type "root" and then the password, right? And then, Im to type "su" and hit the enter key, is that right?
 
Old 04-09-2009, 10:38 AM   #11
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Rep: Reputation: 54
You can log in directly as root. In that case, you won't need "su". If you enter the command "su" as root, it doesn't do anything. If you login as a regular user, the command "su" will prompt you for a password to become root.

Try using this as sources.lst:
Code:
#Debian Lenny
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
 
Old 04-09-2009, 10:53 AM   #12
navy80
Member
 
Registered: Apr 2009
Location: Salvador, Brazil
Distribution: Ubuntu 9.10
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by m_yates View Post
You can log in directly as root. In that case, you won't need "su". If you enter the command "su" as root, it doesn't do anything. If you login as a regular user, the command "su" will prompt you for a password to become root.

Try using this as sources.lst:
Code:
#Debian Lenny
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
Thank you! Done that and it looks things have moved forward.

Now, when i do apt-get update, it does download some information, but still is not able to download some packages -see the screenshot

When I try to apt-get install some packages it says "couldnt find the package".
 
Old 04-09-2009, 11:10 AM   #13
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
I wonder if this could be an ip6 issue.. Couldn't hurt to try disabling ip6 support on your Debian box..

http://www.debian-administration.org/articles/409
 
Old 04-09-2009, 11:31 AM   #14
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Rep: Reputation: 54
Quote:
Originally Posted by navy80 View Post
Thank you! Done that and it looks things have moved forward.

Now, when i do apt-get update, it does download some information, but still is not able to download some packages -see the screenshot

When I try to apt-get install some packages it says "couldnt find the package".
Hmmm...Not sure why it is connecting to http://security.debian.org but not http://ftp.us.debian.org. I'm stumped. Just for the heck of it, try changing /etc/apt/sources.lst to:
Code:
deb http://ftp.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free

Last edited by m_yates; 04-09-2009 at 11:33 AM.
 
Old 04-09-2009, 11:53 AM   #15
navy80
Member
 
Registered: Apr 2009
Location: Salvador, Brazil
Distribution: Ubuntu 9.10
Posts: 38

Original Poster
Rep: Reputation: 15
Dear all,

thank you very much for your replies. Im leaving for a short holiday now...Theres nothing more stressful than going on holiday in the middle of installation of Debian

Anyway, Ill be back on Sunday and get on with the effort to make it work.

Thanks again for your great assistance.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian/lenny: can't install proprietary ATI driver Robert S Linux - Software 5 03-24-2009 07:01 PM
LXer: How-To: Compile and Install VLC 0.9.8 in Debian Lenny LXer Syndicated Linux News 0 03-24-2009 06:00 PM
debian-lenny install cd1 not seeing network Daveb3 Linux - Networking 1 10-18-2008 03:50 AM
LXer: How-To: Compile and Install SMPlayer 0.6.2 in Debian Lenny LXer Syndicated Linux News 0 08-26-2008 02:00 PM
Wine Install - Debian Lenny (Testing) deathawaits Debian 8 08-05-2008 03:57 AM


All times are GMT -5. The time now is 04:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration