8

I have a problem when i want to install gnome-tweak-tool in terminal

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?

I did --fix-missing but nothing work ...

Carl H
  • 6,316
  • 6
  • 28
  • 42

4 Answers4

12

First, we need to enable universe repository. To do this, open Software and Update via application menu. Mark all universe repositories from the repo list.

software and updates

Click Reload to update Ubuntu. Next, use the following command to install Gnome Tweak Tool

 sudo apt install gnome-tweak-tool

Output:

$ 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) ...

Now run Gnome Tweak Tool

muru
  • 207,228
Athiban
  • 121
1

Could be solved with a single command if you are facing this issue just after fresh install

  1. Press CTRL + ALT + T
  2. Type this command and enter your password.
sudo apt update && sudo apt upgrade && sudo apt-get install gnome-tweak-tool
1

The gone-tweaks-tool has been renamed to gnome-tweaks:

https://www.omgubuntu.co.uk/2017/07/gnome-tweak-tool-renamed-gnome-tweaks

To install it run: sudo apt update && sudo apt install gnome-tweaks

thanos.a
  • 171
  • 4
0

I found the solution by testing a lot of ways

  1. In terminal

    sudo nano /etc/apt/sources.list
    
  2. Open this website https://repogen.simplylinux.ch/ generate your Sources List

  3. Paste it in terminal
  4. type in terminal

    sudo apt-get update
    sudo apt-get upgrade 
    

Unfortunately in some countries you can't update or upgrade until you change to another source

This is what im figure out.

Is it right or not i don't know but it works for me.

muru
  • 207,228