Gentoo Portage Tools




portage-check-files  -  portage-config  -  portage-list-testing  -  portage-slotcheck  -  portage-upgrade



portage-upgrade

portage-upgrade finds all installed packages for which an upgraded versions exists in Portage. This can be limited to examining only stable ("x86") packages, or can consider testing ("~x86") packages too.

Parameters: See portage-upgrade --help



portage-slotcheck

portage-slotcheck lists all packages for which multiple versions ("slots") are installed.

Parameters: See portage-slotcheck --help



portage-list-testing

portage-list-testing quickly and easily lists all of the installed testing ("~x86") packages currently installed.

Parameters: None



portage-config

portage-config prints out any help messages contained within the pkg_postinst section of an eBuild, and will also report if a pkg_config section exists. It does this by parsing the eBuild file rather than directly executing it, so no code eBuild will be executed - making this utility totally save. The intended use is for when multiple eBuilds have been merged at once, to check if additional configuration is required.

Parameters: package, category/package, or blank to report on all installed eBuilds



portage-check-files

This script will examine all of the files that all of the installed eBuilds use, and report any that are missing. Optionally, missing files can be searched for to determine whether they've just changed location. Commonly missing files (.keep, foreign manpages, locale files, etc.) are not reported by default.

Parameters: See portage-check-files --help
--command can be used to choose between using epm, qpkg (not recommended), or equery (current release aborts on missing packages)
Todo: Add ability to verify MD5 sums