Removing orphans may not resolve the space problem. (You would need to have a great many packages installed to occupy 12gig.) It might be informative to find out which directories are taking up the space. Enter as root:
- Code: Select all
du -akx / | sort -nr | head -n 25
This will show the size of the 25 largest directories in /, and may confirm whether or not removing packages will help to resolve the problem.
It is safe to remove orphans - provided you carefully examine the list, make sure that none of them is actually needed and that no essential packages will be removed as dependencies. The safest approach is probably to go through the list, one package at a time, and if you are sure that you don't need it remove it using:
- Code: Select all
rpm -e --nodeps packagename
Jim