在Debian系统中,通常使用apt
或apt-get
命令来更新软件包,而不是yum
打开终端(快捷键:Ctrl + Alt + T)。
首先,确保你的系统已更新到最新的软件包列表。运行以下命令:
sudo apt update
sudo apt upgrade
sudo apt full-upgrade
sudo apt autoremove
dpkg --get-selections | grep -v deinstall
注意:yum
是Red Hat系列发行版(如Fedora、CentOS)的包管理器,而不是Debian系列的。在Debian系统中,请使用apt
或apt-get
命令。