LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-21-2003, 06:28 PM   #1
init-5
Member
 
Registered: Sep 2003
Location: SJ
Distribution: RHL 9, Solaris 9
Posts: 41

Rep: Reputation: 15
installing KDE using apt.


I am trying to instal KDE on a remote production RHL 9.0 box.

I get the following error:

[root@mydomain /]# apt-get install kde
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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
kde: Depends: arts (>= 8:1.1.2) but it is not going to be installed
Depends: kdebase (>= 6:3.1.4) but it is not going to be installed
Depends: kdelibs (>= 6:3.1.4) but it is not going to be installed
Depends: qt (>= 1:3.1.2) but it is not going to be installed
E: Broken packages



So, does this mean I cannot use APT to install KDE?
Thank You
 
Old 09-21-2003, 08:00 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"So, does this mean I cannot use APT to install KDE?"

You might try using apt to install some of the individual pieces like arts and qt first. Maybe apt can handle a series of simpler install trees.
 
Old 09-21-2003, 08:39 PM   #3
init-5
Member
 
Registered: Sep 2003
Location: SJ
Distribution: RHL 9, Solaris 9
Posts: 41

Original Poster
Rep: Reputation: 15
I tried to install the respective packages separately.
After installing all four of them separately, when i ran -


# apt-get install kde

I got the following. Note: before it used to say - "is not going to be installed", now it says the following -


The following packages have unmet dependencies:
kde: Depends: arts (>= 8:1.1.2) but 8:1.1-7 is to be installed
Depends: kdebase (>= 6:3.1.4) but 6:3.1-15 is to be installed
Depends: kdelibs (>= 6:3.1.4) but 6:3.1-12 is to be installed
Depends: qt (>= 1:3.1.2) but 1:3.1.1-6 is to be installed
E: Broken packages


What am I doing wrong here?
Thank You
 
Old 09-21-2003, 09:12 PM   #4
init-5
Member
 
Registered: Sep 2003
Location: SJ
Distribution: RHL 9, Solaris 9
Posts: 41

Original Poster
Rep: Reputation: 15
Okay the situation is as follows -

when i try to find out if kde is installed -

[root@mydomain .vnc]# rpm -qa | grep kde
lockdev-1.0.0-23
kdelibs-3.1-12
kdebase-3.1-15


So I assume, KDE is installed.
When I try to run startx I get the following error -
Quote:
[root@mydomain .vnc]# startx
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority

XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2)
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-3bigmem i686 [ELF]
Build Date: 27 February 2003
Build Host: porky.devel.redhat.com

Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Mon Sep 22 09:07:05 2003
(EE) Unable to locate/open config file
(EE) Error from xf86HandleConfigFile()

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.


XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
This I assume would be because the Linux box is a remote production box and I am using SSH to access it. The reason I want to install KDE is to use VNCSERVER.

Now I changed the xstartup file in the .vnc directory to this -

#!/bin/sh

# Red Hat Linux VNC session startup script
unset SESSION_MANAGER
exec /usr/X11R6/bin/startx
#exec /etc/X11/xinit/xinitrc



Now when I login through VNC Viewer on my windows system, I just see a grey screen with the X pointer.

I have done pretty much everything I could to figure this out.
What could be the problem here?

Thank You.
 
Old 09-21-2003, 09:21 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
The business about " is to be installed" puzzles me. Check to see if
the latest versions of arts and qt are actually installed.

If not then you may have to install them by hand using rpm. This whole thing may boil down to abandoning apt and doing it by hand.

Last edited by jailbait; 09-21-2003 at 09:24 PM.
 
Old 09-21-2003, 09:39 PM   #6
init-5
Member
 
Registered: Sep 2003
Location: SJ
Distribution: RHL 9, Solaris 9
Posts: 41

Original Poster
Rep: Reputation: 15
They are installed -


[root@mydomain kde]# rpm -qa | grep art
libart_lgpl-2.3.11-2
arts-1.1-7
redhat-artwork-0.73-1
parted-1.6.3-11
startup-notification-0.5-1
[root@mydomain kde]# rpm -qa | grep qt
qt-3.1.1-6
 
Old 09-21-2003, 10:13 PM   #7
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Ther are installed but they may not be the right versions. It looks like kde depends on newer versions than apt will install for you. Unfortunately, I'm not sure how to fix this on RH. In debian, we generally don't get this problem or if we do, it's not too hard to mess around between stable, testing and unstable to get it right. I've no idea how apt works under RH. The only thing I can suggest is:

1. Do an apt-get update
2. If that doesn't fix it, then make sure the right versions are available in the contents on your sources.list. In other words, go to those ftp/http sites and check which versions are available. Try to use the most official sources.
 
Old 09-21-2003, 10:18 PM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"Now when I login through VNC Viewer on my windows system, I just see a grey screen with the X pointer."

I think that this is what you get when you run X without running any windowmanager on top of X. Since you want KDE to be your windowmanager I think that you need to tell X that when you startx that X is to use KDE as the default windowmanager. My problem is that on your configuration I have no clue as to what to change to tell X that KDE is now the default windowmanager.
 
Old 09-21-2003, 10:19 PM   #9
init-5
Member
 
Registered: Sep 2003
Location: SJ
Distribution: RHL 9, Solaris 9
Posts: 41

Original Poster
Rep: Reputation: 15
What configuration details do you want?
 
Old 09-21-2003, 10:24 PM   #10
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"What configuration details do you want?"

I don't know. Perhaps the place to start is for you to find the startx script and see if you can figure out how X determines what window manager to use.
 
Old 09-21-2003, 10:40 PM   #11
init-5
Member
 
Registered: Sep 2003
Location: SJ
Distribution: RHL 9, Solaris 9
Posts: 41

Original Poster
Rep: Reputation: 15
Now I can't even connect to the VNC server. I had rebooted the system. And before that I had opened the ports for the vnc server. So, do the ports remain open after the reboot. This is because I cant even use Webmin.

Thank You.

ps; i'll check out the startx script next. but i think i know what i did wrong, so will just try connecting using vnc once again and then see if it still shows just the gray screen.
 
  


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
Apt doesn't like KDE DaBlade Linux - Software 9 03-29-2005 03:45 PM
APT get invocations for installing KDE theseer540 Debian 15 12-04-2004 09:25 PM
How to apt-get KDE 3.3 ? glenn69 Linux - Newbie 5 10-01-2004 01:11 PM
apt-get error installing xlibs 4.2.1-14, apt-get won't work at all now pib Debian 1 12-11-2003 12:39 AM
KDE 3 via apt-get steptrev Debian 6 09-10-2003 05:26 AM


All times are GMT -5. The time now is 11: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