LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2008, 04:06 PM   #1
trailer8713
Member
 
Registered: Jun 2007
Distribution: Fedora 9
Posts: 109

Rep: Reputation: 15
fedora 8 repair damaged packages


Fedora 8 x86-64 My pc Keeps shutting down just started recently, Just as a precaution is there something I can run like on Mint that will repair broken packages if there are any. In mint it is with the add remove software. I don't see anything like that. I have the applets running monitoring hardware usage and temps. I need to check the power supply next. But just want to make sure I don't have a software problem.
Thank you
 
Old 02-08-2008, 04:07 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
You can run "rpm -qaV" to verify the installed packages.
 
Old 02-08-2008, 04:27 PM   #3
trailer8713
Member
 
Registered: Jun 2007
Distribution: Fedora 9
Posts: 109

Original Poster
Rep: Reputation: 15
How will I know if the packages are incomplete or " broken "
 
Old 02-08-2008, 05:15 PM   #4
trailer8713
Member
 
Registered: Jun 2007
Distribution: Fedora 9
Posts: 109

Original Poster
Rep: Reputation: 15
On the right hand column there are a dozen missing samba packages, a dozen missing mapping packages. some packages on the right say S.5, others with a ? what does S.5 and ? mean If this may be the problem how do I fix.
Thank you
 
Old 02-09-2008, 02:49 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
You might look in the manpages.
Code:
       The  format  of  the  output  is  a  string of 8 characters, a possible
       attribute marker:

       c %config configuration file.
       d %doc documentation file.
       g %ghost file (i.e. the file contents are not included in the package payload).
       l %license license file.
       r %readme readme file.

       from the package header, followed by the file  name.   Each  of  the  8
       characters  denotes  the  result of a comparison of attribute(s) of the
       file to the value of those attribute(s) recorded in  the  database.   A
       single "." (period) means the test passed, while a single "?" (question
       mark) indicates the test could not be performed (e.g. file  permissions
       prevent  reading).  Otherwise,  the (mnemonically emBoldened) character
       denotes failure of the corresponding --verify test:

       S file Size differs
       M Mode differs (includes permissions and file type)
       5 MD5 sum differs
       D Device major/minor number mismatch
       L readLink(2) path mismatch
       U User ownership differs
       G Group ownership differs
       T mTime differs
For a config file, the md5 sum and size will likely different do to configuration changes. If a file is missing, the word "Missing" will be printed out on the same line as the file. If there isn't a problem, there isn't a line for that file unless you also use the verbose option.

So for your example, S? would indicate that the size of the file has changed, but you don't have permission to read the file. Try to verify the packages again as root.
 
Old 02-09-2008, 10:41 AM   #6
trailer8713
Member
 
Registered: Jun 2007
Distribution: Fedora 9
Posts: 109

Original Poster
Rep: Reputation: 15
S.5..... /sbin/mpath_prio_alua
S.5..... /sbin/mpath_prio_emc
S.5..... /sbin/mpath_prio_hds_modular
S.5..... /sbin/mpath_prio_netapp
S.5..... /sbin/mpath_prio_tpc
S.5..... /sbin/multipath
S.5..... /sbin/multipathd
missing /usr/share/doc/device-mapper-multipath-0.4.7
missing d /usr/share/doc/device-mapper-multipath-0.4.7/AUTHOR
missing d /usr/share/doc/device-mapper-multipath-0.4.7/COPYING
missing d /usr/share/doc/device-mapper-multipath-0.4.7/FAQ
missing d /usr/share/doc/device-mapper-multipath-0.4.7/Multipath-usage.txt
missing d /usr/share/doc/device-mapper-multipath-0.4.7/README
missing d /usr/share/doc/device-mapper-multipath-0.4.7/multipath.conf.annotated
missing d /usr/share/doc/device-mapper-multipath-0.4.7/multipath.conf.defaults
missing d /usr/share/doc/device-mapper-multipath-0.4.7/multipath.conf.synthetic
missing /etc/cron.d/smolt (Permission denied)
..?..... /usr/bin/Xorg
..?..... /sbin/dhcp6c
I am not able to scroll thru all data, I can only go back as far as 1 st listed. However I saw other missing in Samba. Could any of this be my problem
 
Old 02-10-2008, 01:00 PM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
I don't think that a problem with samba would cause a shutdown. The most likely cause would be a hardware problem such as overheating. A memory problem might cause a lockup. You might try logging the temperature and if there is a shutdown, see it it was high.
 
  


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
Damaged packages on install of slackware 11 bookie Linux - Newbie 2 05-30-2007 09:03 AM
How to repair damaged ext2 mustangfanatic Slackware 1 01-24-2006 02:42 AM
Root partition damaged, system will not boot- How to repair? applewax Linux - General 1 05-27-2005 12:53 PM
Repair damaged /var filesystem davep911 Linux - Newbie 1 06-04-2004 09:09 AM
repair a damaged reiserfs wfettich Linux - General 2 05-21-2004 04:12 PM


All times are GMT -5. The time now is 10:00 PM.

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