package-cleanup
Often you see that new kernels installed and installed again and free space on the boot partition decreases. The time comes to remove old kernel packages. You can remove each single kernel package, but there is the command package-cleanup for such goals:package-cleanup --oldkernels --count=2
The command above removes old kernel packages and leaves not more than 2 ones.
package-cleanup --orphans
The command above removes packages that are not managed by all configured repositories.
package-cleanup --problems
The command above analyzes problems with for example package dependances and shows them, if any found.
show-installed
Sometimes it's very interesting, which package group and which additional packages are installed in the system. Use the command show-installed to do this. You'll get the output like this:show-installed
WARNING: The following packages are installed but not in the repository:
microsoft-hyper-v
oracle-instantclient-devel
oracle-instantclient-basic
iwl6000g2b-firmware
check_mk-agent
kmod-microsoft-hyper-v
VRTSralus
@base
-ledmon
-scl-utils
@core
# Others
VRTSralus
autofs
check_mk-agent
epel-release
gcc
iwl6000g2b-firmware
mc
microsoft-hyper-v
mod_ssl
nss-pam-ldapd
oracle-instantclient-devel
php-devel
php-domxml-php4-php5
php-gd
php-intl
php-ldap
php-mbstring
php-soap
php-xmlrpc
re2c
xfsprogs
yum-cron
# 454 package names, 123 leaves
# 2 groups, 22 leftovers, 2 excludes
# 30 lines
0 Kommentare :: Yum's additional tools
Post a Comment