Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubuntu@FAKELES-7310:~$ cat /etc/os-release
- NAME="Ubuntu"
- VERSION="20.04.6 LTS (Focal Fossa)"
- ID=ubuntu
- ID_LIKE=debian
- PRETTY_NAME="Ubuntu 20.04.6 LTS"
- VERSION_ID="20.04"
- HOME_URL="https://www.ubuntu.com/"
- SUPPORT_URL="https://help.ubuntu.com/"
- BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
- PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
- VERSION_CODENAME=focal
- UBUNTU_CODENAME=focal
- ## update
- ubuntu@FAKELES-7310:~$ sudo apt update && sudo apt full-upgrade
- # restart Ubuntu on PowerShell
- PS C:\Users\FAKELES> wsl.exe -l -v
- NAME STATE VERSION
- * Ubuntu Running 2
- rancher-desktop-data Stopped 2
- rancher-desktop Stopped 2
- PS C:\Users\FAKELES> wsl.exe --shutdown
- PS C:\Users\FAKELES> wsl.exe -d Ubuntu
- ## complete update
- ubuntu@FAKELES-7310:~$ sudo do-release-upgrade
- Do you want to start the upgrade?
- 31 installed packages are no longer supported by Canonical. You can
- still get support from the community.
- 14 packages are going to be removed. 339 new packages are going to be
- installed. 1788 packages are going to be upgraded.
- You have to download a total of 1477 M. This download will take about
- 3 minutes with your connection.
- Installing the upgrade can take several hours. Once the download has
- finished, the process cannot be canceled.
- Continue [yN] Details [d]y
- ## if you lock yourself out
- ## run this on Powershell to login
- ## with root (no password) and fix it
- PS C:\Users\FAKELES> ubuntu config --default-user root
- PS C:\Users\FAKELES> ubuntu config --default-user ubuntu
- ubuntu@FAKELES-7310:~$ cat /etc/os-release
- PRETTY_NAME="Ubuntu 22.04.3 LTS"
- NAME="Ubuntu"
- VERSION_ID="22.04"
- VERSION="22.04.3 LTS (Jammy Jellyfish)"
- VERSION_CODENAME=jammy
- ID=ubuntu
- ID_LIKE=debian
- HOME_URL="https://www.ubuntu.com/"
- SUPPORT_URL="https://help.ubuntu.com/"
- BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
- PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
- UBUNTU_CODENAME=jammy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement