LinuxQuestions.org
Help answer threads with 0 replies.
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-28-2004, 05:02 PM   #1
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,655
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
System file checker for mandrake


Hi, I've updated my mdk10.1 install, have tried a few different kernels (to see if the ati graphics would load, seems to be for r200 chips not r350) and now I find it's a bit of a mess.

is there a system file and link checker that will clean the install?

I'm using kde3.2.2 and xorg 6.8.

Any advice appreciated, thanks.
 
Old 12-28-2004, 08:44 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"is there a system file and link checker that will clean the install?"

The first thing to do is to rebuild your rpm data base to make sure it is not corrupted:

rpm --rebuilddb

I don't know of a command that will magically clean the install. apt-get might do it and then again apt-get might get part way through the job and blow up. You can use the rpm verify option to check the packages that you suspect are corrupt. You can get a list of every package on your system with:

rpm -qa | sort | less

Then you can check the ones that you may have messed up (using gimp as an example) with:

rpm -V gimp

When everything is OK rpm -V gives no messages. If you get a message then there is an error in that package's installation. You can straighten out the messed up packages by using the rpm --force option (using gimp as an example):

rpm --force -i /mnt/cdrom/packages/gimp-2.0.0-12.i586.rpm

However if the problem is mismatched version numbers among the dependencies then using --force immediately is a bad idea. If you have mismatched version numbers then find all of the mismatches and write them down. Decide what versions of which packages you need and then install the correct version of each package over the incorrect version using --force.

---------------------------
Steve Stites
 
Old 12-29-2004, 12:48 AM   #3
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,655

Original Poster
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Thanks steve, I'll look into that
 
Old 12-29-2004, 12:58 AM   #4
Dommy
Member
 
Registered: Jul 2004
Location: Canberra
Distribution: Mint 7
Posts: 204

Rep: Reputation: 30
When all else fails, do a clean install, it doesn't take that long and you know that all should work
 
Old 12-29-2004, 01:14 AM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,655

Original Poster
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
This is the cleanest install, 5 or so in the past week.

I'm dreaming of a package that will check all my links and packages to make sure that they're not corrupted. (mmmmm, dream on)

I'll keep trying....
 
Old 12-29-2004, 01:30 AM   #6
Dommy
Member
 
Registered: Jul 2004
Location: Canberra
Distribution: Mint 7
Posts: 204

Rep: Reputation: 30
Sounds like you need an ATI driver as well as a fresh install.

you could always write a script file based on Jailbait's advice
 
Old 12-29-2004, 02:01 AM   #7
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,655

Original Poster
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Synaptic does the trick. (apt-get.)

And yes, a custom kernel rebuild with ati and nforce drivers, is in dire need, and on the way.
 
  


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
file system errors mandrake 10.1 tewaru Mandriva 7 07-22-2005 05:22 PM
system file checker jessj SUSE / openSUSE 2 05-28-2005 06:04 AM
File system damage ext mandrake 10.0 and VMware gaelen Mandriva 1 04-09-2005 11:09 AM
Mandrake 10.1 boot stall on xfs file system! ffnhj Mandriva 4 12-05-2004 10:09 PM
Newbie question about the file manager system in Mandrake... ScrewMicrosoft Linux - General 7 09-29-2003 11:54 AM

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

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