LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing IPblocker/Peerblock/PeerGuardian on Debian(Jessie) (https://www.linuxquestions.org/questions/linux-newbie-8/installing-ipblocker-peerblock-peerguardian-on-debian-jessie-4175573283/)

vtoungate 02-26-2016 12:42 AM

Installing IPblocker/Peerblock/PeerGuardian on Debian(Jessie)
 


So I'm new to linux(wanted to get away from vista) I've gone to souceforge to install peerguardian but when I try to install the repository it tells me they are expired or no longer available. I tried to install ipblock but when I got to copying over the default setting files it came up with cp: cannot create regular file ‘/etc/ipblock.lists’: Permission denied. I even tried puting sudo in front of the command to no avail. I even checked my built in downloads folder to see if like ubutu that it has a ipblock list and it doesn't it just has firewall install so I'm kinda stuck at what to do or where to go to install an Ipblocker. Any and all help would be greatly appreciated, if possible please layout in a step by step how to install one if not some ipblock list

hydrurga 02-26-2016 02:38 AM

Install PeerGuardian Linux from the following PPA: ppa:jre-phoenix/ppa (once the PPA is set up, install pgld, pglcmd, and pglgui).

https://launchpad.net/~jre-phoenix/+archive/ubuntu/ppa

Works a charm.

vtoungate 02-26-2016 03:56 PM

Quote:

Originally Posted by hydrurga (Post 5506389)
Install PeerGuardian Linux from the following PPA: ppa:jre-phoenix/ppa (once the PPA is set up, install pgld, pglcmd, and pglgui).

https://launchpad.net/~jre-phoenix/+archive/ubuntu/ppa

Works a charm.

What are the steps for install? What are the commands? That's what I'm looking for. I don't know what a ppa is. I know I need to install the respiratory first.

hydrurga 02-26-2016 03:59 PM

Quote:

Originally Posted by vtoungate (Post 5506793)
What are the steps for install? What are the commands? That's what I'm looking for

They're on the web site I linked to under "Adding this PPA to your system" (don't forget to read "Read about installing" if you've never installed from a PPA before).

Then use sudo apt-get to install the three packages I mentioned, then run the GUI version and it just works.

vtoungate 02-26-2016 11:34 PM

Quote:

Originally Posted by hydrurga (Post 5506796)
They're on the web site I linked to under "Adding this PPA to your system" (don't forget to read "Read about installing" if you've never installed from a PPA before).

Then use sudo apt-get to install the three packages I mentioned, then run the GUI version and it just works.

victoria@Media:~
$ gpg --keyserver keyserver.ubuntu.com --recv-keys C0145138
gpg: requesting key C0145138 from hkp server keyserver.ubuntu.com
gpg: key C0145138: "jre-phoenix (moblock-deb maintainer) <jre-phoenix@users.sourceforge.net>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
victoria@Media:~
$ gpg --export --armor C0145138 | sudo apt-key add
[sudo] password for victoria:
gpg: can't open `': No such file or directory
victoria@Media:~
$ sudo apt-get update
Ign http://dl.google.com stable InRelease
Ign http://ftp.us.debian.org jessie InRelease
Hit http://security.debian.org jessie/updates InRelease
Ign http://moblock-deb.sourceforge.net debian InRelease
Hit http://dl.google.com stable Release.gpg
Ign http://iso.mxrepo.com jessie InRelease
Hit http://dl.google.com stable Release
Hit http://ftp.us.debian.org jessie Release.gpg
Ign http://moblock-deb.sourceforge.net debian Release.gpg
Ign http://iso.mxrepo.com mx15 InRelease
Ign http://ppa.launchpad.net maverick InRelease
Hit http://ftp.us.debian.org jessie Release
Ign http://moblock-deb.sourceforge.net debian Release
Get:1 http://iso.mxrepo.com jessie Release.gpg [490 B]
Hit http://iso.mxrepo.com mx15 Release.gpg
Get:2 http://ppa.launchpad.net maverick Release.gpg [316 B]
Hit http://security.debian.org jessie/updates/non-free amd64 Packages
Get:3 http://iso.mxrepo.com jessie Release [25.2 kB]
Hit http://dl.google.com stable/main amd64 Packages
Hit http://dl.google.com stable/main i386 Packages
Hit http://ppa.launchpad.net maverick Release
Ign http://ppa.launchpad.net maverick Release
Hit http://iso.mxrepo.com mx15 Release
Ign http://ftp.au.debian.org jessie InRelease
Hit http://security.debian.org jessie/updates/non-free i386 Packages
Get:4 http://iso.mxrepo.com jessie/main amd64 Packages [104 kB]
Ign http://ppa.launchpad.net maverick/main Sources/DiffIndex
Ign http://dl.google.com stable/main Translation-en_US
Ign http://ppa.launchpad.net maverick/main amd64 Packages/DiffIndex
Hit http://security.debian.org jessie/updates/non-free Translation-en
Ign http://dl.google.com stable/main Translation-en
Hit http://ftp.au.debian.org jessie Release.gpg
Hit http://security.debian.org jessie/updates/main amd64 Packages
Get:5 http://iso.mxrepo.com jessie/main i386 Packages [110 kB]
Ign http://ppa.launchpad.net maverick/main i386 Packages/DiffIndex
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Hit http://security.debian.org jessie/updates/main i386 Packages
Hit http://ftp.us.debian.org jessie/main amd64 Packages
Hit http://security.debian.org jessie/updates/contrib i386 Packages
Hit http://ftp.us.debian.org jessie/contrib amd64 Packages
Hit http://ftp.au.debian.org jessie Release
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://ftp.us.debian.org jessie/non-free amd64 Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://ftp.us.debian.org jessie/main i386 Packages
Hit http://ftp.us.debian.org jessie/contrib i386 Packages
Hit http://ftp.us.debian.org jessie/non-free i386 Packages
Hit http://ftp.us.debian.org jessie/contrib Translation-en
Hit http://ftp.us.debian.org jessie/main Translation-en
Hit http://ftp.us.debian.org jessie/non-free Translation-en
Hit http://iso.mxrepo.com mx15/main amd64 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://iso.mxrepo.com mx15/non-free amd64 Packages
Hit http://iso.mxrepo.com mx15/main i386 Packages
Hit http://ppa.launchpad.net maverick/main amd64 Packages
Hit http://iso.mxrepo.com mx15/non-free i386 Packages
Hit http://ppa.launchpad.net maverick/main i386 Packages
Err http://moblock-deb.sourceforge.net debian/jessie amd64 Packages
404 Not Found
Err http://moblock-deb.sourceforge.net debian/main amd64 Packages
404 Not Found
Err http://moblock-deb.sourceforge.net debian/jessie i386 Packages
404 Not Found
Err http://moblock-deb.sourceforge.net debian/main i386 Packages
404 Not Found
Ign http://moblock-deb.sourceforge.net debian/jessie Translation-en_US
Ign http://moblock-deb.sourceforge.net debian/jessie Translation-en
Ign http://moblock-deb.sourceforge.net debian/main Translation-en_US
Ign http://ppa.launchpad.net maverick/main Translation-en_US
Ign http://moblock-deb.sourceforge.net debian/main Translation-en
Ign http://iso.mxrepo.com jessie/main Translation-en_US
Ign http://iso.mxrepo.com jessie/main Translation-en
Ign http://ppa.launchpad.net maverick/main Translation-en
Ign http://iso.mxrepo.com mx15/main Translation-en_US
Ign http://iso.mxrepo.com mx15/main Translation-en
Ign http://iso.mxrepo.com mx15/non-free Translation-en_US
Ign http://iso.mxrepo.com mx15/non-free Translation-en
Hit http://ftp.au.debian.org jessie/main amd64 Packages
Hit http://ftp.au.debian.org jessie/contrib amd64 Packages
Hit http://ftp.au.debian.org jessie/non-free amd64 Packages
Hit http://ftp.au.debian.org jessie/main i386 Packages
Hit http://ftp.au.debian.org jessie/contrib i386 Packages
Hit http://ftp.au.debian.org jessie/non-free i386 Packages
Hit http://ftp.au.debian.org jessie/contrib Translation-en
Hit http://ftp.au.debian.org jessie/main Translation-en
Hit http://ftp.au.debian.org jessie/non-free Translation-en
Fetched 240 kB in 7s (33.8 kB/s)
W: GPG error: http://ppa.launchpad.net maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 39456311108B243F
W: Failed to fetch http://moblock-deb.sourceforge.net/d...amd64/Packages 404 Not Found

W: Failed to fetch http://moblock-deb.sourceforge.net/d...amd64/Packages 404 Not Found

W: Failed to fetch http://moblock-deb.sourceforge.net/d...-i386/Packages 404 Not Found

W: Failed to fetch http://moblock-deb.sourceforge.net/d...-i386/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
victoria@Media:~
$ sudo apt-get install pgld
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package pgld is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

W: Duplicate sources.list entry http://ftp.au.debian.org/debian/ jessie/main amd64 Packages (/var/lib/apt/lists/ftp.au.debian.org_debian_dists_jessie_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://ftp.au.debian.org/debian/ jessie/contrib amd64 Packages (/var/lib/apt/lists/ftp.au.debian.org_debian_dists_jessie_contrib_binary-amd64_Packages)
W: Duplicate sources.list entry http://ftp.au.debian.org/debian/ jessie/non-free amd64 Packages (/var/lib/apt/lists/ftp.au.debian.org_debian_dists_jessie_non-free_binary-amd64_Packages)
W: Duplicate sources.list entry http://ftp.au.debian.org/debian/ jessie/main i386 Packages (/var/lib/apt/lists/ftp.au.debian.org_debian_dists_jessie_main_binary-i386_Packages)
W: Duplicate sources.list entry http://ftp.au.debian.org/debian/ jessie/contrib i386 Packages (/var/lib/apt/lists/ftp.au.debian.org_debian_dists_jessie_contrib_binary-i386_Packages)
W: Duplicate sources.list entry http://ftp.au.debian.org/debian/ jessie/non-free i386 Packages (/var/lib/apt/lists/ftp.au.debian.org_debian_dists_jessie_non-free_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Package 'pgld' has no installation candidate
victoria@Media:~
$ sudo apt-get install pgld pglcmd pglgui
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package pgld is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'pgld' has no installation candidate
E: Unable to locate package pglcmd
E: Unable to locate package pglgui
victoria@Media:~
$ sudo apt-get install pglcmd
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pglcmd
victoria@Media:~
$ sudo apt-get install pglgui
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pglgui
victoria@Media:~
$



it does not work I have done all of this this is why I need a step by step of how to install this this is why I need the to know what to type into the terminal. The repository is there I just need to know what to do next and I'm not running Ubuntu so those commands do not work.

beachboy2 02-27-2016 01:59 AM

vtoungate,

Welcome to LQ.

I am guessing that you are using Debian 8 (Jessie)?

If so, follow the instructions here:

https://sourceforge.net/p/peerguardi...-DebianUbuntu/


First, you need to modify your /etc/apt/sources.list file:


Open Terminal as root user:

Code:

sudo su

Open the sources list with your favourite text editor (gedit, leafpad or nano etc):

Code:

gedit /etc/apt/sources.list
OR

Code:

leafpad /etc/apt/sources.list
OR

Code:

nano /etc/apt/sources.list
Add these lines to the opened file:

deb http://moblock-deb.sourceforge.net/debian jessie main
deb-src http://moblock-deb.sourceforge.net/debian jessie main

Save and close the file.

Update:
Code:

sudo apt-get update
Next, add the latest GPG key, one line at a time:

Code:

gpg --keyserver keyserver.ubuntu.com --recv-keys C0145138

gpg --export --armor C0145138 | sudo apt-key add -

Then,update again:

Code:

sudo apt-get update
Finally, install:

Code:

sudo apt-get install pgld pglcmd pglgui

vtoungate 02-27-2016 06:03 PM

where do I find the source list I looked through the pgl folder and was not able to find that I am stuck on this part if you explain it a little more I think I can get this to install

jere21 02-27-2016 08:06 PM

I assume you have some wrong assumptions about how to install 3rd party software (like peerguardian) in Linux. If you are on Debian Jessie then the instructions from beachboy2 were absolutely correct and complete. You don't have to do anything else (like e.g. downloading an installer from peerguardian.sourceforge.net as you would do in Windows - you don't need to visit that page, except for reading the documentation at https://sourceforge.net/p/peerguardi...-DebianUbuntu/).

Re "source list": The /etc/apt/sources.list is a file on your harddisk, it already exists. This file tells your system where it can get software from.

Re "pgl folder": Did you download something manually and extract it? That's not necessary, you are on the wrong track, see above.

Good luck
jre (one of the pgl authors and deb maintainer)

EDIT: I read your last post too sloppily, seems you were already on the right track.
You had one typo (missing "-" as last character of the command) when you tried to add my GPG key. Should have been:
Code:

gpg --export --armor C0145138 | sudo apt-key add -

vtoungate 02-27-2016 11:29 PM

oh thank you beachboy2 and jere21 I was able to install I just now need to set it up thank you both for being patient with me and explaining in step by step process for a linux newbie like me

beachboy2 02-28-2016 02:07 AM

vtoungate,

Glad to be of assistance.

It is a good idea to copy/paste commands into Terminal and then there are no typing errors. I should have made a note of that.

You may find these two cheat sheets useful in the future:

http://www.cheat-sheets.org/saved-copy/ubunturef.pdf

https://fosswire.com/post/2007/08/un...d-cheat-sheet/

The Command Line by William E Shotts Jr is heavier going but is more detailed:
https://courseweb.pitt.edu/bbcswebda...tts%202009.pdf

Just take it slowly, one bit at a time. It is a gradual learning process.


All times are GMT -5. The time now is 08:40 PM.