Ubuntu - Как обновиться с 20.04 до 22.04 (LTS) через ssh: различия между версиями
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Admin iph (обсуждение | вклад) (Новая страница: «=== Ubuntu - Как обновиться с 20.04 до 22.04 (LTS) через ssh === Протестировано 02.05.2022: # apt update && apt upgrade -y #...») |
Admin iph (обсуждение | вклад) |
||
Строка 5: | Строка 5: | ||
# reboot | # reboot | ||
# apt install update-manager-core | # apt install update-manager-core | ||
+ | |||
+ | # vi /etc/apt/sources.list | ||
+ | deb http://de.archive.ubuntu.com/ubuntu jammy main restricted universe multiverse | ||
+ | #deb-src http://de.archive.ubuntu.com/ubuntu impish main restricted universe multiverse | ||
+ | deb http://de.archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse | ||
+ | #deb-src http://de.archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse | ||
+ | deb http://de.archive.ubuntu.com/ubuntu jammy-security main restricted universe multiverse | ||
+ | #deb-src http://de.archive.ubuntu.com/ubuntu jammy-security main restricted universe multiverse | ||
+ | deb http://de.archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse | ||
+ | #deb-src http://de.archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse | ||
+ | |||
# do-release-upgrade -d | # do-release-upgrade -d | ||
# reboot | # reboot |
Версия 16:37, 2 мая 2022
Ubuntu - Как обновиться с 20.04 до 22.04 (LTS) через ssh
Протестировано 02.05.2022:
# apt update && apt upgrade -y # reboot # apt install update-manager-core
# vi /etc/apt/sources.list deb http://de.archive.ubuntu.com/ubuntu jammy main restricted universe multiverse #deb-src http://de.archive.ubuntu.com/ubuntu impish main restricted universe multiverse deb http://de.archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse #deb-src http://de.archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse deb http://de.archive.ubuntu.com/ubuntu jammy-security main restricted universe multiverse #deb-src http://de.archive.ubuntu.com/ubuntu jammy-security main restricted universe multiverse deb http://de.archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse #deb-src http://de.archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
# do-release-upgrade -d # reboot
Опции
-d, --devel-release If using the latest supported release, upgrade to the development release