我正在尝试在我的系统上安装 tor,我完全按照 tor 项目网站上的步骤进行操作,但在这一步遇到了问题
$ mkdir ~/debian-packages; cd ~/debian-packages
$ apt-get source tor
$ cd tor-*
$ debuild -rfakeroot -uc -us
$ cd ..
当我跑步时$ debuild -rfakeroot -uc -us
我得到了
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
这里出了什么问题?我该怎么办?
答案1
为什么要从官方 Ubuntu 存储库下载源包并手动构建,而不是直接从那里安装二进制包?如果您从 Ubuntu 存储库获取源包,它将与二进制包完全相同。
只需按正常方式安装即可:
sudo apt-get install tor