0

I'm trying to install tor on my system, I've followed the steps on the tor projects site entirely and I've ran into an issue on this step

$ mkdir ~/debian-packages; cd ~/debian-packages
$ apt-get source tor
$ cd tor-*
$ debuild -rfakeroot -uc -us
$ cd ..

When I ran $ debuild -rfakeroot -uc -us I got

dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package tor
dpkg-buildpackage: source version 0.2.8.7-1~trusty+1
dpkg-buildpackage: source distribution trusty-backport
dpkg-buildpackage: source changed by jenkins role account <jenkins@build-x86-    03.torproject.org>
dpkg-source --before-build tor-0.2.8.7
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh \
    clean \
    --with quilt \
    --with autoreconf \
     \
    --builddirectory=build \
    --parallel
dh_testdir -O--builddirectory=build -O--parallel
dh_auto_clean -O--builddirectory=build -O--parallel
dh_quilt_unpatch -O--builddirectory=build -O--parallel
No patch removed
dh_quilt_unpatch: failed to write to debian/tor.debhelper.log: Permission denied
END failed--call queue aborted.
make: *** [clean] Error 13
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -D -us -uc failed

What is wrong here and how should I proceed?

Byte Commander
  • 110,243

1 Answers1

0

Why do you download the source package from the official Ubuntu repositories and build it manually instead of simply installing the binary package from there? If you fetch the source package from the Ubuntu repository, it will be the exactly same version as the binary package.

Just install it the normal way:

sudo apt-get install tor
Byte Commander
  • 110,243