我最近在使用软件中心时遇到问题,我希望重新安装它。为了确保它不会删除我需要的任何内容,我使用模拟删除(apt -s remove gnome-software
)对其进行了检查,它向我显示了以下内容:
The following packages were automatically installed and are no longer required:
gnome-software-common libappstream-glib8
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
gnome-software gnome-software-plugin-flatpak gnome-software-plugin-snap
zorin-os-desktop zorin-windows-app-support-installation-shortcut
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
Remv gnome-software-plugin-flatpak [3.36.1-0ubuntu0.20.04.1+zorin1+old1]
Remv zorin-windows-app-support-installation-shortcut [1.0]
Remv gnome-software [3.36.1-0ubuntu0.20.04.1+zorin1+old1] [gnome-software-plugin-snap:amd64 zorin-os-desktop:amd64 ]
Remv gnome-software-plugin-snap [3.36.1-0ubuntu0.20.04.1+zorin1+old1] [zorin-os-desktop:amd64 ]
Remv zorin-os-desktop [1.5.14]
我不希望它删除zorin-os-desktop
或任何其他包,但只是gnome-software
。
答案1
apt-get reinstall
允许您重新安装软件包而不破坏依赖链。
但是,我发现卸载/重新安装能否解决软件本身的任何问题值得怀疑。