Re: How can i find files not controlled by rpm?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 28, 2006 at 07:55:28PM -0400, Tom Hicks wrote:
> I've built an LFS system and I've installed rpm.  I've created packages for
> almost everything I have installed.  Can anyone tell me an easy way to find
> all the files on the system that rpm does not control.
> 
> I want to create a set of rpms that I can install via rpm --root to install
> a complete system.
> 
> If there isn't an easy way I'll take a hard one too I just can't come up
> with anything else than installing them to another folder and doing a diff
> but I believe parsing through the diff output would be a bitch.

The list of *owned* files can be obtained with rpm -qal.
One can query every file in the filesystem (like rpm -qf)
and grep what is not owned, but it will be much more
resource intensive than the former.

Of course, owns and controls are two different things --
symlinks in /etc/rc.d are not owned by any package but they
are still controlled by them (through scriptlets).  I doubt
these can be filtered automatically.

Yeti


--
Anonyms eat their boogers.

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux