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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gentoo-update-0.1.7.tar.gz
  • Upload date:
  • Size: 10.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.7.tar.gz
Algorithm Hash digest
SHA256 6c115e2f39387545921424c08a2422fedfcb74047d889dccc55e59fc8021d433
MD5 1042b1fec3ec7db7b47a5f8846a0f9aa
BLAKE2b-256 96cd51963cadb421ed46cbdf9542c32d6fc6885f849604400aa76d2e6afb918c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gentoo_update-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 10.8 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ebfc0d7ea71f748e167d36a7390cbbaa0550c6f194cc29d57a1a370563da3231
MD5 f6d9a7ba93a552569a2368de8fd8ac62
BLAKE2b-256 f869d1633d3db0f166772efb7e350d7a65cb55fcbb3d72a5d489feab6f2a31ed

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