summaryrefslogtreecommitdiff
path: root/metadata/news/2022-12-27-alternatives-introduction
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-28 20:13:26 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-28 20:13:26 +0000
commitd7ef5a07f47da6898dcb2d1503790c59b0470571 (patch)
treed11b9a210e75a7369cb3f644657b94b951109c58 /metadata/news/2022-12-27-alternatives-introduction
parentebadb1bcdd3c4fdd2e1a569a04d2cd8c5049b64d (diff)
gentoo auto-resync : 28:12:2022 - 20:13:25
Diffstat (limited to 'metadata/news/2022-12-27-alternatives-introduction')
-rw-r--r--metadata/news/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.en.txt11
-rw-r--r--metadata/news/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.ru.txt9
2 files changed, 11 insertions, 9 deletions
diff --git a/metadata/news/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.en.txt b/metadata/news/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.en.txt
index 601142ffde19..0fb878541a5e 100644
--- a/metadata/news/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.en.txt
+++ b/metadata/news/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.en.txt
@@ -32,7 +32,7 @@ The initial list of packages which support alternatives is as follows:
The stabilization of these new ebuilds and packages depending
on them is ongoing in bug 886017 [1].
-## Per-upgrade requirements
+## Pre-upgrade requirements
The default configuration on Gentoo systems is FEATURES="protect-owned"
which works similarly to FEATURES="collision-protect" but it allows
@@ -60,8 +60,9 @@ orphaned files where no package owns the file.
To migrate your system, a standard world upgrade will suffice after
deselecting eselect-awk and eselect-sh:
1. # emerge --deselect app-eselect/eselect-awk app-eselect/eselect-sh
-2. # emerge --sync
-3. # emerge -a -uvDU @world (or other similar standard world upgrade command)
+2. # emerge --depclean app-eselect/eselect-awk app-eselect/eselect-sh
+3. # emerge --sync
+4. # emerge -a -uvDU @world (or other similar standard world upgrade command)
## Configuration
@@ -77,11 +78,11 @@ Going forward, /etc/portage/package.use will be used for this purpose.
Users should review the USE flags available for the various app-alternatives
ebuilds like app-alternatives/sh and adjust their configuration as desired.
-For example, to have /usr/bin/gzip be provided by app-arch/pigz for automatic
+For example, to have /bin/gzip be provided by app-arch/pigz for automatic
parallelization of 'gzip', one would have the following in /etc/portage/package.use:
```
# https://wiki.gentoo.org/wiki/Gzip#Parallelization
-# Make /usr/bin/gzip be a symlink to pigz for a speedup in compression
+# Make /bin/gzip be a symlink to pigz for a speedup in compression
app-alternatives/gzip -reference pigz
```
diff --git a/metadata/news/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.ru.txt b/metadata/news/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.ru.txt
index 254bb4095008..25a989f712b3 100644
--- a/metadata/news/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.ru.txt
+++ b/metadata/news/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.ru.txt
@@ -62,8 +62,9 @@ FEATURES="-collision-protect". collision-protect находит конфликт
Для миграции достаточно убрать eselect-awk и eselect-sh из world, и обновить
систему как обычно:
1. # emerge --deselect app-eselect/eselect-awk app-eselect/eselect-sh
-2. # emerge --sync
-3. # emerge -a -uvDU @world (или похожая команда для стандартного обновления
+2. # emerge --depclean app-eselect/eselect-awk app-eselect/eselect-sh
+3. # emerge --sync
+4. # emerge -a -uvDU @world (или похожая команда для стандартного обновления
системы)
## Конфигурация
@@ -81,11 +82,11 @@ FEATURES="-collision-protect". collision-protect находит конфликт
app-alternatives, таких как app-alternatives/sh, и настройте их на ваше
усмотрение.
-Например, чтобы /usr/bin/gzip был предоставлен пакетом app-arch/pigz, это
+Например, чтобы /bin/gzip был предоставлен пакетом app-arch/pigz, это
автоматически параллелизует gzip, нужен такой текст в /etc/portage/package.use:
```
# https://wiki.gentoo.org/wiki/Gzip#Parallelization
-# Пусть /usr/bin/gzip будет ссылкой на pigz для ускорения сжатия
+# Пусть /bin/gzip будет ссылкой на pigz для ускорения сжатия
app-alternatives/gzip -reference pigz
```