Skip to main content

Gentoo Linux updater

Project description

Gentoo Updater

gentoo-update is a tool that automates updates on Gentoo Linux. By default it only installs security updates from GLSA, but it can also be used to update all packages on the system. i.e. @world.

This project originates from 2023 Google Summer of Code, more about it can be found in the blog post and Gentoo Forums.

Usage

gentoo-update is in GURU overlay, and can be installed using emerge:

emerge --ask app-admin/gentoo_update

Alternatively, it can be installed with pip in a virtual environment:

python -m venv gentoo_update
source gentoo_update/bin/activate
python -m pip install gentoo_update

The updater creates a subdirectory in Portage's default PORTAGE_LOGDIR located at /var/log/portage/gentoo-update. However, if this variable is set to a different value in make.conf, it will use the new location instead of the default.

Here are some usage examples:

  • Basic security update
gentoo-update
  • Full system update with extra update parameters
gentoo-update --update-mode full --args "color=y keep-going"
  • Full system update, show elogs and news
gentoo-update --update-mode full --read-logs y --read-news y
  • Reading last update report (currently only successful update report):
gentoo-update --report

The detailed explanation of command flags can be found in --help.
Information on testing can be found in tests directory readme

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gentoo-update-0.1.9.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gentoo_update-0.1.9-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file gentoo-update-0.1.9.tar.gz.

File metadata

  • Download URL: gentoo-update-0.1.9.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for gentoo-update-0.1.9.tar.gz
Algorithm Hash digest
SHA256 be260d24fd6bf61de2fd814542bc9c6ed397883515fc3dab4f6ade6e2744a5c8
MD5 a846cc1b54b05677368c7c57e974d816
BLAKE2b-256 c212440365af4083d87eae69353d373467d87a169776efd68227542d59237dc4

See more details on using hashes here.

File details

Details for the file gentoo_update-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: gentoo_update-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for gentoo_update-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 ed2bbc0d00e576656576825e77d5a1e50d52ff067f898931101c860b07943c32
MD5 97e51c77e3664ca5fba51d1ca3faad75
BLAKE2b-256 2d67e7ae66e11051e7a88a1eee06bd6a1ca80094e5e9a876b5c4bcfed3b3e843

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page