LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-06-2006, 03:17 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Can't APT-GET Gnome


I am unable to use APT-GET to install GDM & GNOME on my system but if I apt-get kdm and kde, it works fine. I am trying to get Gnome installed and I keep getting the following...

Code:
gamebox:/home/carlos# apt-get install gdm gnome
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  gdm: Depends: libbonoboui2-0 (>= 2.5.4) but it is not going to be installed
       Depends: libgnome2-0 (>= 2.8.0) but it is not going to be installed
       Depends: libgnomeui-0 (>= 2.8.0) but it is not going to be installed
       Depends: libgnomevfs2-0 (>= 2.10.0-0) but it is not going to be installed
       Depends: gksu (>= 1.0.7) but it is not going to be installed
  gnome: Depends: gnome-desktop-environment (= 1:2.10.2.5) but it is not going to be installed
         Depends: gnome-office (= 1:2.10.2.5) but it is not going to be installed
         Depends: gnome-cups-manager (>= 0.30) but it is not going to be installed
         Depends: rhythmbox but it is not going to be installed
E: Broken packages
Here is my current source.list

************************

deb http://debian.csail.mit.edu/debian-amd64/debian/ testing main
deb-src http://debian.csail.mit.edu/debian-amd64/debian/ testing main

# deb http://debian.csail.mit.edu/debian-amd64/debian/ unstable main
# deb-src http://debian.csail.mit.edu/debian-amd64/debian/ unstable main

# deb http://security.debian.org/ testing/updates main

*******************************

Please help me...
 
Old 02-06-2006, 03:32 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Are there any other packages that haven't been upgraded recently or are left behind/not installed? From time to time an apt-get update && apt-get dist-upgrade has helped resolve some of my issues with testing/unstable...
 
Old 02-06-2006, 03:54 PM   #3
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
Use aptitude to figure out why it will not install those packages. Select gnome and gdm for installation with the + key. Then hit the b key to find broken packages. You should be able to figure out what is wrong. Probably dependency issues.
 
Old 02-06-2006, 04:44 PM   #4
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
I don't use or have aptitude installed...I think...
 
Old 02-06-2006, 04:47 PM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
OK - it looks like I installed "aptitude" with the following:

Code:
gamebox:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  libapt-pkg-perl localization-config
The following NEW packages will be installed:
  libsigc++-2.0-0c2a
The following packages will be upgraded:
  apt apt-utils aptitude
3 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
Need to get 4123kB of archives.
After unpacking 1667kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://debian.csail.mit.edu testing/main apt-utils 0.6.43.2 [196kB]
Get:2 http://debian.csail.mit.edu testing/main libsigc++-2.0-0c2a 2.0.16-2 [32.7                                                                             kB]
Get:3 http://debian.csail.mit.edu testing/main aptitude 0.4.1-1 [2616kB]
Get:4 http://debian.csail.mit.edu testing/main apt 0.6.43.2 [1278kB]
Fetched 4123kB in 7s (577kB/s)
(Reading database ... 16374 files and directories currently installed.)
Removing localization-config ...
Removing libapt-pkg-perl ...
(Reading database ... 16272 files and directories currently installed.)
Preparing to replace apt-utils 0.6.42.2 (using .../apt-utils_0.6.43.2_amd64.deb)                                                                              ...
Unpacking replacement apt-utils ...
Selecting previously deselected package libsigc++-2.0-0c2a.
Unpacking libsigc++-2.0-0c2a (from .../libsigc++-2.0-0c2a_2.0.16-2_amd64.deb) ..                                                                             .
Preparing to replace aptitude 0.2.15.9-7 (using .../aptitude_0.4.1-1_amd64.deb)                                                                              ...
Unpacking replacement aptitude ...
Preparing to replace apt 0.6.42.2 (using .../apt_0.6.43.2_amd64.deb) ...
Unpacking replacement apt ...
Setting up apt (0.6.43.2) ...

Setting up apt-utils (0.6.43.2) ...

Setting up libsigc++-2.0-0c2a (2.0.16-2) ...

Setting up aptitude (0.4.1-1) ...
Now I just need to learn how to use it...
 
Old 02-06-2006, 04:50 PM   #6
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You can use it just like apt-get from the command line.
 
Old 02-07-2006, 08:11 AM   #7
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by pljvaldez
You can use it just like apt-get from the command line.
I don't understand? Why can't I just apt-get gnome like I can "kdm kde"?

That installs fine on my machine but Gnome wont. Is there a source you guys know if that has all the dependancies for Gnome that I can add to my source.list?
 
Old 02-07-2006, 09:07 AM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by Carlwill
I am unable to use APT-GET to install GDM & GNOME on my system but if I apt-get kdm and kde, it works fine. I am trying to get Gnome installed and I keep getting the following...

Code:
gamebox:/home/carlos# apt-get install gdm gnome
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  gdm: Depends: libbonoboui2-0 (>= 2.5.4) but it is not going to be installed
       Depends: libgnome2-0 (>= 2.8.0) but it is not going to be installed
       Depends: libgnomeui-0 (>= 2.8.0) but it is not going to be installed
       Depends: libgnomevfs2-0 (>= 2.10.0-0) but it is not going to be installed
       Depends: gksu (>= 1.0.7) but it is not going to be installed
  gnome: Depends: gnome-desktop-environment (= 1:2.10.2.5) but it is not going to be installed
         Depends: gnome-office (= 1:2.10.2.5) but it is not going to be installed
         Depends: gnome-cups-manager (>= 0.30) but it is not going to be installed
         Depends: rhythmbox but it is not going to be installed
E: Broken packages
Here is my current source.list

************************

deb http://debian.csail.mit.edu/debian-amd64/debian/ testing main
deb-src http://debian.csail.mit.edu/debian-amd64/debian/ testing main

# deb http://debian.csail.mit.edu/debian-amd64/debian/ unstable main
# deb-src http://debian.csail.mit.edu/debian-amd64/debian/ unstable main

# deb http://security.debian.org/ testing/updates main

*******************************

Please help me...
Try apt-get -s install -t unstable gnome-desktop-environment gnome gdm gnome-office .... and just keep adding packages on to the end of the line that apt complains about when it will install without complaint remove the -s to actually install. The reason this is happening is because you have sources for both testing and unstable in your sources list so apt gets confused where you want the packages to come from when trying to install.
 
Old 02-07-2006, 11:23 AM   #9
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
The repository that you are using has everything you need to install gnome. The problem is likely that you have some package installed that conflicts with another package needed by gnome. HappyTux, he has unstable commented out in his sources.list so he is only using testing. In this case the suggestion above will not work (unless you leave out "-t unstable"). It is MUCH easier to use aptitude to find broken packages. The + key marks packages for installation, the - key marks for removal, the g key installs or uninstalls all marked packages, and the u key performs apt-get update, the b key finds broken packages. That's pretty much all you need to know.
 
Old 02-07-2006, 11:51 AM   #10
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by ssfrstlstnm
The repository that you are using has everything you need to install gnome. The problem is likely that you have some package installed that conflicts with another package needed by gnome. HappyTux, he has unstable commented out in his sources.list so he is only using testing. In this case the suggestion above will not work (unless you leave out "-t unstable"). It is MUCH easier to use aptitude to find broken packages. The + key marks packages for installation, the - key marks for removal, the g key installs or uninstalls all marked packages, and the u key performs apt-get update, the b key finds broken packages. That's pretty much all you need to know.
Ah missed that must be brain dead today. My advice stands though the packages needed are in unstable and if he/apt wants them that is where he is going to have too have them installed from.
 
  


Reply



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
apt-get install gnome Ipolit Debian 12 05-28-2005 04:40 PM
apt + Gnome 2.8 alienzero Debian 2 10-20-2004 11:42 PM
Is it possible to use apt-get install the GNOME 2.4 preswang Linux - General 1 10-11-2003 08:34 PM
apt-get gnome element Linux - Software 1 09-01-2003 04:47 PM
gnome and apt h/w Linux - Newbie 0 08-20-2003 10:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:12 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
Open Source Consulting | Domain Registration