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.8.tar.gz (12.4 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.8-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gentoo-update-0.1.8.tar.gz
Algorithm Hash digest
SHA256 244ff98f83a810ec708e279406e2936535d35f3f637da16064cc7f8c731efe10
MD5 163e6344add25d4ddbc994501442cf4b
BLAKE2b-256 92b3de7368043f9f881addd6dfec40aee331184716a5a965730bb635d76a7e53

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gentoo_update-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 e05f7825a81506e68d97b4ecf1c726f756bb9e648085a96682f6c146d437cefd
MD5 e2b8b5792f270d6deba5c7cee90ebaff
BLAKE2b-256 5bffadfda3540efb896f2ffe9ff1b28540767001a550d40e6c2e221e9cd0f142

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