Calculate linux обновление системы

Calculate linux обновление системы

Переписано руководство по обновлению Calculate Linux https://wiki.calculate-linux.org/ru/system_update_guide Расписаны этапы работы программы, полезные опции запуска, интеграция с другими приложениями.

Процесс обновления Calculate Linux максимально упрощён. Для обновления достаточно запустить графическое приложение «Обновление Calculate Linux» или выполнить в консоли:

Вышел 29 декабря 2022 г. В новую версию включена серверная редакция Calculate Container Manager для работы с LXC, добавлена новая утилита cl-lxc, добавлена поддержка выбора репозитория обновления. Для загрузки доступны с.

ТОП 15 ДИСТРИБУТИВОВ 2022 Проверяем кто из них Самый легкий | Сравнение Windows vs Linux за 10 мин
https://www.youtube.com/watch?v=T2IWcImecuU
(Calculate в обзоре тоже есть)

Закончился Calculate Summer Camp 2022. Спасибо всем, кто приехал! Погода обещала быть дождливой и напугала почти всех наших потенциальных соседей по острову, которых почти не было. Слабаки 😎 По факту получас.

Вышел 9 февраля 2022 г. Мы рады представить вашему вниманию релиз Calculate Linux 22.0.1! Для загрузки доступны следующие редакции дистрибутива: Calculate Linux Desktop с рабочим столом KDE (CLD), Cinnamon (CLDC), LXQ.

Поддержите нас.. морально https://www.calculate-linux.org/ru/introduction/

Предисловие Данный материал является компиляцией и переработкой серии статей с сайта https://www.procustodibus.com/, убрал многословности и повторы, реструктурировал и обобщил типовые решения, постарался в.

Calculate Linux 22 Desktop KDE Plasma | Technobish’s Review https://www.youtube.com/watch?v=1z6DFoO9Kus

Встречайте Calculate Linux 22! https://forum.calculate-linux.org/t/calculate-linux-22/10870

Вышел 8 декабря 2021 г. Мы рады представить вашему вниманию релиз Calculate Linux 22! В новой версии решена проблема с обновлением системы спустя длительный период времени, утилиты Calculate портированы на Python 3, по ум.

Источник

7. Обновление системы cl-update¶

cl-update — утилита, выполняющая обновление системы со всеми необходимыми сопутствующими действиями.

Описание функциональных возможностей¶

  1. Синхронизация репозиториев дистрибутива
  2. Если репозитории были обновлены, то выполняются действия egencache и eix-update
  3. Обновление ревизии и обновление мира
  4. Обновление системы
  5. Обновление Python/Perl с пересборкой поврежденных пакетов при необходимости
  6. Удаление ненужных пакетов
  7. Пересборка модулей ядра при необходимости
  8. Пересборка прочих поврежденных пакетов при необходимости
  9. Пересборка пакетов для Xorg-сервера, если в этом есть необходимость
  10. Выполнение dispatch-conf

Описание опций утилиты¶

При запуске cl-update без параметров обновление будет происходить по общей схеме, но можно изменить поведение утилиты, используя ключи.

Ключи для управления синхронизацией и кэшами¶

-r REPOSITORIES, --repositories REPOSITORIES

Задает синхронизируемые репозитории дистрибутива (все по умолчанию) (‘list’ для отображения возможных значений). При указании опции позволяет синхронизировать лишь выбранный репозиторий.

Устанавливает ветки для репозиториев (REPOSITORY:BRANCH). Позволяет переключать между master/develop/update ветками репозиториев.

Читайте также:  Linux группа www data

Принудительно обновляет кэш оверлеев.

Пропускает обновление кэша оверлеев.

Обновляет кэш оверлеев в том случае, если тот устарел (действие по умолчанию).

Принудительно обновляет кэш eix.

Пропускает обновление кэша eix.

Обновляет кэш eix, если он устарел (поведение по умолчанию).

-o [ON/OFF], --update-other [ON/OFF]

Выполняет обновление сторонних оверлеев (не являющихся репозиториями дистрибутива). По умолчанию выключено. Для того, чтобы изменить действие по умолчанию, надо изменить значение переменной cl_update_other_set секции update; для этого можно выполнить следующую команду:
cl-core-variables —set update.cl_update_other_set=on

Не обновлять пакеты. Выполняет синхронизацию и применяет ревизии.

Ключи применения шаблонов, ревизий¶

Переформирует world-файл согласно шаблонам дистрибутива на world-файл по умолчанию для данного профиля.

Обновляет ревизию дистрибутива до текущей в шаблонах.

-T TEMPLATES, --templates TEMPLATES

Выбор местонахождения шаблонов calculate,distros,local,remote,clt (‘list’ для отображения возможных значений)

Использовать новые конфигурационные файлы.

Пропустить обновление конфигурационных файлов.

Обновить конфигурационные файлы вручную (по умолчанию).

Другие ключи¶

Вместо действительного обновления пакетов, только отобразить, что будет установлено.

Ждать завершения выполнения другого запущенного cl-update. По умолчанию включено.

Учитывать график автопроверки обновлений. Если временной интервал с последней проверки ещё не прошел, то обновление выполняться не будет.

Не задавать вопросы во время процесса.

Источник

System update guide

Calculate Utilities

Updating Calculate Linux is as simple as can be. To update your system, simply run «Update Calculate Linux» in the graphical client, or the following in the command line:

The program will synchronize the Portage tree and the overlays, update the packages and remove obsolete dependencies.

cl-update can be run both from root and from an ordinary user, provided that they have the necessary privileges (see. chapter Users):

Update stages

cl-update’s operation consists of two parts: repository synchronization and package update. You may want to synchronize the repos without updating software. To do this, use the option, as shown below:

Repo synchronization

Calculate Linux provides several binary mirrors for updates, described in the Calculate overlay. cl-update will detect broken or unavailable mirrors automatically, as well mirrors being updated, and switch to the fastest mirror if necessary. To rescan the mirrors manually at any time, run cl-update —scan . The scan log is saved at .

Two types of mirror are available: stable and testing. The testing mirrors provide newer package versions. To enable them, run cl-update —stable off .

All packages re not updated at the same time. For all package versions to match those of the Portage tree and those of the Calculate and Distros overlays, cl-update reads the number of the corresponding Git commit on the mirror and then synchronizes the Portage tree and the overlays with it. The commit tags, the most economical set point for Portage updates, are the only difference between the Gentoo copy of the Portage tree used by Calculate Linux.

Читайте также:  Как узнать какие драйвера установлены linux

Own overlays are an important part of Calculate Linux. They are essential for your system. They allow you to edit USE flags and package masks, set variables, add ebuids. In Calculate Linux, overlays can contain templates. All Calculate Linux distributions include at least the overlay, containing all necessary settings and CU templates. The official CL builds also include , that only stores the differences between CL flavours, thus allowing Calculate users to create their own fully functional customized fork of the distribution.

System configuration

After the synchronization and before the update, migration templates are applied. They configure the selected repository by editing . At this stage, revision and migration templates can be applied.

Modifications can be made by downgrading an installed package, the modified version to be reinstalled. Once the modifications completed, the version of any such package will end with . Here is a less common example of modification: removing an obsolete package that blocks dependency calculation from .

Package update

If there were modifications, cl-update will start emerge to calculate the dependencies. It may take time, as emerge does not do in parallel, thus requiring important calculations.

If USE flags or package masks were modified, or third-party packages installed, the respective packages will be recompiled from source at installation time. Binary packages are marked in green and non-binary packages in brown.

Recompilation of customized packages

cl-builder-update does this to update the packages inside the system image in order to guarantee that the modified packages get recompiled in time. At this stage, modifications of slots, USE flags and package dependencies will be checked for. If there are modifications, the packages will be recompiled.

Update of Perl modules

If dev-lang/perl was rewritten at update time, cl-update will call perl-cleaner all to update the Perl modules.

System cleanup

When you install software, additional packages are often installed as dependencies. Dependencies may change with time, and applications be removed. This may result in orphan dependencies, that should be deleted. They will not be updated, as emerge does not take them into account any more when calculating dependencies. At this stage, cl-update will remove them by calling emerge —depclean .

If the kernel version to be deleted is actually the current one, the kernel package will be excluded from the list. This means that you can always roll back to the previous version of the kernel (to be selected in the Grub menu), should the new one fail to work normally.

To prevent the current version of PostgreSQL from being removed at major upgrade time, CU templates add the relevant package together with its slot number to when calling emerge —config postgresql .

Читайте также:  Chmod 755 linux команда

Update of kernel modules

If the kernel is updated, cl-update will call emerge @module-rebuild at this stage to also update its modules.

Update of X.Org modules

When updating x11-base/xorg-server, cl-udpate will call emerge @x11-module-rebuild to also update its modules.

Recompiling module dependencies

At update times, cl-update will detect packages that are using obsolete libraries, to be recompiled. To do this, cl-update will call emerge @preserved-rebuild .

Checking reverse dependencies

Optionally, you may want to run revdep-rebuild , provided with the package. It searches for packages that contain corrupted executables and libraries. To enable it, run the following command:

Useful options

By default, third-party overlays are not synchronized. To synchronize all enabled overlays, use the option with cl-update. Example:

To calculate the dependencies without actually installing anything in emerge-like mode, use the option. Example:

To view the list of the calculated dependencies with their USE flags in an emerge-like mode, use the option, as shown below:

To restore the Portage tree and the overlays (for instance, after manual update), use the option, as shown below:

Updating the file, which if the list of all system packages, may present useful options. To synchronize your package list to the one of the current nightly build, just run:

Viewing the package list may also resolve blocked packages, that can in fact be conflicting packages in a too big world file.

Merging the world file with the profile package list may prove to be a useful feature as well. For instance, you may want to switch to the profile on your Calculate Linux Scratch system. Once this is done, install the MATE environment with all its dependencies simply by running:

To use less hard disk space, two options can be used: to clear the local history of Git changes and —clean-pkg to remove the obsolete package archives stored on your hard drive. Example:

Integration with other applications

The binary repo must always correspond to the Portage tree. To guarantee this, we worked on integrating cl-update in the system applications.

Launching emerge —sync will call the CU synchronization module, specified in . eix-sync , that updates the Portage tree in verbose mode, also calls the CU update method, as specified in . cl-builder-update uses the universal system update module as well.

Automatic update check

The update check is a job. You can configure it by editing . If an update is available, a file will be created. To set the update interval or to disable automatic updates, use cl-setup-update .

Источник

Оцените статью
Adblock
detector