Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Oct 2018, 10:17
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to add Tor Repo to DPup Stretch?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
s243a

Joined: 02 Sep 2014
Posts: 1216

PostPosted: Thu 20 Sep 2018, 13:40    Post subject:  How to add Tor Repo to DPup Stretch?  

I'm trying to add the Tor Repo to dpup stretch. I followed the instructions from

/usr/local/petget/README-add-repo.htm, which might be slightly out of date.

Anyway, in
Code:

/root/.packages/REPOS_COMPAT_REPOS

I added an entry to the end of PKG_DOCS_DISTRO_COMPAT for the tor repo

Code:

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}
"


and also to the end of REPOS_DISTRO_COMPAT

Code:

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-*
"

in the same file.

I got the error:
Code:

   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.


The path is correct so I think that I need to add the pgp key from the keyring. Here are the instructions for adding the keyring:
Quote:

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 -



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:
Code:

/root/.gnupg/dirmngr_ldapservers.conf

which is currently empty so this is probably wrong.

Anyway, it doesn't help when I try to accept the key for the tor repo I get the following error:
Code:

# gpg2 --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89AA22CDBA8F512EE8CBC9E886DDD89
A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
# gpg2 --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
gpg: keyserver receive failed: Address family not supported by protocol


I read that this is likely due to not having ipv6 on my system. but the instructions:
Quote:

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

https://dev.gnupg.org/T3331#103999

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.
Back to top
View user's profile Send private message 
01101001b


Joined: 08 Mar 2017
Posts: 47
Location: Buenos Aires, Argentina

PostPosted: Thu 27 Sep 2018, 14:22    Post subject: Re: How to add Tor Repo to DPup Stretch?  

s243a wrote:
I'm trying to add the Tor Repo to dpup stretch. [...]

I got the error:

Code:

   Failed to download db file:

   ...exited from 0setup script.

[...]

Anyway, these errors are beyond me at the moment so I think I'll compile tor for dpup stretch [...]

Hi s243a!

No offense, but I can't figure out what are you trying to do.

If you want Tor, it's already in Dpup repository. No need to compile anything (I suppose) or add a repo to Dpup Shocked

If I misunderstood, sorry, my bad Wink
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0501s ][ Queries: 12 (0.0094s) ][ GZIP on ]