Gnome Tweak Tool 在部分升级后损坏 - Ubuntu 20.04

Gnome Tweak Tool 在部分升级后损坏 - Ubuntu 20.04

软件更新程序今天进行了部分升级,删除了 gnome-tweak-tool 和我认为其中一个依赖项 - gir1.2-handy-0.0。我尝试在终端和 Synaptic 中安装,但两者都出现了损坏的软件包错误。安装了gir1.2-handy-0.0,但在安装 tweak 工具时仍然出现此错误:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gnome-tweak-tool : Depends: gnome-tweaks but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我也尝试过:

  1. 修复损坏的安装

    sudo apt --fix-broken install
    
  2. 清除调整工具并重新安装:

    sudo apt-get purge gnome-tweak-tool
    sudo apt-get autoremove && sudo apt-get autoclean
    sudo apt-get install gnome-tweak-tool
    
  3. 从 Focal 存储库安装包gnome-tweaks(3.34.0-2ubuntu1) [universe]

仍然得到相同的结果。

答案1

感谢@Kulfy 的所有帮助。我找到了答案。由于此问题,软件更新期间无法访问存储库E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/focal/main/binary-armhf/Packages 404 Not Found [IP: 91.189.91.39 80],在研究该问题时,我找到了此帖子: 如何修复 apt-get 更新期间出现的“无法获取 binary-armhf/Packages”错误?

按照该线程中的说明运行sudo dpkg --remove-architecture armhf并能够更新。解决了一个问题。然后我想尝试安装 Gnome Tweaks 以查看是否有任何关系,并且它有效。

相关内容