LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-10-2004, 12:35 PM   #1
jackstoage
Member
 
Registered: Sep 2003
Posts: 79

Rep: Reputation: 15
rescue a botch kde installation


I missed up my kde installation on my mandrake 10.0 and now kde desktop won't load right on boot. Its totally screwed. How can I rescue it or reinstall it with the CD's?

Thanks,

Jack
 
Old 12-10-2004, 04:45 PM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
The easiest way...

[CTRL][ALT][F1]

Log in as root

kill off the DM process...

service dm stop

uninstall ALL KDE programs...

First list all installed KDE rpm's to a file...

rpm -qa > filelist.txt

Now uninstall ALL KDE programs...

rpm -e `rpm -qa | grep kde `

If it barfs, uninstall the items that it claims must be uninstalled first...

Then make sure that the above runs to completion.

Remove ALL kde related hidden files...

rm -rf ~/.kde

Also remove them for the users...

cd /home/USERNAME
rm -rf .kde

cd

Now re-install KDE

urpmi kde kdm kdenetwork

insert the disks as prompted....

WAIT 4-8 minutes AFTER it's done.

Then restart the DM...


service dm start

Log in as before.

Now you will be missing a slew of KDE applictions...

Run "install software" and SEARCH for KDE...

Install the listed programs, log out, then back in.

Done.

Another option: just re-install Mandrake altogether from scratch...
 
Old 12-12-2004, 01:31 PM   #3
jackstoage
Member
 
Registered: Sep 2003
Posts: 79

Original Poster
Rep: Reputation: 15
Thanks, I started to implement your instructions and ran into a snag at the "rpm -e `rpm -qa | grep kde `" part; said something about it not existing. The rest looked pretty long and drawn out so I decided to do an upgrade to 10.1 and see how that works.

I wanted to recover kde because I have other software that I have painfully installed over the past year I didn't want to lose. Good thing I kept notes on how I overcame my installation problems. If I go through a new install I am going to upgrade

Thanks for the advice.
jack
 
Old 12-12-2004, 02:27 PM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Eh, either you did not have KDE installed...

e.g.

rpm -qa | grep kde

does not return any result

or you mistyped.

rpm -qa

lists all install packages

|

(verticle bar) passes the result to what follows which is grep

grep looks for KDE in the names (note maybe it should have been KDE instead?) and spits out those RPM's which ONLY contain KDE in the name...


By putting it in quotes this is excuted prior to the rpm -e command and passed to it.

rpm -e

in turn gets the list of installed KDE packages and deletes them.

All of this is done in one command.
 
Old 12-16-2004, 04:49 PM   #5
jackstoage
Member
 
Registered: Sep 2003
Posts: 79

Original Poster
Rep: Reputation: 15
COOL!
 
  


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
creating rescue disks after installation Ravager Fedora 1 11-07-2004 10:57 AM
KDE 3.3 Installation inescapeableus Linux - Software 7 08-25-2004 02:05 PM
kde installation bramba Linux - Software 2 09-18-2003 09:13 AM
KDE 3.1 installation help Replicated Linux - Software 1 04-14-2003 02:08 AM
Installation/Rescue Disk Kernel mxpx_xl Linux - General 1 03-27-2002 05:21 PM

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

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