nix:freebsd_ustanovka_i_obnovlenie_ustanovlennogo_po
Различия
Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слеваПредыдущая версияСледующая версия | Предыдущая версия | ||
nix:freebsd_ustanovka_i_obnovlenie_ustanovlennogo_po [2022/11/28 12:20] – [Менеджер пакетов pkg] san | nix:freebsd_ustanovka_i_obnovlenie_ustanovlennogo_po [2024/02/12 12:02] (текущий) – [Решение проблем] san | ||
---|---|---|---|
Строка 81: | Строка 81: | ||
</ | </ | ||
==== pormaster ==== | ==== pormaster ==== | ||
+ | |||
+ | [[https:// | ||
Вывод списка установленного ПО и наличия обновлений | Вывод списка установленного ПО и наличия обновлений | ||
< | < | ||
+ | |||
portmaster -L | portmaster -L | ||
+ | |||
</ | </ | ||
+ | |||
Обновление всех пакетов, | Обновление всех пакетов, | ||
+ | |||
< | < | ||
portmaster -a | portmaster -a | ||
+ | |||
+ | </ | ||
+ | |||
+ | То же самое исключая указанный пакет (ключ -x можно указывать несколько раз) | ||
+ | |||
+ | < | ||
+ | portmaster -a -x clamav-lts | ||
+ | |||
</ | </ | ||
Безусловное обновление всех пакетов | Безусловное обновление всех пакетов | ||
+ | |||
< | < | ||
portmaster -afdy | portmaster -afdy | ||
+ | |||
</ | </ | ||
- | ==== Ошибка: | + | То же самое исключая указанный пакет |
+ | |||
+ | < | ||
+ | portmaster -afd -x bind-tools | ||
+ | |||
+ | </ | ||
+ | |||
+ | Некоторые полезные ключи | ||
+ | |||
+ | < | ||
+ | | ||
+ | | ||
+ | only if installed this run | ||
+ | |||
+ | | ||
+ | use packages for all build dependencies | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | use packages | ||
+ | |||
+ | </ | ||
+ | |||
+ | Исключение портов из обработки | ||
+ | |||
+ | < | ||
+ | / | ||
+ | If this file exists for a port that is already installed, several | ||
+ | | ||
+ | |||
+ | 1. The port will be ignored for all purposes. | ||
+ | This includes dependency updates even if there is no directory | ||
+ | for the port in /usr/ports and there is no entry for it in | ||
+ | / | ||
+ | port is being ignored will be mentioned. | ||
+ | |||
+ | 2. If using the | ||
+ | -L option, and a new version exists, the existence of the | ||
+ | | ||
+ | |||
+ | 3. If you do a regular update of the port, or if the | ||
+ | -a option is being used you will be asked if you want to update | ||
+ | the port anyway. | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Решение проблем ==== | ||
+ | |||
+ | === Ошибка: | ||
В процессе работы portupgrade в папке / | В процессе работы portupgrade в папке / | ||
Вывести список " | Вывести список " | ||
- | <file bash> | + | |
+ | <code bash> | ||
find / | find / | ||
- | </file> | + | |
+ | |||
+ | </code> | ||
Удалить " | Удалить " | ||
- | <file bash> | + | |
+ | <code bash> | ||
find / | find / | ||
- | </file> | + | |
+ | |||
+ | </code> | ||
+ | |||
+ | === configure: error: C compiler cannot create executables === | ||
+ | |||
+ | Решение: | ||
+ | |||
+ | cd / | ||
{{tag> | {{tag> | ||
+ | |||
+ |
nix/freebsd_ustanovka_i_obnovlenie_ustanovlennogo_po.1669627213.txt.gz · Последнее изменение: 2022/11/28 12:20 — san