Semerge is a small frontend to Sportage that allows most users to manage packages effectively on their system. It has a very similar interface to emerge.
At the moment, semerge comes as part of the sportage Gentoo package management library. Installing sportage will install semerge. In the future these two will be provided as separate packages.
Ensure that the directory /etc/sportage/databases/ exists. This is where sportage puts its package cache. Please also ensure that a virtuals file is in /etc/sportage/. This virtuals file informs semerge what packages should be installed to fulfill certain virtual dependencies and also supports versions of packages. An example is here.
Also please create a file called /etc/sportage/semerge.conf. In here place the following configuration variables. An example can be found here.
Please note that these directories and example configuration files are also included in the release in the sportage directory.
Execute with:
--help (-h) | Displays the help page. |
--sync | Update both the Portage and Sportage databases at once from an online rsync server. |
--rebuildcache | Rebuilds the internal sportage cache of Packages that are available to be installed. |
--afteremerge | Rebuilds the internal sportage cache of the Packages that are installed. |
--rebuildall (-R) | Rebuilds all the internal sportage databases. |
--search (-s) | Search all the package names and categories for [PACKAGES] |
--unmerge (-C) | Remove [PACKAGES] from the system. |
--deep (-D) | Update all the installed packages. Note, with semerge "semerge -puD" will update all packages on the system. |
--emptytree (-e) | Does not use the sportage installed packages cache when calculating dependencies for [PACKAGES]. |
--fetchonly (-f) | Only fetch [PACKAGES], install them later. |
--nodeps (-o) | Do not calculate dependencies of [PACKAGES], just install [PACKAGES] themselves. |
--oneshot | Do not put [PACKAGES] in the world file. |
--pretend (-p) | Print output showing what would happen if the operation was to go ahead. |
--searchdesc (-S) | Search package descriptions for [PACKAGES]. |
--regexp (-r) | Use regular expressions when doing a search, instead of checking if the search only contains [PACKAGES]. |
--revdep | Find out what installed packages depend on [PACKAGES]. |
--update (-u) | Update [PACKAGES]. Will remerge if [PACKAGES] are already up to date. |
--depclean | Remove all packages that are redundant on the system. This only looks to maintain the packages listed within the world file. |
--purgedist (-d) | Remove all distfiles not required by installed packages. |
This is a known bug and we aren't sure what is causing this. If someone has any theories about how we can track this bug down or fix it, please contact us as soon as possible.
Have you run semerge -R? The sportage database needs to be recreated when any of the package masking changes within semerge.conf.
Unfortunately semerge does not have the ability to check the integrity of the dependency tree when doing an update. This is a limitation of sportage and should be fixed soon.
If you want to help with the project, or have a problem and need help or anything like that, then by all means contact the maintainer at beastmcbeast at users.sourceforge.net.
The project is released under the GPL. The IPR rests with the University of Bath, England. Details can be found here.