LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-15-2006, 02:04 PM   #1
drlouis
Member
 
Registered: Aug 2004
Location: Ne
Distribution: slackware 12 on Dell XPS m1710
Posts: 90

Rep: Reputation: 15
X wont launch after botched pkg install


I had my Slackware 10.2 system coming along nicely, finally had ATI drivers installed etc. Then I went and tried to update GIMP to the newest version with the package from slackware.com which left me needing a library I apparently didn't have yet. So back to slackware.com found the lib in another package. before I was done I'd installed about 5 packages to get everything. But then the theme I used in KDE wasn't working right. I typed pkgtool and looked at the installed packages. I noticed I had duplicates of the packages I'd just installed (one with the old version number, one with the new). So went back and (as best I could remember (should have written them down) I uninstalled them. But it didnt't make any difference in the theme not working. Since it was getting late, I decided to work on getting that fixed the next day. I shut down, and the next day I boot up and get the following error:
Code:
/opt/kde/bin/kdm: error while loading shared libraries: libXau.so.6: cannot open shared object file: 
no such file or directory.
so my question is: how hard will this be to fix, and if it's going to be a major job, is it possible to simply re-install X from the CD?

I'd prefer to fix it if I can. 1) because I know I'll learn more that way, and 2) I have done some configuration I dont really want to have to start all over on.

If I left out anything important, please ask.

Thanks for taking the time to help!
 
Old 04-15-2006, 02:29 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
You just need to get that library back to "fix" the problem.

It doesn't appear to be included in X package from Slackware 10.2, but it's on slackware-current acording to http://slackware.com/pb

So you can get X from some mirror using wget from console or links/lynx: http://mirror.switch.ch/ftp/mirror/s...t/slackware/x/
The install with installpkg or upgradepkg, depending if you've the old version already installed.

When upgrading a package to another version, you've to use upgradepkg instead of installpkg.
 
Old 04-15-2006, 03:56 PM   #3
drlouis
Member
 
Registered: Aug 2004
Location: Ne
Distribution: slackware 12 on Dell XPS m1710
Posts: 90

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by gbonvehi
You just need to get that library back to "fix" the problem.

It doesn't appear to be included in X package from Slackware 10.2, but it's on slackware-current acording to http://slackware.com/pb

So you can get X from some mirror using wget from console or links/lynx: http://mirror.switch.ch/ftp/mirror/s...t/slackware/x/
The install with installpkg or upgradepkg, depending if you've the old version already installed.

When upgrading a package to another version, you've to use upgradepkg instead of installpkg.
Thanks. I can give that a go when I get home (full speed connection). I figured it was a matter of finding the library, but Google and the package browser werent finding me anything useful.

Honestly I'd RATHER fix the version of X I have. Is there a way to see what packages I tried to install so I can undo the damage? or am I simply stuck either upgrading to the newer version, or starting over from scratch?
 
Old 04-15-2006, 11:44 PM   #4
drlouis
Member
 
Registered: Aug 2004
Location: Ne
Distribution: slackware 12 on Dell XPS m1710
Posts: 90

Original Poster
Rep: Reputation: 15
alright thanks for the help so far. I got home and did what you suggested gbonvehi, and it's working. My problem is the drivers for my ati radeon mobility 9700 wont work with Xorg 6.9.0 (only 6.8.0). So if anyone knows how I can get back to where I was before my misadventure with those packages I'd be very grateful. If not, I'd love to know if I can just reinstall xorg 6.8.0 and KDE back to what they were as default.

Thanks.
 
Old 04-16-2006, 05:47 AM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Well, you could revert back to Xorg 6.8.0, but you'll also have to revert back the software, because it seems the version of KDE you've is compiled against Xorg 6.9.0.
Instead of reverting KDE, you could also rebuild KDE yourself against 6.8.0. Each package of Slackware is provided with a .SlackBuild script which you can simply run to build it.
You need to download the whole directory structure with the files and run it: http://mirror.switch.ch/ftp/mirror/s...nt/source/kde/
If you know some bash stuff, you can check what .SlackBuild does for you
 
Old 04-16-2006, 04:08 PM   #6
drlouis
Member
 
Registered: Aug 2004
Location: Ne
Distribution: slackware 12 on Dell XPS m1710
Posts: 90

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by gbonvehi
Well, you could revert back to Xorg 6.8.0, but you'll also have to revert back the software, because it seems the version of KDE you've is compiled against Xorg 6.9.0.
Instead of reverting KDE, you could also rebuild KDE yourself against 6.8.0. Each package of Slackware is provided with a .SlackBuild script which you can simply run to build it.
You need to download the whole directory structure with the files and run it: http://mirror.switch.ch/ftp/mirror/s...nt/source/kde/
If you know some bash stuff, you can check what .SlackBuild does for you
Alright. 2 more questions (surprised? ) 1) Do I need to first uninstall what I have? (xorg 6.9.0 and KDE 3.5) before I re-install xorg 6.8.0? Also my internet connection has been kind of schizophrenic lately - is it possible to do this from the install CDs?

Thank you for your help so far!
 
Old 04-18-2006, 03:33 AM   #7
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
1)Yes, you need it to prevent possible library conflicts.
2)If you have source cds (3 and 4), 1 and 2 are only for binary packages.
 
  


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
Kopete Upgrade wont launch Commando464 SUSE / openSUSE 5 12-22-2004 04:25 AM
Botched RedHat 9 install Dubious1 Red Hat 5 10-31-2004 12:50 PM
Installation issues under MDK 9.2. A botched attempted harddrive install scuzzman Linux - Newbie 3 05-31-2004 10:50 PM
Kvirc wont launch gazza Linux - Newbie 0 09-09-2003 12:19 PM
Botched Netscape install!? Omega Linux - Software 3 11-06-2002 10:28 PM

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

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