Warning Livedoc is no longer being updated and will be deprecated shortly. Please refer to https://documentation.tjhsst.edu.

Difference between revisions of "Gentoo Update Guide"

From Livedoc - The Documentation Repository
Jump to: navigation, search
(outline and some initial content)
(No difference)

Revision as of 00:35, 27 January 2015

Summary

This article will cover the basic process for updating a CSL System running Gentoo Linux. This does not cover kernel updates which are generally handled separately.

Preparation

You will need root access to the system you are planning to update. You should also schedule appropriate downtime when updating production services.

Portage Tree Update

The portage tree contains all of the packages and versions available to the system. It (and any installed overlays) will need to be updated prior to updating the system software. On CSL systems, this can easily be done with the following command:

 emerge --sync

Software Updates

Updating all installed software on a Gentoo system is done with the following command:

 emerge -auND @world

This command will probably think for quite a long time and then spit out a (potentially long) list of updates it wishes to apply.

Resolving Keywording Issues

Use Flag Issues

Package Masking Issues

Cleaners

perl-cleaner

python-updater

haskell-updater

Preserved Rebuild

Depclean

revdep-rebuild