/usr/local/petget/README-add-repo.htm, which might be slightly out of date.
Anyway, in
Code: Select all
/root/.packages/REPOS_COMPAT_REPOS
Code: Select all
PKG_DOCS_DISTRO_COMPAT="
z|http://http.us.debian.org/debian/dists/${DISTRO_COMPAT_VERSION}/main/binary-${DBIN_ARCH}/Packages.${DDB_COMP}|Packages-debian-${DISTRO_COMPAT_VERSION}-main
z|http://http.us.debian.org/debian/dists/${DISTRO_COMPAT_VERSION}/non-free/binary-${DBIN_ARCH}/Packages.${DDB_COMP}|Packages-debian-${DISTRO_COMPAT_VERSION}-non-free
z|http://http.us.debian.org/debian/dists/${DISTRO_COMPAT_VERSION}/contrib/binary-${DBIN_ARCH}/Packages.${DDB_COMP}|Packages-debian-${DISTRO_COMPAT_VERSION}-contrib
z|http://deb-multimedia.org/dists/${DISTRO_COMPAT_VERSION}/main/binary-${DBIN_ARCH}/Packages.${DDB_COMP}|Packages-debian-${DISTRO_COMPAT_VERSION}-multimedia
z|https://deb.torproject.org/torproject.org/dists/${DISTRO_COMPAT_VERSION}/main/binary-${DBIN_ARCH}/Packages.${DDB_COMP}|Packages-Tor-debian-${DISTRO_COMPAT_VERSION}
"
Code: Select all
REPOS_DISTRO_COMPAT="
z|http://http.us.debian.org/debian|Packages-debian-${DISTRO_COMPAT_VERSION}-*
z|http://deb-multimedia.org|Packages-debian-${DISTRO_COMPAT_VERSION}-multimedia
z|http://mirrors.kernel.org/debian|Packages-debian-${DISTRO_COMPAT_VERSION}-*
z|http://ftp.de.debian.org/debian|Packages-debian-${DISTRO_COMPAT_VERSION}-*
z|http://deb.torproject.org/torproject.org|Packages-Tor-debian-*
"
I got the error:
Code: Select all
Failed to download db file:
https://deb.torproject.org/torproject.org/dists/stretch/main/binary-i386/Packages.xz
https://deb.torproject.org/torproject.org/dists/stretch/main/binary-i386/
...exited from 0setup script.
I installed gnupg gnupg2 and dirmngr dirmngr seems to be a prerequisite for gnupg2 in the Debian repos but I have no idea how to use dirmngr with pgp2. I did start dirmngr though and to do so I had to create the file:GPG: GNU Privacy Guard version 2.1 is needed for this guide. If you are using an older version, consider upgrading to gnupg2 or replace 'gpg2' below with gpg --keyserver hkp://pool.sks-keyservers.net since the keyserver option was mandatory for older versions.
...
Then add the gpg key used to sign the packages by running the following commands at your command prompt:
# gpg2 --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
# gpg2 --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
Code: Select all
/root/.gnupg/dirmngr_ldapservers.conf
Anyway, it doesn't help when I try to accept the key for the tor repo I get the following error:
Code: Select all
# gpg2 --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89AA22CDBA8F512EE8CBC9E886DDD89
A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
# gpg2 --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
gpg: keyserver receive failed: Address family not supported by protocol
https://dev.gnupg.org/T3331#103999The workaround I've found is to put:
disable-ipv6
in ~/.gnupg/dirmngr.conf. It's a pity that IPv4 isn't supported by default anymore, because some people disable IPv6 on their boxes *precisely* for security reasons---following the same logic that leads one to only install the server software one needs, and open only the needed ports on a firewall, no more.
don't work for me. When I do an strace on this, this configuration file doesn't even seem to be being read.
Anyway, these errors are beyond me at the moment so I think I'll compile tor for dpup stretch, like I did for TazPup, instead of adding the tor repo to my package manager. The reason that I wanted to install it from the debian repo is I wanted to see what debian specific tor tweaks might work with dpup stretch.