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

is there a way to do this with RPM



hi. i'm trying to clean up my system and was wondering is there was a way
through rpm (or some homebrew script someones made) to compare the files
installed on my system vs ones the rpm database contains to see what has
been build from source and not via rpm. preferably whatever method that
would do this would be able to exclude certain directories at runtime
(like /oracle and /home for instance). i have a few ideas on how i might
be able to do this, but figured why reinvent the wheel? :)

my idea:
- use updatedb to make the slocate database with only the directories i
want
- rpm -qal > some.file to get a listing of those files my system thinks
are installed
- compare the slocate database to the some.file generated above

anyone else?

-adam



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