安装 gnome-tweak-tool

use*_*168 6 gnome-tweak-tool

我想在终端中安装 gnome-tweak-tool 时遇到问题

sudo apt-get install gnome-tweak-tool
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gir1.2-gdesktopenums-3.0 gir1.2-gnomedesktop-3.0 gnome-settings-daemon gnome-shell-common iio-sensor-proxy mutter-common
The following NEW packages will be installed:
  gir1.2-gdesktopenums-3.0 gir1.2-gnomedesktop-3.0 gnome-settings-daemon gnome-shell-common gnome-tweak-tool iio-sensor-proxy mutter-common
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 633 kB/1,949 kB of archives.
After this operation, 13.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1http://archive.ubuntu.com/ubuntu xenial/universe amd64 gnome-shell-common all 3.18.4-0ubuntu3 [609 kB]
Err:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 iio-sensor-proxy amd64 1.1-1
  400  Bad URI [IP: 91.189.88.161 80]
Fetched 609 kB in 5s (111 kB/s)
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/i/iio-sensor-proxy/iio-sensor-proxy_1.1-1_amd64.deb  400  Bad URI [IP: 91.189.88.161 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Run Code Online (Sandbox Code Playgroud)

我做了, --fix-missing 但没有任何效果...

小智 11

首先,我们需要启用 Universe 存储库。为此,请通过应用程序菜单打开软件和更新。标记存储库列表中的所有 Universe 存储库。

软件和更新

单击重新加载以更新 Ubuntu。接下来,使用以下命令安装 Gnome Tweak Tool

 sudo apt install gnome-tweak-tool
Run Code Online (Sandbox Code Playgroud)

输出:

$ sudo apt install gnome-tweak-tool
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
 gnome-tweak-tool
0 upgraded, 1 newly installed, 0 to remove and 435 not upgraded.
Need to get 205 kB of archives.
After this operation, 1,198 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu artful/universe amd64 gnome-tweak-tool all 3.26.2.1-1ubuntu1 [205 kB]
Fetched 205 kB in 1s (106 kB/s)            
Selecting previously unselected package gnome-tweak-tool.
(Reading database ... 145771 files and directories currently installed.)
Preparing to unpack .../gnome-tweak-tool_3.26.2.1-1ubuntu1_all.deb ...
Unpacking gnome-tweak-tool (3.26.2.1-1ubuntu1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Setting up gnome-tweak-tool (3.26.2.1-1ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for hicolor-icon-theme (0.17-1) ...
Run Code Online (Sandbox Code Playgroud)

现在运行 Gnome 调整工具

  • 运行“gnome-tweaks”开始。似乎在 Lubuntu 等最小发行版上为触摸板提供了一些选项。 (2认同)

use*_*168 0

我通过尝试很多方法找到了解决方案

  1. 在航站楼内

    sudo nano /etc/apt/sources.list
    
    Run Code Online (Sandbox Code Playgroud)
  2. 打开此网站https://repogen.simplylinux.ch/ 生成您的源列表

  3. 将其粘贴到终端中
  4. 在终端输入

    sudo apt-get update
    sudo apt-get upgrade 
    
    Run Code Online (Sandbox Code Playgroud)

遗憾的是,在某些国家/地区,您无法更新或升级,除非您更改为其他来源

这就是我想出来的。

我不知道这是否正确,但它对我有用。