Ubuntu - Как обновиться с 20.04 до 22.04 (LTS) через ssh: различия между версиями

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск
(Новая страница: «=== Ubuntu - Как обновиться с 20.04 до 22.04 (LTS) через ssh === Протестировано 02.05.2022: # apt update && apt upgrade -y #...»)
 
 
(не показаны 4 промежуточные версии этого же участника)
Строка 1: Строка 1:
 +
[[Файл:B_1.gif |link=https://bit.ly/3tbFsd6| Доступная цена]]
 +
 
=== Ubuntu - Как обновиться с 20.04 до 22.04 (LTS) через ssh ===
 
=== Ubuntu - Как обновиться с 20.04 до 22.04 (LTS) через ssh ===
  
 
Протестировано 02.05.2022:
 
Протестировано 02.05.2022:
 
  # apt update && apt upgrade -y
 
  # apt update && apt upgrade -y
 +
# apt install update-manager-core
 
  # reboot
 
  # reboot
  # apt install update-manager-core
+
 
  # do-release-upgrade -d
+
  # 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
 
  # reboot
 
  # reboot
  
Строка 11: Строка 24:
 
         -d, --devel-release
 
         -d, --devel-release
 
               If using the latest supported release, upgrade to the development release
 
               If using the latest supported release, upgrade to the development release
 +
 +
 +
Результат:
 +
# lsb_release -a
 +
No LSB modules are available.
 +
Distributor ID: Ubuntu
 +
Description:    Ubuntu 22.04 LTS
 +
Release:        22.04
 +
Codename:      jammy

Текущая версия на 15:36, 26 апреля 2024

Доступная цена

Ubuntu - Как обновиться с 20.04 до 22.04 (LTS) через ssh

Протестировано 02.05.2022:

# apt update && apt upgrade -y
# apt install update-manager-core
# reboot
# 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
# reboot

Опции

       -d, --devel-release
             If using the latest supported release, upgrade to the development release


Результат:

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04 LTS
Release:        22.04
Codename:       jammy