Update/P11
The update procedure from p10 to p11 is similar to the update to p10.
Upgrade
0. Make a backup of your system before upgrading
It is advisable to uninstall all packages you don't need ([ru]), and disable unneeded services ([ru]) before upgrading your system. This will save you some time during the upgrade process, and reduce the traffic of downloaded packages.
Third-party packages that are not in the p10 repository may not be supported by the upgraded system and may interfere with a successful upgrade.
1. Upgrade the distribution to the latest p10
All operations must be done with root user permissions.
# apt-get update # apt-get dist-upgrade
2. Check apt-repo
Most likely the utility has already been installed and updated in the first step, but just in case, check for the following:
# apt-get install apt-repo
3. Change the update sources
# apt-repo set p11
To upgrade from p10 to p11, it is not enough to just change sources. apt-repo does everything necessary: in addition to changing sources, it creates a file /etc/rpm/macros.d/priority_distbranch with the following contents:
%_priority_distbranch p11
4. Upgrade to p11
# apt-get update
# apt-get clean # apt-get dist-upgrade -dThe first command will remove all old packages from the apt cache, the second will download (but not install) all the packages you need. If you have already downloaded something new, it may be advantageous to use autoclean instead of clean. The resulting contents of /var/cache/apt can be used for a subsequent bulk installation of packages via rpm in case of upgrade problems.
Perform the actual upgrade:
# apt-get dist-upgrade # update-kernel
If at the end of the upgrade it says
E: Transaction errors occurred
run
# apt-get -f install
# apt-get dist-upgrade
5. Reboot
Reboot the system.
6. Removing obsolete packages
Use the tips at APT in ALT Linux/Tips for using to remove obsolete packages.
Upgrade via EPM
You can upgrade from p10 to p11 using the epm program by first installing the latest version:
# apt-get install eepm
and then commanding:
# epm release-upgrade
--force --auto
— with no guarantee of successful completion. So it's better to do it from the physical console.Next, update the kernel:
# update-kernel
Remove obsolete packages with the command:
# epm autoremove --direct
The program will perform all necessary actions for the upgrade, including the commands described above in the manual upgrade order.
Known issues
1. Removing scilab (the Higher Education profile in Alt Education). The new version has not been built yet.
2. Removing qgis3-python. Install
apt-get install qgis-python
3. Removing swi-prolog. The new version has not been built yet.
4. Removing transcode. The package is no longer supported.
5. Removing gz-sim. Install
apt-get install gz-sim
6. Removing postgresql14-1C-server. To upgrade to the new major version of postgresql16-1C-server, please use the following instructions https://www.postgresql.org/docs/10/upgrading.html and use the intermediate postgresql14-server package.