Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-15-2006, 02:04 PM
|
#1
|
Member
Registered: Aug 2004
Location: Ne
Distribution: slackware 12 on Dell XPS m1710
Posts: 90
Rep:
|
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!
|
|
|
04-15-2006, 02:29 PM
|
#2
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
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.
|
|
|
04-15-2006, 03:56 PM
|
#3
|
Member
Registered: Aug 2004
Location: Ne
Distribution: slackware 12 on Dell XPS m1710
Posts: 90
Original Poster
Rep:
|
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?
|
|
|
04-15-2006, 11:44 PM
|
#4
|
Member
Registered: Aug 2004
Location: Ne
Distribution: slackware 12 on Dell XPS m1710
Posts: 90
Original Poster
Rep:
|
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.
|
|
|
04-16-2006, 05:47 AM
|
#5
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
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 
|
|
|
04-16-2006, 04:08 PM
|
#6
|
Member
Registered: Aug 2004
Location: Ne
Distribution: slackware 12 on Dell XPS m1710
Posts: 90
Original Poster
Rep:
|
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!
|
|
|
04-18-2006, 03:33 AM
|
#7
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 04:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|