Ubuntu Upgrade: Difference between revisions
Jump to navigation
Jump to search
Line 144: | Line 144: | ||
{| | {| | ||
| valign="top" | | | valign="top" | | ||
* [https://packages.ubuntu.com/noble/amd64/systemd-resolved/download Ubuntu » Packages » noble » <code>systemd-resolved</code>] | * [https://packages.ubuntu.com/noble/amd64/systemd-resolved/download Ubuntu » Packages » noble » <code>systemd-resolved</code>] | ||
* [https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2055012 Ubuntu » Upgrade from 22.04 to 24.04 DNS Failed] | * [https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2055012 Ubuntu » Upgrade from 22.04 to 24.04 DNS Failed] | ||
Line 157: | Line 156: | ||
| valign="top" | | | valign="top" | | ||
* [https://askubuntu.com/questions/1512331/ Ubuntu » Upgrade » 24.04 » Remain Old Kernel of 22.04] | |||
* [https://packages.ubuntu.com/noble/amd64/network-manager-gnome/download Ubuntu » Packages » noble » <code>network-manager-gnome</code>] | |||
| valign="top" | | | valign="top" | |
Revision as of 00:16, 3 June 2024
sudo apt update
sudo apt upgrade
Upgrade » 22.04 » 24.04
sudo sed -i 's|jammy|noble|g' /etc/apt/sources.list
sudo apt update && sudo apt upgrade
sudo apt dist-upgrade
|
sudo apt autoremove
sudo apt clean
sudo reboot
|
sudo apt install xorg gnome gnome-shell --no-install-recommends
sudo apt install --reinstall ubuntu-gnome-desktop
sudo reboot
|
Upgrade » 23.10 » 24.04
sudo sed -i 's|mantic|noble|g' /etc/apt/sources.list
sudo apt update && sudo apt upgrade
sudo apt dist-upgrade
|
sudo apt autoremove
sudo apt clean
sudo reboot
|
sudo apt install xorg gnome gnome-shell --no-install-recommends
sudo apt install --reinstall ubuntu-gnome-desktop
sudo reboot
|
Install Packages From ISO
mkdir -p ~/Documents/ubuntu-playground/
wget -cq http://th.archive.ubuntu.com/ubuntu/pool/main/s/systemd/systemd-resolved_255.4-1ubuntu8_amd64.deb -P ~/Documents/ubuntu-playground
wget -cq https://mirrors.gbnetwork.com/ubuntu-releases/24.04/ubuntu-24.04-desktop-amd64.iso -P ~/Documents/ubuntu-playground
sudo mkdir /mnt/iso/ && sudo mount -o loop,ro ~/Documents/ubuntu-playground/ubuntu-24.04-desktop-amd64.iso /mnt/iso
| |
| |
cat <<'APT' | sudo tee -a /etc/apt/sources.list >/dev/null
# install packages from iso file
deb file:///mnt/iso/ noble main restricted
APT
|
cd ~/Documents/ubuntu-playground/
sudo apt install ./network-manager-gnome_1.34.0-1ubuntu3_amd64.deb
sudo apt install ./systemd-resolved_255.4-1ubuntu8_amd64.deb
sudo apt install --reinstall ubuntu-gnome-desktop
sudo apt upgrade && sudo apt dist-upgrade
|
Detect Invisible Window
xwininfo sudo apt install xdotool xdotool windowclose 0x4003a2 systemctl status anydesk.service systemctl disable anydesk.service
Install Python3.10
pyenv install -list-all
pyenv install 3.10.14
pyenv rehash
|
pyenv global system 3.10.14
pyenv global 3.10.14
pyenv global
|
pyenv shell 3.10.14
pyenv shell system
python -V
|
| ||
pyenv shell 3.10.14
pyenv which python
pyenv which pip
|
python -m venv ~/.venv/powerline --prompt="Powerline"
source ~/.venv/powerline/bin/activate
pip install wheel
|