3

i want to install development version of tor following instructions on https://www.torproject.org/docs/debian.html.en#development on my ubuntu 14.04 but whenever i run command

sudo apt-get update

some errors occurs:

Err http://deb.torproject.org jessie/main Sources
 404  Not Found [IP: 10.10.34.36 80]
Err http://deb.torproject.org jessie/main amd64 Packages
 404  Not Found [IP: 10.10.34.36 80]
Err http://deb.torproject.org jessie/main i386 Packages
 404  Not Found [IP: 10.10.34.36 80]
Ign http://deb.torproject.org jessie/main Translation-en_US
Ign http://deb.torproject.org jessie/main Translation-en
Fetched 435 kB in 5s (77.3 kB/s)
W: Failed to fetch     bzip2:/var/lib/apt/lists/partial/ir.archive.ubuntu.com_ubuntu_dists_trusty-updates_main_i18n_Translation-en  Hash Sum mismatch

W: Failed to fetch     bzip2:/var/lib/apt/lists/partial/ir.archive.ubuntu.com_ubuntu_dists_trusty-backports_main_i18n_Translation-en  Hash Sum mismatch

W: Failed to fetch     bzip2:/var/lib/apt/lists/partial/ir.archive.ubuntu.com_ubuntu_dists_trusty-backports_universe_i18n_Translation-en  Hash Sum mismatch

W: Failed to fetch     http://deb.torproject.org/torproject.org/dists/jessie/main/source/Sources  404  Not Found [IP: 10.10.34.36 80]

W: Failed to fetch     http://deb.torproject.org/torproject.org/dists/jessie/main/binary-amd64/Packages  404  Not Found [IP: 10.10.34.36 80]

W: Failed to fetch     http://deb.torproject.org/torproject.org/dists/jessie/main/binary-i386/Packages  404  Not Found [IP: 10.10.34.36 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

after that i run this command

sudo apt-get install tor deb.torproject.org-keyring

an error occurs:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package deb.torproject.org-keyring
E: Couldn't find any package by regex 'deb.torproject.org-keyring'

how can i fix it?

6
  • 1
    apt-get update didn't help?
    – Taavi
    Jun 12, 2016 at 12:15
  • What version of ubuntu are you running? Jun 12, 2016 at 12:16
  • @Taavi no there are some errors while running this command too.
    – Shi.Bi
    Jun 12, 2016 at 12:26
  • @AndroidDev ubuntu 14.04, running cat /etc/debian_version gives me jessie/sid
    – Shi.Bi
    Jun 12, 2016 at 12:28
  • Could you write those errors?
    – Taavi
    Jun 12, 2016 at 12:32

1 Answer 1

5

This is happening because you followed the Debian Jessie instructions. You need to change the dropdown menu above the instructions to Ubuntu Trusty Tahr. :)


You first need to remove the Jessie entries from the depository. To do this enter the below command in Terminal:

sudo rm /etc/apt/sources.list.d/jessie-main.list

Next you need to update apt:

sudo apt-get update

Once you have done that, you will need to continue with the Ubuntu Trusty Tahir instructions.


Another way to remove the software sources is to open "Software Centre" using the below icon.

enter image description here

Within Software Centre click on the "Software and updates" link within the "Ubuntu Software menu" as per below image.

enter image description here

Within Software and Updates, click on the "Other Software" tab and make sure the 2 options that I've ticked in the below update are removed from your sources. If not, then remove them.

enter image description here

Once you have done that, close that window and it will update the repository.

8
  • i changed jessie to trusty tahr but didn't work :(
    – Shi.Bi
    Jun 12, 2016 at 12:42
  • 1
    But in the error message there is seen that apt-get update is trying to reach Jessi packages. Make sure that in /etc/apt/sources there are sources for Trusty Tahr and not Jessie
    – Taavi
    Jun 12, 2016 at 13:00
  • I have updated my answer with further information. Jun 12, 2016 at 14:13
  • From this I assume you're new to Ubuntu. I would recommend either buying a Ubuntu book or search on Youtube for a Ubuntu tutorial. Another good source of information is the Ubuntu help page. help.ubuntu.com/14.04/ubuntu-help/index.html Jun 12, 2016 at 15:53
  • @proprocastinator thanks. yes i'm new to ubuntu but i did all the steps carefully. i think the problem is that my ISP is filtering Torproject.org. can it be the problem?
    – Shi.Bi
    Jun 13, 2016 at 4:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .