터미널을 사용하여 Ubuntu 19.04를 최신 버전으로 업데이트하는 방법은 무엇입니까?

터미널을 사용하여 Ubuntu 19.04를 최신 버전으로 업데이트하는 방법은 무엇입니까?

. 을 사용해 보았지만 sudo apt update && sudo apt upgrade작동하지 않습니다.

Hit:1 http://linux.*********r.com/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease
Hit:5 http://old-releases.ubuntu.com/ubuntu disco InRelease            *******
Ign:6 http://old-releases.ubuntu.com/ubuntu xenial InRelease
Hit:7 http://old-releases.ubuntu.com/ubuntu disco-updates InRelease****
Hit:8 https://repo.*****.com/deb stable InRelease
Ign:9 http://old-releases.ubuntu.com/ubuntu xenial-updates InRelease
Hit:10 http://old-releases.ubuntu.com/ubuntu disco-backports InRelease
Ign:11 http://old-releases.ubuntu.com/ubuntu xenial-backports InRelease
Hit:12 http://old-releases.ubuntu.com/ubuntu disco-security InRelease
Ign:13 http://old-releases.ubuntu.com/ubuntu xenial-security InRelease
Err:14 http://old-releases.ubuntu.com/ubuntu xenial InRelease
  404  Not Found [IP: ****************]
Err:15 http://old-releases.ubuntu.com/ubuntu xenial-updates InRelease
  404  Not Found [IP: ****************]
Err:16 http://old-releases.ubuntu.com/ubuntu xenial-backports InRelease
  404  Not Found [IP: ****************]
Err:17 http://old-releases.ubuntu.com/ubuntu xenial-security InRelease
  404  Not Found [IP: ****************]
Get:3 https://mirrors.bfsu.edu.cn/****/systems/win32/******/setup/deb bionic InRelease [2,034 B]
Err:3 https://mirrors.bfsu.edu.cn/****/systems/win32/******/setup/deb bionic InRelease
  The following signatures were invalid: EXPKEYSIG 277A7293F59E4889 ****** Packager <packager@******.org>
Reading package lists... Done
E: The repository 'http://old-releases.ubuntu.com/ubuntu xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by defualt.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://old-releases.ubuntu.com/ubuntu xenial-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by defualt.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://old-releases.ubuntu.com/ubuntu xenial-backports Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by defualt.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://old-releases.ubuntu.com/ubuntu xenial-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by defualt.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://mirrors.bfsu.edu.cn/****/systems/win32/******/setup/deb bionic InRelease: The following signatures were invalid: EXPKEYSIG 277A7293F59E4889 MiKTeX Packager <packager@******.org>
E: The repository 'http://**********/download/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by defualt.
N: See apt-secure(8) manpage for repository creation and user configuration details.

업데이트를 다운로드할 수 없습니다:

캐시 새로 고침 실패: E: 저장소 'http:old-releases.ubuntu.com/ubuntu xenial Release'에 릴리스 파일이 없습니다.

소프트웨어 업데이터도 오류를 제공합니다.

저장소 정보 다운로드에 실패했습니다.

연결을 확인하세요.

여기에 이미지 설명을 입력하세요.

답변1

이 명령을 실행하세요

sudo do-release-upgrade -d -f DistUpgradeViewGtk3

그런 다음 업그레이드를 시작하십시오.

관련 정보