1 升级的大概流程

参考链接:https://www.cyberciti.biz/faq/update-upgrade-debian-9-to-debian-10-buster/

  1. 根据需要备份系统
  2. update installed packages
sudo atp update
sudo apt upgrade
sudo apt full-upgrade
sudo apt --purge autoremove
sudo reboot
  1. update /etc/apt/sources.list file
sudo cp -v /etc/apt/sources.list /root/
sudo cp -rv /etc/apt/sources.list.d/ /root/
sudo sed -i 's/stretch/buster/g' /etc/apt/sources.list
sudo sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/*

then update the package list

sudo apt update
  1. minimal system upgrade
sudo apt upgrade
  1. upgrading debian 9 to debian 10
sudo apt full-upgrade

then reboot

sudo reboot

2 post install

  1. sudo apt install nautilus

  2. disable tracker related because of 100% CPU usage and more memory

参考链接:https://www.linuxuprising.com/2019/07/how-to-completely-disable-tracker.html

systemctl --user mask tracker-store.service tracker-miner-fs.service tracker-miner-rss.service tracker-extract.service tracker-miner-apps.service tracker-writeback.service
tracker reset --hard
  1. 重新安装dash to dock,因为升级后gnome-shell版本改变了
rm -rf ~/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/*
wget https://extensions.gnome.org/extension-data/dash-to-dock%40micxgx.gmail.com.v64.shell-extension.zip
unzip dash-to-dock@micxgx.gmail.com.v64.shell-extension.zip -d ~/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/
sudo reboot

在修改sources.list文件,添加源后,如果执行update过程中出现如下错误:

The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY DFA175A75104960E

可采用如下方式解决:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DFA175A75104960E

or

apt-get install debian-keyring
gpg --keyserver pgp.mit.edu --recv-keys DFA175A75104960E
gpg --armor --export 1F41B907 | apt-key add -