LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-29-2007, 04:26 AM   #1
jaggy00
LQ Newbie
 
Registered: Jan 2007
Distribution: CentOS & Fedora Core
Posts: 25

Rep: Reputation: 15
rpm -Va : package verification


I have problem with that rpm -V what does the all dots output mean?

........ /usr/X11R6/bin/mkfontscale


or what is the 'd' character in following line stand for?

........ d /usr/share/doc/libfontenc-1.0.1/README

could not find any info in the manual.
 
Old 04-29-2007, 05:13 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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
The "d" indicates the README is a document file. The dots indicate that the tests passed.
Code:
sudo rpm -qV glibc
S.5....T  c /etc/ld.so.conf
In the above example, the size (S), the md5sum (5) and the mtime (T) differ.
This is OK because I edited this file myself to add library paths.

Last edited by jschiwal; 04-29-2007 at 05:19 AM.
 
Old 04-29-2007, 09:21 AM   #3
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Moved: This thread is more suitable in Linux - Software and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 05-02-2007, 05:02 AM   #4
jaggy00
LQ Newbie
 
Registered: Jan 2007
Distribution: CentOS & Fedora Core
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal
The dots indicate that the tests passed.
In other words is it ok to have all dots? And there is nothing changed in the file that has all dots? I thought rpm -Va just omits such files and shows only changed ones. Am I wrong?
 
Old 05-02-2007, 05:29 AM   #5
fooks
Member
 
Registered: Jan 2007
Location: Ukraine
Posts: 47

Rep: Reputation: 15
yes, indeed.

Having all dots in rpm -V report is ok, and rpm -Va shows only changed attributes.
 
  


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
What is difference between an i386 rpm and an i686 rpm package? rajat Linux - Software 2 03-25-2007 10:55 PM
Removing an RPM package from within another RPM package jimwelc Linux - Software 7 05-12-2006 02:13 PM
rpm gpg verification problem pcwulf Linux - General 3 12-14-2004 12:31 PM
verification of package *blah* failed FunkyRes Debian 4 03-30-2004 12:40 AM
can reinstall the rpm package without delete the rpm package eye Red Hat 1 10-20-2003 07:53 AM


All times are GMT -5. The time now is 03:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration