Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
Re: [SLE] rpm -qf saying file doesnot belong to any package ??
  • From: Leendert Meyer <leen.meyer@xxxxxxx>
  • Date: Thu, 20 Apr 2006 09:42:54 +0200
  • Message-id: <200604200942.54459.leen.meyer@xxxxxxx>
On Thursday 20 April 2006 09:27, Digvijoy Chatterjee wrote:
> Is there a way to find package names using some other rpm switch when
> -qf doesnot work ? for example
> linux:~ # rpm -qf /etc/sysconfig/security
> file /etc/sysconfig/security is not owned by any package

Files in the /etc/sysconfig directory are a special case. Try:

rpm -qf /var/adm/fillup-templates/sysconfig.security

...
> I have made changes in the /etc/sysconfig /security file

Didn't you make a backup? ;)

> but nothing shows here  ,how do i know which rpm it belongs to , it came
> with the install,

It is typical (and confusing) for files that are created /during/
installation.

> I did not create it.

rpm did.

Cheers,

Leen

< Previous Next >
References