filesystem cleanup in /usr would be useful

Farkas Levente lfarkas at lfarkas.org
Mon Dec 1 17:52:40 UTC 2008


hi,
after an upgrade to f10 i'd like to search for files which is on my
filesystem but now owned by any packages. i find this utility:
http://www.cpan.org/authors/id/J/JW/JWIED/rpmquery-19991213
and run by:
rpmquery --unknown --skipdir=/var --skipdir=/tmp --skipdir=/sys
--skipdir=/home
it's turn out there are hundreds of such files. what's more there are
many config, temporary or generated files under /usr eg:
/usr/share/mime/
/usr/share/texmf/web2c
/usr/share/icons
/usr/lib/openoffice.org/share/uno_packages/cache
some of the like the above remain there after the f9->f10 update but
some of them seems to be a wrong packaging and programing style (ie. put
cache and registry under /usr).
it's be useful to fix them in the packages and also in anaconda during
the update process.

ps. also would be useful to include such a small and even smarter script
in yum-utils or rpm.

-- 
  Levente                               "Si vis pacem para bellum!"




More information about the fedora-devel-list mailing list