rpm -Va returns unknown attribute

Support for security such as Firewalls and securing linux
Post Reply
MartinR
Posts: 714
Joined: 2015/05/11 07:53:27
Location: UK

rpm -Va returns unknown attribute

Post by MartinR » 2019/04/04 17:41:53

Running rpm -Va on my machine returns precisely one file with the attribute "n". man rpm doesn't list what "n" means, does anyone here know?

MartinR
Posts: 714
Joined: 2015/05/11 07:53:27
Location: UK

Re: rpm -Va returns unknown attribute

Post by MartinR » 2019/06/07 09:14:04

Code: Select all

# rpm -Va
  ...
  n /etc/amanda/DailySet1/label-templates
  ...

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: rpm -Va returns unknown attribute

Post by TrevorH » 2019/06/07 10:41:47

Does it actually appear on a separate line like that?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

MartinR
Posts: 714
Joined: 2015/05/11 07:53:27
Location: UK

Re: rpm -Va returns unknown attribute

Post by MartinR » 2019/06/07 12:50:49

Sorry, I cut that from a report. The actual line is:

Code: Select all

missing   n /etc/amanda/DailySet1/label-templates
There are 28 "missing" lines in total, all the others have either no attribute or else one that is documented:

Code: Select all

missing     /var/log/vbox
missing   c /etc/ganglia/conf.d/multicpu.conf
for example. If it helps, label-templates is a directory, but then so is /etc/amanda/DailySet1 which has no attribute.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: rpm -Va returns unknown attribute

Post by TrevorH » 2019/06/07 13:05:10

Ah, so 'n' is a type of file not an attribute. If it was 'c' then it would be a config file, 'd' for doc, 'n' for...

And, no, don't know either.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

MartinR
Posts: 714
Joined: 2015/05/11 07:53:27
Location: UK

Re: rpm -Va returns unknown attribute

Post by MartinR » 2019/06/07 13:09:04

Err, the man page says:

Code: Select all

       The format of the output is a string of 9 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.
which is why I called it an attribute. Mind, in order to confuse poor users the man page then refers to the tests comparing attributes, so all is as clear as mud!

Post Reply