4

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

  • Simply try again. You have had an intermittent internet problem. The "Bad URI" mentioned in the error is correct and the file exists. – Jos Jul 27 '16 at 14:46
  • i tried a lot of time but there is no hope – user573168 Jul 27 '16 at 15:08
  • Can you ping archive.ubuntu.com? Can you do wget http://archive.ubuntu.com/ubuntu/pool/universe/i/iio-sensor-proxy/iio-sensor-proxy_1.1-1_amd64.deb? If yes, then the install should work. If not, you still have a network problem. – Jos Jul 27 '16 at 15:10
  • yes i can ping to this ping archive.ubuntu.com PING archive.ubuntu.com (91.189.88.152) 56(84) bytes of data. 64 bytes from steelix.canonical.com (91.189.88.152): icmp_seq=1 ttl=51 time=84.7 ms – user573168 Jul 28 '16 at 20:27
  • 1
    Could you please edit your post, when you want to add information? Especially file or program output listings (with the help of the {} button in the editor toolbar) will be much more readable there; alternatively you can use a pastie service for longer listings and include the link of your pastie in your question. Overall it’s best to have everything relevant in one place. Additionally, comments may be deleted for various reasons. Thanks. – David Foerster Oct 23 '17 at 16:32
8

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

  • 1
    Run 'gnome-tweaks' to start. Seems to provide some options for the touchpad on minimal distros like Lubuntu. – rdtsc Dec 2 '18 at 22:58
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.