Skip to content

Latest commit

 

History

History
41 lines (35 loc) · 1 KB

linux_dist.md

File metadata and controls

41 lines (35 loc) · 1 KB

upgrade routine

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt autoremove
sudo reboot

show my release

lsb_release -a

upgrade old release

locate file: /etc/apt/sources.list
old release are at: http://old-releases.ubuntu.com

release upgrade

sudo do-release-upgrade

legacy release upgrade

http://old-releases.ubuntu.com/ubuntu/dists/
https://wiki.ubuntu.com/Releases
https://help.ubuntu.com/community/EOLUpgrades

# Downloads the upgrader, check the link above for the URL of the file for your release
wget http://archive.ubuntu.com/ubuntu/dists/focal-updates/main/dist-upgrader-all/current/focal.tar.gz
# Extract it into a new directory
mkdir upgrader
tar -xaf focal.tar.gz -C upgrader
cd upgrader
# Run the executable, the name changes based on the release
 sudo env RELEASE_UPGRADE_MODE=server  ./focal --frontend=DistUpgradeViewText

pip upgrade to other python version

py3env
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py