LinuxQuestions.org
Visit Jeremy's Blog.
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 08-13-2009, 11:04 AM   #1
mmoose68
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Rep: Reputation: 0
Cannot install X11


Alright, I need to install X11 on my Debian. I run apt-get update and it seems to work alright except it does throw a few "Couldnt stat source package list".
When I run apt-get install x11-common, it says "unmet dependencies".
I then try apt-get -f install because it tells me to. It says "couldn't stat source package list try apt-get update". Well, doing that throws me into this big loop.
So, I then tried apt-get dist-upgrade. I get again, "couldn't stat source package list try apt-get update".

Any ideas? I am going in circles. Thanks.
 
Old 08-13-2009, 11:19 AM   #2
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
may be u should add some sources to /etc/apt/sources.list file or comment the url that arent working..just read it..its self explanatory..
 
Old 08-13-2009, 11:26 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Does the connection works?
Did you do a network install?
 
Old 08-13-2009, 01:15 PM   #4
mmoose68
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Original Poster
Rep: Reputation: 0
I am connected to the internet. Here is my sources.list file:

deb ftp://ftp.us.debian.org/debian/ testing main contrib non-free
deb-src ftp://ftp.us.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org etch/updates main contrib non-free
 
Old 08-13-2009, 01:20 PM   #5
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
try googling for more debian sources.try this link..it might help.

http://www.geocities.com/reverendsky/sourceslist.txt
 
Old 08-13-2009, 01:29 PM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
try
apt-get install xorg
 
Old 08-13-2009, 01:45 PM   #7
mmoose68
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Original Poster
Rep: Reputation: 0
install xorg did not work.

I changed my sources.list:
#Stable
deb http://http.us.debian.org/debian/ stable main contrib non-free
#Stable Sources
deb-src http://http.us.debian.org/debian/ stable main contrib non-free
#Security Updates Stable
deb http://security.debian.org/ stable/updates main contrib non-free

Now when I run apt-get install x11-common, I get

x11-common is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
libxpm4: Depends: xfree86-common but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

apt-get -f install fails
 
Old 08-13-2009, 01:50 PM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
you did apt-get update?
apt-get install xserver-xorg
 
Old 08-13-2009, 02:05 PM   #9
mmoose68
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Original Poster
Rep: Reputation: 0
I did apt-get update and then apt-get xserver-xorg. The first (update) is successful but then the xserver-xorg says unmet dependencies.
 
Old 08-13-2009, 02:13 PM   #10
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Jessie Amd64
Posts: 1,477

Rep: Reputation: Disabled
I'm assuming you have a minimal install,a basic system with just the command line?.
Can you try:

apt-get install xserver-xorg-core xserver-xorg xorg

See how that goes.
Although i'm slightly worried by your previous contents of xorg.conf.
Did you update any packages while your apt sources were pointing to Testing?
 
Old 08-13-2009, 02:17 PM   #11
mmoose68
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Yes, I am running a minimal install with no GUI. I very well could have updated when having 'testing' sources. I tried that command and still am getting "unmet dependencies"
Thanks.
 
Old 08-13-2009, 02:18 PM   #12
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Jessie Amd64
Posts: 1,477

Rep: Reputation: Disabled
Also you will need some kind of desktop or window manager,so something like:

apt-get install xserver-xorg-core xserver-xorg xorg gdm lxde

This is what i use to install Lxde with gdm.You can change Lxde for Gnome,Kde or whatever.
 
Old 08-13-2009, 02:22 PM   #13
mmoose68
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Why do I need a window manager? I tried that command and am still getting the unmet dependencies failure.
 
Old 08-13-2009, 02:25 PM   #14
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Jessie Amd64
Posts: 1,477

Rep: Reputation: Disabled
Quote:
Originally Posted by mmoose68 View Post
Yes, I am running a minimal install with no GUI. I very well could have updated when having 'testing' sources. I tried that command and still am getting "unmet dependencies"
Thanks.
Ok,what does cat /etc/debian_version show?.

Quote:
Why do I need a window manager?
I'm assuming you are trying to get a desktop gui?
 
Old 08-13-2009, 02:29 PM   #15
mmoose68
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Original Poster
Rep: Reputation: 0
It says 3.1 Sarge.

I am not trying to run a GUI. I am trying to run gnuplot and use x11 to display the graph gnuplot outputs.

Thanks.
 
  


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
install X11 through YaST vivek rai Linux - Newbie 1 01-28-2009 05:34 AM
how to install X11 and fluxbox? azamo Linux - Desktop 2 09-02-2007 09:47 PM
X11 failed to install dotted Mandriva 6 05-07-2006 08:27 AM
FC3 install and X11 xtalman Fedora 0 01-07-2005 02:46 PM
New Debian install X11 help... DrkSn Debian 4 12-06-2004 09:55 PM


All times are GMT -5. The time now is 06:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration