Package Details: i2p 1.8.0-1

Git Clone URL: https://aur.archlinux.org/i2p.git (read-only, click to copy)
Package Base: i2p
Description: A distributed anonymous network
Upstream URL: https://geti2p.net
Keywords: anonymous censorship encrypted i2p network
Licenses: GPL2
Conflicts: i2p-bin, i2p-dev
Submitter: Mikos
Maintainer: skydrome
Last Packager: skydrome
Votes: 313
Popularity: 1.78
First Submitted: 2005-09-04 19:46 (UTC)
Last Updated: 2022-05-25 13:57 (UTC)

Dependencies (4)

Sources (9)

Pinned Comments

skydrome commented on 2020-02-19 14:50 (UTC)

you can download the key from https://geti2p.net/_static/zzz.key.asc and gpg --import

Latest Comments

cyberpunkrocker commented on 2022-04-22 20:47 (UTC)

Ok, and now the checksum of update_firefox_useragent has changed AGAIN...

MaxPD commented on 2022-04-13 18:29 (UTC)

The sha256sum of update_firefox_useragent could not be validated. It is:

2ca764b5942fc3beea48596d5e1ec0335f712653e0206a85038009cd4c0b5ec3

instead of

70f2ada05fa56e06c7cfc107a87b327aa37683bd0c47f0cb5454c60105a71be8

mrepic_invader commented on 2022-02-24 18:09 (UTC)

Hello, version 1.7.0 has been released. Could you Please update it here thanks in advance :) https://files.i2p-projekt.de/1.7.0/

TJM commented on 2021-12-01 19:11 (UTC) (edited on 2021-12-01 19:11 (UTC) by TJM)

New version 1.6.1 has been published to the source server. Please update the package.

applebloom commented on 2021-09-18 21:33 (UTC)

I have no idea how this java thing works (ti's a horrible mess, like there are 5 or so sets of packages for different major releases), but anyway, this package failed to build unless I installed java 11 (jdk11-openjdk) and set this as the default java environment (archlinux-java set java-11-openjdk).

agarbathi commented on 2020-02-29 07:58 (UTC)

i2p 0.9.45 install/update failed:

==> FEHLER: Ein Fehler geschah in prepare(). Breche ab... Error making: i2p

skydrome commented on 2020-02-26 20:23 (UTC) (edited on 2020-02-26 20:24 (UTC) by skydrome)

Had a power outage when I was preparing this and had to use a different computer that didnt have my current changes bundled with it being 4am, its fixed now, sry.

For message about expiring key, gpg --refresh-keys EE7256A8 should alleviate the warning

frankspace commented on 2020-02-25 14:33 (UTC)

Compilation of 0.9.45 fails for me when trying to apply the patch file. Compilation succeeds when I comment out patching. I haven't yet tested if anything actually and substantively works afterward, but is the upstream-fixes patch still necessary?

AlPiotrowicz commented on 2020-02-25 11:16 (UTC)

Hi, there is a warning about an expired key, but moreover I get:

patching file apps/routerconsole/java/src/com/vuze/plugins/mlab/MLabRunner.java
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file apps/routerconsole/java/src/com/vuze/plugins/mlab/MLabRunner.java.rej
patching file apps/routerconsole/java/src/edu/internet2/ndt/JSONUtils.java
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file apps/routerconsole/java/src/edu/internet2/ndt/JSONUtils.java.rej
patching file apps/routerconsole/java/src/edu/internet2/ndt/NDTConstants.java
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file apps/routerconsole/java/src/edu/internet2/ndt/NDTConstants.java.rej
patching file apps/routerconsole/java/src/edu/internet2/ndt/Protocol.java
Hunk #1 succeeded at 105 (offset 23 lines).
patching file apps/routerconsole/java/src/edu/internet2/ndt/Tcpbw100.java
Reversed (or previously applied) patch detected!  Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file apps/routerconsole/java/src/edu/internet2/ndt/Tcpbw100.java.rej
patching file history.txt
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file history.txt.rej
patching file router/java/src/net/i2p/router/JobQueue.java
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file router/java/src/net/i2p/router/JobQueue.java.rej
patching file router/java/src/net/i2p/router/RouterVersion.java
patching file router/java/src/net/i2p/router/message/OutboundClientMessageOneShotJob.java
Reversed (or previously applied) patch detected!  Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file router/java/src/net/i2p/router/message/OutboundClientMessageOneShotJob.java.rej

JustTimoCraft commented on 2020-02-19 15:03 (UTC)

That did it, thank you!

skydrome commented on 2020-02-19 14:50 (UTC)

you can download the key from https://geti2p.net/_static/zzz.key.asc and gpg --import

JustTimoCraft commented on 2020-02-19 13:53 (UTC)

I'm having trouble verifying the source file signature. I've tried adding the key 85F345DD59683006 with the command gpg --keyserver pgp.mit.edu --recv-keys 85F345DD59683006 but the keyserver is not available. Using hkp://pgp.mit.edu:80 also fails. Any help is greatly appreciated.

skydrome commented on 2019-10-23 04:38 (UTC) (edited on 2019-10-23 08:33 (UTC) by skydrome)

fixed translations building, problem was hardcoded gettext version in the source

dluciv commented on 2019-09-24 06:24 (UTC)

i2psource_0.9.42.tar.bz2 fails on integrity check for i2p 0.9.42-2

DDoSolitary commented on 2019-09-13 09:01 (UTC)

Strangely this package can be compiled with JDK 11 but not 12

tcdd87 commented on 2019-09-11 19:08 (UTC)

same error as @pnylon. validity check failed.

panthar commented on 2019-09-11 18:33 (UTC)

@tydynrain and anyone else with compile issues: i2p supports JDK/JRE 8, with version 9 in beta testing. The PKGBUILD specifies >= 8 so you could have version 8 to 12 installed. Make sure you are using JDK/JRE version 8 to build i2p.

tydynrain commented on 2019-09-09 08:03 (UTC)

Version 0.9.42-2 does not successfully build for me:

bundle:

 [exec] Generating net.i2p.desktopgui.messages_ar ResourceBundle...

 [exec] msgfmt: Java compiler not found, try installing gcj or set $JAVAC

 [exec] ERROR - msgfmt failed on locale/messages_ar.po, not updating translations

 [exec] msgfmt: compilation of Java class failed, please try --verbose or set $JAVAC

 [exec] 15 translated messages.

BUILD FAILED

/home/tydynrain/.cache/aurutils/sync/i2p/src/i2p-0.9.42/build.xml:396: The following error occurred while executing this line: /home/tydynrain/.cache/aurutils/sync/i2p/src/i2p-0.9.42/apps/desktopgui/build.xml:43: exec returned: 1

Total time: 8 seconds

==> ERROR: A failure occurred in build().

Aborting...

pnylon commented on 2019-09-08 16:09 (UTC)

Hmm, I'm getting the same error as @CimpianAlin. ==> ERROR: One or more files did not pass the validity check!

CimpianAlin commented on 2019-09-08 09:57 (UTC) (edited on 2019-09-08 10:22 (UTC) by CimpianAlin)

I can install i2p skydrome without problems, no more problem with validity check, Thank you skydrome for your hard work and for your support. Now install of i2p work and I can run i2p without problems it work great. Thank you, God bless you.

skydrome commented on 2019-09-07 12:30 (UTC)

im still not receiving emails from the aur, so I apologize. Thank you Cimpian for directly emailing me. I removed the grep on the website, shoulda known it would change eventually and ruin it.

CimpianAlin commented on 2019-09-07 03:57 (UTC)

Preparing... Cloning i2p build files... Checking i2p dependencies...

Building i2p... ==> Making package: i2p 0.9.42-2 (Sb 07 sep 2019 06:57:23 +0300) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found i2psource_0.9.42.tar.bz2 -> Found i2psource_0.9.42.tar.bz2.sig -> Found i2prouter.service -> Found i2prouter.sh -> Found wrapper.config -> Found router.config ==> Validating source files with sha256sums... i2psource_0.9.42.tar.bz2 ... FAILED i2psource_0.9.42.tar.bz2.sig ... Skipped i2prouter.service ... Passed i2prouter.sh ... Passed wrapper.config ... Passed router.config ... Passed ==> ERROR: One or more files did not pass the validity check!

DDoSolitary commented on 2019-09-05 09:43 (UTC)

@skydrome Build is failing. The _hash fetched is for the docker image instead of source archive. Maybe you need to use -e '20,20!d' instead. By the way, I don't think it's a good idea to get the hash sum in this way because the source doesn't allow you to specify a version number, so once the upstream releases a new version, the package will be broken until you update it here.

hotice commented on 2019-03-28 17:19 (UTC)

@shackra

I had the same error after upgrade to 0.9.39-1. The directory owner has been changed for some strange reason. My fix was just run

sudo chown -v -R i2p:i2p /opt/i2p

shackra commented on 2019-03-24 18:27 (UTC)

the service cannot be started:

mar 24 12:25:59 sanson-gnu systemd[1]: Starting Invisible Internet Project...
mar 24 12:25:59 sanson-gnu java-service-wrapper[9784]: FATAL  | wrapper  | Unable to open configuration file: /opt/i2p/wrapper.config (Permiso denega>
mar 24 12:25:59 sanson-gnu java-service-wrapper[9784]: FATAL  | wrapper  |   Current working directory: /usr/bin
mar 24 12:25:59 sanson-gnu java-service-wrapper[9784]: FATAL  | wrapper  |   The Wrapper will stop.
mar 24 12:25:59 sanson-gnu wrapper[9784]: Unable to write to the configured log file: /wrapper.log (Permiso denegado)
                                            Falling back to the default file in the current working directory: wrapper.log
mar 24 12:25:59 sanson-gnu wrapper[9784]: Unable to write to the default log file: wrapper.log (Permiso denegado)
                                            Disabling log file.
mar 24 12:25:59 sanson-gnu systemd[1]: i2prouter.service: Control process exited, code=exited, status=1/FAILURE
mar 24 12:25:59 sanson-gnu systemd[1]: i2prouter.service: Failed with result 'exit-code'.
mar 24 12:25:59 sanson-gnu systemd[1]: Failed to start Invisible Internet Project.

skydrome commented on 2018-10-11 04:27 (UTC)

I was using a custom version of apache-ant and didnt see they change updated their package. Thanks, its good now.

CurtisLeeBolin commented on 2018-10-10 16:53 (UTC)

==> Starting build()... Projects/i2p/PKGBUILD: line 44: /etc/profile.d/apache-ant.sh: No such file or directory

https://www.archlinux.org/packages/extra/any/ant/

applebloom commented on 2018-09-24 16:20 (UTC) (edited on 2018-09-24 16:20 (UTC) by applebloom)

I had to remove the line sourcing "/etc/profile.d/apache-ant.sh" to build it now, as the file doesn't exist (I guess it once provided by (apache) ant, but removed). Also, ant now apparently requires Java 8 at minimum, so you need that to compile this package.

skydrome commented on 2018-08-27 02:27 (UTC)

You can surely comment it out if you wish. Haven't came across anyone using an ipv6-only system in the last 8 yrs of maintaining this, which is where the only issue with it should arise.

airgap commented on 2018-08-26 17:20 (UTC) (edited on 2018-08-26 17:20 (UTC) by airgap)

The default wrapper.config shipped with this package (and i2p-bin) completely and forcefully disables ipv6 for i2p.

The problematic lines are:

wrapper.java.additional.5=-Djava.net.preferIPv4Stack=true

wrapper.java.additional.6=-Djava.net.preferIPv6Addresses=false

Are these lines still necessary, as mentioned in the comment next to them?

Finding these two lines has the cause of non-functional ipv6 has taken several hours. i2p has supports ipv6 now so it shouldn't be disabled by default with absolutely no mention anywhere.

And yes, the configuration disables ipv6, it is not just "not preferred". Just look at this error generated by i2p with the lines in place: Unable to bind routerconsole to :: port 7657: java.io.IOException: IPv6 addresses unsupported

SailBoatPillow commented on 2018-07-05 00:33 (UTC)

still broken, apache-ant-10 is also broken.

eimis commented on 2018-05-20 19:36 (UTC) (edited on 2018-05-20 20:41 (UTC) by eimis)

doesn't work on one of my Arch machines:

May 20 22:30:24 iss systemd[1]: Starting Invisible Internet Project...

May 20 22:30:25 iss systemd[1]: i2prouter.service: Can't open PID file /run/i2p/i2p.pid (yet?) after start: No such file or directory

May 20 22:30:29 iss systemd[1]: i2prouter.service: Supervising process 418 which is not our child. We'll most likely not notice when it exits.

May 20 22:30:29 iss kill[419]: kill: sending signal to 418 failed: No such process

May 20 22:30:29 iss systemd[1]: i2prouter.service: Control process exited, code=exited status=1

May 20 22:30:29 iss systemd[1]: i2prouter.service: Failed with result 'exit-code'.

May 20 22:30:29 iss systemd[1]: Failed to start Invisible Internet Project.

Fixed:

# archlinux-java fix

eimis commented on 2018-05-20 19:15 (UTC)

doesn't compile with java10 because javah was deprecated. java 9 is max, maybe adjust the dependency?

bm456 commented on 2018-05-12 02:33 (UTC) (edited on 2018-05-12 02:33 (UTC) by bm456)

Broken :)

java service-wrapper is going crazy and doesnt let use i2p https://p.teknik.io/MuSuN

qft commented on 2017-11-25 02:04 (UTC)

Both this package and i2p-bin cannot be uninstalled cleanly with pacman. The folder /opt/i2p is not completely removed after uninstalling the package.

vorot93 commented on 2017-11-19 19:37 (UTC)

I strongly suggest that localizations are included by default. Building this package is painful for international users because we have to modify PKGBUILD on each update in order not to lose translations.

fuhd commented on 2017-10-15 03:16 (UTC)

Will it be better to use wrapper.config and i2prouter.sh bundled in the source code in installer/resources/ ?

HellishINC commented on 2017-03-10 00:58 (UTC)

Key provided by lee8oi works but only if you dont specify key server. gpg --recv-keys 85F345DD59683006

lee8oi commented on 2017-03-04 06:01 (UTC)

gpg --keyserver pgp.mit.edu --recv-keys 85F345DD59683006 Works for i2psource_0.9.29

mashmayhem commented on 2016-11-21 15:40 (UTC)

Regarding "error: unmappable character for encoding ASCII" earlier reported by users jpg and D101101: solution was: export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 before yaourt -S i2p

fordprefect commented on 2016-10-22 20:04 (UTC)

@maska: please refer to the wiki page https://wiki.archlinux.org/index.php/I2P

maska commented on 2016-10-22 19:01 (UTC)

Many thanks I was able to install i2p on my parabola gnu linux. I'm new with arch linux and I have a question: How I can start i2p at boot like a service? Thanks for reply

GI_Jack commented on 2016-10-18 21:24 (UTC)

==> Starting package()... install: cannot stat '/tmp/packerbuild-1000/i2pd/i2pd/src/i2pd-2.10.0/debian/tunnels.conf': No such file or directory

SejmL commented on 2016-10-16 10:50 (UTC)

for 0.9.26-1 ==> Verifying source file signatures with gpg... i2psource_0.9.26.tar.bz2 ... FAILED (unknown public key 85F345DD59683006) ==> ERROR: One or more PGP signatures could not be verified! ==> ERROR: Makepkg was unable to build .

skydrome commented on 2016-08-26 20:50 (UTC)

yep that is better, changed it, thanks

fordprefect commented on 2016-08-26 07:40 (UTC)

sry, but this change is nonsense. changing permissions in post_install will confuse pacman, please adjust all permissions in PKGBUILD -> package(). the current way will make pacman complain about permissions deviating from the package.

skydrome commented on 2016-08-26 05:21 (UTC)

I chose to keep everything under one directory for simplicity. i2p does need a shell to run the wrapper

fordprefect commented on 2016-08-24 11:04 (UTC)

how about moving $HOME for the i2p user to /var/i2p instead of /opt/i2p? this would prevent cluttering /opt with userdata. also, please change the users shell to /bin/false, i2p needs no shell access.

LKHN commented on 2016-07-06 21:56 (UTC)

i2psource_0.9.26.tar.bz2 ... FAILED (unknown public key 85F345DD59683006) ==> ERROR: One or more PGP signatures could not be verified! ==> ERROR: Makepkg was unable to build i2p. ==> Restart building i2p ? [y/N]

skydrome commented on 2016-06-10 09:10 (UTC)

https://wiki.archlinux.org/index.php/java#Change_default_Java_environment

kete commented on 2016-06-10 01:41 (UTC)

BUILD FAILED /home/kete/tor-browser_en-US/Browser/Downloads/software/i2p/src/i2p-0.9.26/build.xml:380: The following error occurred while executing this line: /home/kete/tor-browser_en-US/Browser/Downloads/software/i2p/src/i2p-0.9.26/core/java/build.xml:57: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/usr/lib/jvm/java-8-openjdk/jre"

Shorrer commented on 2016-05-03 21:34 (UTC)

For 0.9.25: gpg --keyserver pgp.mit.edu --recv-keys EE7256A8 That worked for me, at least.

eraxe commented on 2016-04-27 22:28 (UTC)

The new key for 0.9.25 ?

Fanch commented on 2016-04-25 20:41 (UTC)

Hello, Error on build : ==> Verifying source file signatures with gpg... i2psource_0.9.25.tar.bz2 ... FAILED (unknown public key 85F345DD59683006) It look like it is not the same key as in PKGBUILD file : validpgpkeys=('2D3D2D03910C6504C1210C65EE60C0C8EE7256A8' '2253E2A1EEB40E2A3D22EB1D0EC51FCDA94FB53E')

kete commented on 2016-04-13 02:03 (UTC)

Ok, I put it in the wiki. https://wiki.archlinux.org/index.php/I2P#Eepsite

skydrome commented on 2016-04-13 00:06 (UTC)

@kete, i2p users home is at /opt/i2p/.i2p

kete commented on 2016-04-09 12:31 (UTC)

How do you make a website? The i2p instructions don't apply, and it doesn't make a difference if I change /opt/i2p/eepsite/docroot/index.html

gabeotisbenson commented on 2016-03-03 00:36 (UTC)

For 0.9.24, the key has changed again. $ gpg --keyserver pgp.mit.edu --recv-keys EE7256A8

wilfred commented on 2016-01-09 16:26 (UTC)

For 0.9.23, the release has been signed by str4d. You can find their key listed here: https://geti2p.net/en/get-involved/develop/release-signing-key To import it: $ gpg --keyserver pgp.mit.edu --recv-keys 0EC51FCDA94FB53E This will solve the 'One or more PGP signatures could not be verified'. Ideally the PKGBUILD should have its validpgpkeys updated.

anastiel commented on 2016-01-06 12:45 (UTC)

If I2P does not start, please try: /home/anastiel/i2p/runplain.sh

anastiel commented on 2016-01-06 12:44 (UTC)

mkdir $HOME/i2pinstall cd $HOME/i2pinstall wget http://download.i2p2.no/releases/0.9.23/i2pinstall_0.9.23.jar java -jar i2pinstall_0.9.23.jar remova a pasta i2pinstall e os conteudos cd $HOME rm -Rf $HOME/i2pinstall

anastiel commented on 2016-01-06 12:42 (UTC)

error clock solution?

NoSuck commented on 2016-01-02 06:07 (UTC)

The robert package is listed as an optional dependency, yet neither Arch nor the AUR provide it.

JohnRobson commented on 2015-12-13 06:56 (UTC)

==> Verifying source file signatures with gpg... i2psource_0.9.23.tar.bz2 ... FAILED (unknown public key 13B5EE58C09FB3E0) ==> ERROR: One or more PGP signatures could not be verified! ==> ERROR: Makepkg was unable to build i2p.

commented on 2015-12-04 04:09 (UTC)

Please update the service file as this package is currently broken: 1. Change 'RequiresOverridable' to 'Requires' or else the service wont start. [/etc/systemd/system/i2prouter.service:4] Unit dependency type RequiresOverridable= is obsolete, replacing by Requires=, please update your unit file 2. If the service now requires `tlsdate` and `ntp`, then update the PKGBUILD depends=() to reflect that or else the service won't start. Thank you.

CurtisLeeBolin commented on 2015-11-30 12:35 (UTC)

==> Validating source files with sha256sums... i2psource_0.9.23.tar.bz2 ... Passed i2psource_0.9.23.tar.bz2.sig ... Skipped i2prouter.service ... FAILED i2prouter.sh ... Passed wrapper.config ... Passed router.config ... Passed ==> ERROR: One or more files did not pass the validity check! ==> ERROR: Makepkg was unable to build i2p.

denspirit commented on 2015-11-22 15:51 (UTC)

Could you please drop executable permissions on PKGBUILD and other files? They aren't necessary.

skydrome commented on 2015-09-29 06:52 (UTC)

re-download the package, whatever you were transferring the file with must have corrupted it. check its md5sum it should return: 873a3eaed1052e895255995971c8603c i2p.install

jedodi commented on 2015-09-27 13:44 (UTC)

When I try to build via "makepkg -is" I get the error message "==> ERROR: install file (i2p.install) does not exist or is not a regular file.". How can I fix this?

skydrome commented on 2015-09-13 19:29 (UTC)

https://geti2p.net/en/blog/post/2015/09/12/0.9.22-Release

prius commented on 2015-07-04 03:33 (UTC)

Run gpg --recv-keys 85F345DD59683006 as your user (i.e. not root and without sudo). This fixed issue for me.

commented on 2015-06-03 04:27 (UTC)

https://geti2p.net/en/blog/post/2015/06/02/0.9.20-Release

tancrackers commented on 2015-06-01 23:27 (UTC)

I get this error: ==> Verifying source file signatures with gpg... i2psource_0.9.19.tar.bz2 ... FAILED (unknown public key 85F345DD59683006) ==> ERROR: One or more PGP signatures could not be verified! ==> ERROR: Makepkg was unable to build i2p.

jpg commented on 2015-05-26 17:15 (UTC)

Hi, i also had (like D101101) the following problem: "error: unmappable character for encoding ASCII" i was able to solve it by doing this before the makepkg 'LANG="en_US.UTF-8"'

commented on 2015-04-13 04:26 (UTC)

https://geti2p.net/en/blog/post/2015/04/12/0.9.19-Release

skydrome commented on 2015-02-24 16:47 (UTC)

https://geti2p.net/en/blog/post/2015/02/22/0.9.18-Release

skydrome commented on 2015-02-12 02:15 (UTC)

Great, glad this is getting sorted now, next release in a few weeks

zin commented on 2015-02-09 09:58 (UTC)

The key from https://geti2p.net/en/get-involved/develop/release-signing-key is EE7256A8: "zzz on i2p (key signing) <zzz@mail.i2p>" You can add it manually from specified keyserver: gpg --keyserver pool.sks-keyservers.net --recv-keys 0xEE7256A8 You can specify the keyserver in your ~/.gnupg/gpg.conf : keyserver pool.sks-keyservers.net gpg --recv-keys 0xEE7256A8 # will work if you add/uncomment in ~/.gnupg/gpg.conf keyserver-options auto-key-retrieve Then gpg will automatically get then makepkg trust the key. Please check zkai and skydome comments, follow their advice.

socrat commented on 2015-02-09 05:43 (UTC)

skydrome the problem wasnt with that. looks like the keyserver wasnt supplying the key for some time. I just check again and I got it with gpg --recv-keys 0xEE7256A8 while it failed before that.

skydrome commented on 2015-01-31 22:28 (UTC)

http://allanmcrae.com/2015/01/two-pgp-keyrings-for-package-management-in-arch-linux also has a bit more information

skydrome commented on 2015-01-31 22:16 (UTC)

Ok this is getting a little "ubuntuish" if you will. I haven't touched my pgp configuration since zzz changed his signing key a very long time ago yet: ==> Verifying source file signatures with gpg... i2psource_0.9.17.tar.bz2 ... Passed now will everyone experiencing issues with verifying the source please please please make your way to the arch wiki and read about how to trust a key. Zkai has posted the exact two links for you all multiple times. And dont stop there, keep reading the entire wiki.

socrat commented on 2015-01-31 04:04 (UTC)

@zkai As I mentioned earlier I did make public keys and allowed autofetching of keys in addition to adding a keyserver. I still get i2psource_0.9.17.tar.bz2 ... FAILED (the public key 2D3D2D03910C6504C1210C65EE60C0C8EE7256A8 is not trusted) upon trying to add the key manually with gpg --import i2p-sign.key I get gpg: no valid OpenPGP data found. gpg: Total number processed: 0 So as SirSloth mentioned we are trying to find a soulution even if temporary and I already know its a bad practice to disable signchecking,this is my first try at i2p and I just wanted to try it.If the building doesnt work lot of people would be discouraged to try it. If you still think we are doing something wrong please elaborate more than your vague comment which we have read before and tried.Maybe it is missing certain steps,or maybe there is a bug somewhere.

commented on 2015-01-31 00:54 (UTC)

With all due respect, Zkai, what you posted is not a fix. I would also like to inform you that using your work-around did not work for me, either. It was one of the first things I did before making my comment since I've had to do this before with other files. It will work if I download the I2P tar myself and verify it, but does not work if I let pacman or yaourt download the package, which is how I want to install and manage the program. Please note that we are trying to help the maintainer and other users here, not disrespect our fellow Arche users.

zkai commented on 2015-01-30 13:34 (UTC)

To the maintainer: Thank you. To all the people that have been committing here recently: I am glad you are not the maintainer. I even posted a comment how to install this properly. Yeah, the maintainer probably should put some comments in the pkgbuild file (if that is part of Archlinux's style guide) like something I posted in my previous comment, but the whole point of the sig is that you verify that the source code. The whole point of why you would use I2P is based on security and has a foundation on these basic checks. How do you know the government, your ISP, or someone else hasn't modified the code? You would not that is the point of the sig files. You should not use I2P, you will just make the community look bad. Yet again here is the way that you can keep the sig files and build from verified source code. ============================================================================== If you get a error about unknown public key you will need to either download and manually add the public key manually from a trusted location or follow this tip. Then you will need to sign it to trust it pacman-key --lsign-key <key id> . This is assuming that you have already created local keys. https://wiki.archlinux.org/index.php/GnuPG#Create_key Tip: To allow makepkg to fetch keys as needed from the keyserver automatically, uncomment the option keyserver-options auto-key-retrieve in the ~/.gnupg/gpg.conf configuration file. https://wiki.archlinux.org/index.php/makepkg#Signature_checking

socrat commented on 2015-01-30 12:56 (UTC)

I removed all lines relating to signature checking & downloading of i2psource_0.9.17.tar.bz2.sig and the skip in sh256. and compiled it successfully . Those are 3 lines "${_url}/i2psource_${pkgver}.tar.bz2.sig" from source "http://echelon.i2p/${pkgver}/i2psource_${pkgver}.tar.bz2.sig" from fetch and 'SKIP' from sha256 sums

commented on 2015-01-30 06:04 (UTC)

I can confirm what Socrat says. The key referenced by the error seems to be for a 0.7 version of I2P. Maybe the PKGBUILD just needs to be tweaked?

socrat commented on 2015-01-29 03:58 (UTC)

Sorry for flagging this ood.You can unflag it again. The problem is only with the signing key. I had to uncomment the option keyserver-options auto-key-retrieve in the ~/.gnupg/gpg.conf and add a keyserver for it to run. However I still have a problem with it since the key couldnt be verified. I also tried getting the key directly issuing the following command $ gpg --recv-keys 0xEE7256A8 but im still encountering this error. gpg: keyserver receive failed: No data Also tried adding the key directly by gpg --import i2p.key Where I copied it directly from i2p website and I was encountered with this gpg: no valid OpenPGP data found. gpg: Total number processed: 0 I hope you could bypass these in the future

muchweb commented on 2015-01-28 16:14 (UTC)

==> Verifying source file signatures with gpg... i2psource_0.9.17.tar.bz2 ... FAILED (unknown public key 85F345DD59683006) ==> ERROR: One or more PGP signatures could not be verified!

socrat commented on 2015-01-27 05:43 (UTC)

building failed. invalid pgp signatures.

zkai commented on 2015-01-13 03:31 (UTC)

Change the single quotes to double quotes for 404 download error. _url='https://launchpad.net/i2p/trunk/${pkgver}/+download' to _url="https://launchpad.net/i2p/trunk/${pkgver}/+download" If you get a error about unknown public key you will need to either download and manually add the public key manually from a trusted location or follow this tip. Then you will need to sign it to trust it pacman-key --lsign-key <key id> . This is assuming that you have already created local keys. https://wiki.archlinux.org/index.php/GnuPG#Create_key Tip: To allow makepkg to fetch keys as needed from the keyserver automatically, uncomment the option keyserver-options auto-key-retrieve in the ~/.gnupg/gpg.conf configuration file. https://wiki.archlinux.org/index.php/makepkg#Signature_checking

securitybreach commented on 2015-01-12 03:55 (UTC)

Getting a 404 on the source: ==> Retrieving sources... -> Downloading i2psource_0.9.17.tar.bz2... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 404 Not Found ==> ERROR: Failure while downloading i2psource_0.9.17.tar.bz2

skydrome commented on 2015-01-03 05:39 (UTC)

the wrapper acts on different signals to do different things (wrapper.signal.mode). HUP = a graceful shutdown QUIT = thread dump USR1 = hard restart TERM = shutdown i believe its bad practice to tell systemd to execute a shell script instead of letting systemd manage this itself. Dont think its a good idea, and i have been told not to do that by arch devs in the past.

commented on 2015-01-02 21:55 (UTC)

skydrome: Hello again. One question: why is the systemd service's 'ExecReload' and 'ExecStop' killing i2p with SIGHUP instead of calling the i2prouter script with 'i2prouter restart' and 'i2prouter graceful', respectively?

skydrome commented on 2014-12-18 02:31 (UTC)

you should really be reviewing PKGBUILDs of packages such as this yourself, never run anything that you dont know whats going on.

vorot93 commented on 2014-12-16 19:05 (UTC)

The package omits locale installation.

JKAbrams commented on 2014-12-02 03:14 (UTC)

Alright, so I found a problem that might be related to packaging: When I try to start Jetty I get: java.io.FileNotFoundException: /usr/bin/eepsite/jetty.xml (No such file or directory) Jetty thinks /usr/bin/ is /opt/i2p/ I tried renaming the symlink /usr/bin/i2prouter and starting from the actual script /opt/i2p/i2prouter but that gave the same results. Changing (in file clients.config) clientApp.3.args="eepsite/jetty.xml" to clientApp.3.args="/opt/i2p/eepsite/jetty.xml" and (in file eepsite/jetty.xml) <Set name="config">./eepsite/etc/realm.properties</Set> to <Set name="config">/opt/i2p/eepsite/etc/realm.properties</Set> and <Set name="filename">./eepsite/logs/yyyy_mm_dd.request.log</Set> to <Set name="filename">/opt/i2p/eepsite/logs/yyyy_mm_dd.request.log</Set> fixes the problem.

JKAbrams commented on 2014-12-02 00:14 (UTC)

Getting console output was real easy: i2prouter console My problems was a lack of the pgrep command (procps-ng package) and the log folder was owned by root. Nothing points to a deficiency in this package, other than perhaps a dependency on procps-ng, however this is in the base package and I don't know if they should be included.

JKAbrams commented on 2014-12-01 21:37 (UTC)

I just tried and the problem is running as the i2p user and not systemd. sudo -u i2p /usr/bin/java-service-wrapper /opt/i2p/wrapper.config wrapper.name=i2prouter wrapper.syslog.ident=i2prouter wrapper.daemonize=TRUE results in the same problem. The same (100% CPU, router does not work, web interface does work) goes for running: i2prouter start

JKAbrams commented on 2014-12-01 21:21 (UTC)

skydome: I'm aware it uses some CPU cycles when the router starts but it follows two distinct charts while starting from systemd or directly running /usr/bin/java-service-wrapper /opt/i2p/wrapper.config wrapper.name=i2prouter wrapper.syslog.ident=i2prouter wrapper.daemonize=TRUE as root. From systemd: it goes to 100% and stays at 100% CPU indefinitely As root: goes to 100% then fluctuates somewhat before settling at only a few % Besides, starting from systemd plainly doesn't work. I upgraded and it is the same. Also tried reinstalling (removing config files) and no go. I guess our systems are different in some way (my guess permission on some file), but as I said it does not write any log files so I'm blind. If anyone has any idea what I could try I'm all ears. Perhaps there is a way to get console output? (I'm new to i2p and don't yet understand how java-service-wrapper works.)

Almin commented on 2014-12-01 08:05 (UTC)

Yeah, skydrome, that's really a weird assumption. Why would I want to do it the wrong way, if I can easily do it the right way?

D101101 commented on 2014-12-01 06:19 (UTC)

compile: [mkdir] Created dir: /build/i2p/src/i2p-0.9.17/core/java/build [mkdir] Created dir: /build/i2p/src/i2p-0.9.17/core/java/build/obj [javac] Compiling 315 source files to /build/i2p/src/i2p-0.9.17/core/java/build/obj [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:219: error: unmappable character for encoding ASCII [javac] * <li>Setting ?? = (u * v^3) * (u * v^7)^((q - 5) / 8) one has ??^2 = +-(u / v). [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:219: error: unmappable character for encoding ASCII [javac] * <li>Setting ?? = (u * v^3) * (u * v^7)^((q - 5) / 8) one has ??^2 = +-(u / v). [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:219: error: unmappable character for encoding ASCII [javac] * <li>Setting ?? = (u * v^3) * (u * v^7)^((q - 5) / 8) one has ??^2 = +-(u / v). [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:219: error: unmappable character for encoding ASCII [javac] * <li>Setting ?? = (u * v^3) * (u * v^7)^((q - 5) / 8) one has ??^2 = +-(u / v). [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:220: error: unmappable character for encoding ASCII [javac] * <li>If v * ?? = -u multiply ?? with i=sqrt(-1). [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:220: error: unmappable character for encoding ASCII [javac] * <li>If v * ?? = -u multiply ?? with i=sqrt(-1). [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:220: error: unmappable character for encoding ASCII [javac] * <li>If v * ?? = -u multiply ?? with i=sqrt(-1). [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:220: error: unmappable character for encoding ASCII [javac] * <li>If v * ?? = -u multiply ?? with i=sqrt(-1). [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:221: error: unmappable character for encoding ASCII [javac] * <li>Set x := ??. [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:221: error: unmappable character for encoding ASCII [javac] * <li>Set x := ??. [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:514: error: unmappable character for encoding ASCII [javac] * B = (X + Y)^2; C = X^2; D = Y^2; E = -C = -X^2; F := E + D = Y^2 - X^2; H = Z^2; J = F ??? 2 * H; [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:514: error: unmappable character for encoding ASCII [javac] * B = (X + Y)^2; C = X^2; D = Y^2; E = -C = -X^2; F := E + D = Y^2 - X^2; H = Z^2; J = F ??? 2 * H; [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:514: error: unmappable character for encoding ASCII [javac] * B = (X + Y)^2; C = X^2; D = Y^2; E = -C = -X^2; F := E + D = Y^2 - X^2; H = Z^2; J = F ??? 2 * H; [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:515: error: unmappable character for encoding ASCII [javac] * X3 = (B ??? C ??? D) ?? J = X' * (-T'); [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:515: error: unmappable character for encoding ASCII [javac] * X3 = (B ??? C ??? D) ?? J = X' * (-T'); [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:515: error: unmappable character for encoding ASCII [javac] * X3 = (B ??? C ??? D) ?? J = X' * (-T'); [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:515: error: unmappable character for encoding ASCII [javac] * X3 = (B ??? C ??? D) ?? J = X' * (-T'); [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:515: error: unmappable character for encoding ASCII [javac] * X3 = (B ??? C ??? D) ?? J = X' * (-T'); [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:515: error: unmappable character for encoding ASCII [javac] * X3 = (B ??? C ??? D) ?? J = X' * (-T'); [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:515: error: unmappable character for encoding ASCII [javac] * X3 = (B ??? C ??? D) ?? J = X' * (-T'); [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:515: error: unmappable character for encoding ASCII [javac] * X3 = (B ??? C ??? D) ?? J = X' * (-T'); [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:516: error: unmappable character for encoding ASCII [javac] * Y3 = F ?? (E ??? D) = Z' * (-Y'); [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:516: error: unmappable character for encoding ASCII [javac] * Y3 = F ?? (E ??? D) = Z' * (-Y'); [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:516: error: unmappable character for encoding ASCII [javac] * Y3 = F ?? (E ??? D) = Z' * (-Y'); [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:516: error: unmappable character for encoding ASCII [javac] * Y3 = F ?? (E ??? D) = Z' * (-Y'); [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:516: error: unmappable character for encoding ASCII [javac] * Y3 = F ?? (E ??? D) = Z' * (-Y'); [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:517: error: unmappable character for encoding ASCII [javac] * Z3 = F ?? J = Z' * (-T'). [javac] ^ [javac] /build/i2p/src/i2p-0.9.17/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:517: error: unmappable character for encoding ASCII [javac] * Z3 = F ?? J = Z' * (-T'). [javac] ^ [javac] 28 errors [javac] 1 warning BUILD FAILED /build/i2p/src/i2p-0.9.17/build.xml:354: The following error occurred while executing this line: /build/i2p/src/i2p-0.9.17/core/java/build.xml:30: Compile failed; see the compiler error output for details. Total time: 1 second

skydrome commented on 2014-11-30 15:44 (UTC)

launching i2p from systemd works for me also, i just prefer the i2prouter script personally

gim commented on 2014-11-30 07:31 (UTC)

skydrome, that's weird assumption, I use systemd service for this. ArchWiki recommends it too.

skydrome commented on 2014-11-30 04:10 (UTC)

full cpu use is normal when the router is starting up and building its own view of the network, building tunnels, then attempting to route others traffic through you. You can limit the amount of network participation through the config page. i2p can also be used lightweight ex. just viewing eepsites, no participating (this is not recommended, but instead by tuning your bandwidth settings lower). http://i.imgur.com/fmADstx.png

skydrome commented on 2014-11-29 23:08 (UTC)

i dont think anyone really uses the systemd method of launching the service wrapper. Just start it with "sudo i2prouter start|stop|restart" and it drops to the i2p user

JKAbrams commented on 2014-11-29 20:16 (UTC)

The web interface works but I get these errors: * 100% CPU usage * no logfiles or config files gets written * the network does not work * "ERR - Client Manager I2CP Error" in the web interface When running though systemd as the i2p user. But running as root works. I believe some permissions are messed up, any idea where I should look?

xelvet commented on 2014-11-06 18:27 (UTC)

==> Verifying source file signatures with gpg... i2psource_0.9.16.tar.bz2 ... FAILED ==> ERROR: One or more PGP signatures could not be verified! ==> ERROR: Makepkg was unable to build i2p.

skydrome commented on 2014-09-30 20:44 (UTC)

yea they changed that symlink name a lot of times on me, i think they got it sorted now.

selligendo commented on 2014-09-25 16:35 (UTC)

Can agree with intelfx and TrueBers. Correcting the wrapper.config path manually fixes the problem.

intelfx commented on 2014-09-23 16:47 (UTC)

@archeando: the problem is that upstream (package java-common) changed pathes, so `archlinux-java set` will create "default-runtime" symlink, not "java-default-runtime".

intelfx commented on 2014-09-23 15:04 (UTC)

I confirm there's a problem with wrapper.config. You need to replace "java-default-runtime" with "default-runtime" in value of wrapper.java.command. Flagging the package out-of-date for that reason.

archeando commented on 2014-09-21 10:43 (UTC)

Java 8 is necessary for i2p-bote.

archeando commented on 2014-09-21 10:33 (UTC)

@TrueBers install java 8 and type: sudo archlinux-java unset sudo archlinux-java status #for options sudo archlinux-java set <option > #openjava 8, jre 8 or jdk 8

TrueBers commented on 2014-09-15 21:23 (UTC)

Doesn't work. Seems some problem in java path. It says: Advice: Usually when the Wrapper fails to start the JVM process, it is because of a problem with the value of the configured Java command. Currently: wrapper.java.command=/usr/lib/jvm/java-default-runtime/bin/java Please make sure that the PATH or any other referenced environment variables are correctly defined for the current environment. But there is no such path in JRE7. Correct path is /usr/lib/jvm/default-runtime/bin/java

Almin commented on 2014-08-21 17:51 (UTC)

Thank you very much, gim! I should have known that!

gim commented on 2014-08-21 16:55 (UTC)

@Almin, no, it's just you don't have their public PGP key in your keyring. To add it, do: $ gpg --recv-keys EE7256A8

Almin commented on 2014-08-21 16:03 (UTC)

signature checking with gpg gives: i2psource_0.9.14.1.tar.bz2 ... FEHLGESCHLAGEN (unbekannter öffentlicher Schlüssel 85F345DD59683006) which translates to ... FAILED (unknown public key 85...) Did I do something wrong?

skydrome commented on 2014-08-19 22:32 (UTC)

glad its working for you again, in the future please provide enough information to help us help you better.

commented on 2014-08-19 02:07 (UTC)

skydrome: listen, asshole, the failure is your botched java-service-wrapper packaging (which you still haven't fixed) and your laziness to not even look into the new jre version handling provided by jre7-openjdk* and *NOT* the fact that I've been using Arch for years and know wtf I'm doing. starry: thank you for doing what the maintainer should be doing. obviously doing that by hand is a crude solution to the problem and if the maintainer had the slightest idea what he was doing, he would make the appropriate changes (ln -s) or consider reporting the issue upstream.

skydrome commented on 2014-08-19 01:37 (UTC)

indeed, your issue janitor is the failure to read post install messages when updating your system

starry commented on 2014-08-19 01:13 (UTC)

If you get the error about a "/etc/profile.d/jdk.sh" file missing: To build I2P, go to your /etc/profile.d/ folder and # cp jre.sh jdk.sh It should now build.

commented on 2014-08-18 14:18 (UTC)

Can you please resolve these issues before unflagging as out of date or at least give us feedback as to the status/reason for these issues? Thank you.

commented on 2014-08-17 21:40 (UTC)

The new jre7-openjdk/jre7-openjdk-headless/jdk7-openjdk 7.u65_2.5.1-8 may have broken i2p (see also: java-service-wrapper). $ sudo systemctl start i2prouter Unit i2prouter.service entered failed state, etc. $ yaourt -Rsc i2p ; yaourt -S i2p ... ==> Verifying source file signatures with gpg... i2psource_0.9.14.1.tar.bz2 ... Passed ==> Extracting sources... -> Extracting i2psource_0.9.14.1.tar.bz2 with bsdtar ==> Removing existing pkg/ directory... ==> Starting build()... /tmp/yaourt-tmp/aur-i2p/./PKGBUILD: line 51: /etc/profile.d/jdk.sh: No such file or directory ==> ERROR: Makepkg was unable to build i2p. Before I report upstream, could this be a packaging issue?...

commented on 2014-08-17 21:38 (UTC)

The new jre7-openjdk/jre7-openjdk-headless/jdk7-openjdk 7.u65_2.5.1-8 may have broken i2p (see also: java-service-wrapper). ==> Verifying source file signatures with gpg... i2psource_0.9.14.1.tar.bz2 ... Passed ==> Extracting sources... -> Extracting i2psource_0.9.14.1.tar.bz2 with bsdtar ==> Removing existing pkg/ directory... ==> Starting build()... /tmp/yaourt-tmp/aur-i2p/./PKGBUILD: line 51: /etc/profile.d/jdk.sh: No such file or directory ==> ERROR: Makepkg was unable to build i2p. Before I report upstream, could this be a packaging issue?...

commented on 2014-08-17 19:13 (UTC)

The new jre7-openjdk/jre7-openjdk-headless/jdk7-openjdk 7.u65_2.5.1-8 breaks i2p. $ sudo systemctl start i2prouter Failed state... etc. $ yaourt -Rsc i2p ; yaourt -S i2p ... ==> Starting build()... /tmp/yaourt-tmp/aur-i2p/./PKGBUILD: line 51: /etc/profile.d/jdk.sh: No such file or directory ==> ERROR: Makepkg was unable to build i2p. Before I report this upstream, I wonder if repackaging will resolve this?...

commented on 2014-08-17 19:11 (UTC)

The new jre7-openjdk/jre7-openjdk-headless/jdk7-openjdk 7.u65_2.5.1-8 breaks i2p. $ sudo systemctl start i2prouter Failed state... etc. $ yaourt -Rsc i2p ; yaourt -S i2p ... ==> Starting build()... /srv/build/yaourt-tmp-localhost/aur-i2p/./PKGBUILD: line 51: /etc/profile.d/jdk.sh: No such file or directory ==> ERROR: Makepkg was unable to build i2p. Before I report this upstream, I wonder if repackaging will resolve this?...

commented on 2014-08-17 19:10 (UTC)

The new jre7-openjdk/jre7-openjdk-headless/jdk7-openjdk 7.u65_2.5.1-8 breaks i2p. $ sudo systemctl start i2prouter Failed state... etc. $ yaourt -Rsc i2p ; yaourt -S i2p ... ==> Starting build()... /srv/build/yaourt-tmp-localhost/aur-i2p/./PKGBUILD: line 51: /etc/profile.d/jdk.sh: No such file or directory ==> ERROR: Makepkg was unable to build i2p. Before I report this upstream, I'm wondering if repackaging will resolve this?...

commented on 2014-08-17 19:09 (UTC)

The new jre7-openjdk/jre7-openjdk-headless/jdk7-openjdk 7.u65_2.5.1-8 breaks i2p. $ sudo systemctl start i2prouter Failed state... etc. $ yaourt -Rsc i2p ; yaourt -S i2p ... ==> Starting build()... /srv/build/yaourt-tmp-localhost/aur-i2p/./PKGBUILD: line 51: /etc/profile.d/jdk.sh: No such file or directory ==> ERROR: Makepkg was unable to build i2p. Before I report this upstream, I'm wondering if a repackage will resolve this?...

skydrome commented on 2014-08-13 01:24 (UTC)

im going start writing a post here with release info every new release. 0.9.14.1 Bug Fixes - Fix i2psnark add torrent form - Fix iptunnel custom options form - Fix update download buttons Other - Restore all console features if routerconsole.advanced=true - Restore plugin install if routerconsole.enablePluginInstall=true - Restpre client adds/changes if routerconsole.enableClientChange=true - Plugin signing keys are now whitelisted unless routerconsole.allowUntrustedPlugins=true - More escaping and cleanups in forms and messages - Update GeoIP data (new installs and PPA only)

wilfred commented on 2014-06-07 14:56 (UTC)

You can retrieve the new key with: $ gpg --recv-keys 0xEE7256A8 Further details at http://zzz.i2p/topics/1627

wilfred commented on 2014-06-07 14:47 (UTC)

The keys used to sign 0.9.13 have changed: https://geti2p.net/en/blog/post/2014/05/22/0.9.13-Release . It's not clear to me where to find a copy of the new key. $ gpg --recv-keys 0xA76E0BED4 only retrieves the old key.

t-ask commented on 2014-05-07 15:20 (UTC)

==> Validating source files with sha256sums... i2psource_0.9.12.tar.bz2.sig ... Skipped ==> Verifying source file signatures with gpg... i2psource_0.9.12.tar.bz2 ... FAILED (unknown public key 415576BAA76E0BED) Please fix it.

mjbecze commented on 2014-04-21 14:13 (UTC)

@MakeShift Even after adding zzz's key i get. error: 'i2psource_0.9.12.tar.bz2': invalid or corrupted package (PGP signature)

MakeShift commented on 2014-03-02 09:07 (UTC)

@defendor You need to add zzz's key: gpg --recv-keys 0xA76E0BED I don't think his are set to expire anytime soon. https://geti2p.net/en/get-involved/develop/signed-keys

defendor commented on 2014-01-17 10:37 (UTC)

___ Verifying source file signatures with gpg... i2psource_0.9.9.tar.bz2 ... FAILED (unknown public key 415576BAA76E0BED) ==> WARNING: Warnings have occurred while verifying the signatures. Please make sure you really trust them. ___

ypoluektovich commented on 2014-01-01 21:23 (UTC)

@GI_Jack: java-runtime is a virtual dependency. It is provided by packages like jre7-openjdk ('extra' repo) and jre (from AUR). java-service-wrapper can also be found in AUR.

GI_Jack commented on 2014-01-01 19:54 (UTC)

unresolved depenecies java-runtime and java-service-wrapper, please fix these

sysfu commented on 2013-10-27 21:43 (UTC)

Discovered the package creates another hidden subdirectory /opt/i2p/.i2p/ where the active config files are stored. I was going crazy trying to find out why my configuration edits to /opt/i2p/clients.config for example were being ignored. when I edited /opt/i2p/.i2p/clients.config the changes took effect. Is this behavior by design? I find it confusing as an end user.

test0 commented on 2013-10-07 17:07 (UTC)

Flagged out of date, then read the update only affects windows, ignore

skydrome commented on 2013-10-04 17:16 (UTC)

look at makedepends, its always been there

cros13 commented on 2013-10-04 15:15 (UTC)

/etc/profile.d/jdk.sh: No such file or directory Why does the new package need jdk? And should it be added to depends?

ypoluektovich commented on 2013-09-15 12:04 (UTC)

Please change the line: wrapper.java.command=/usr/bin/java to: wrapper.java.command=java in the file: /opt/i2p/wrapper.config Because not all of us have /usr/bin/java, sometimes it's /opt/java/bin/java.

skydrome commented on 2013-08-24 16:26 (UTC)

dront78, http://www.i2p2.de/release-signing-key.html https://wiki.archlinux.org/index.php/GPG#Import_key

dront78 commented on 2013-08-24 06:47 (UTC)

upgrade error with ==> Verifying source file signatures with gpg... i2psource_0.9.7.1.tar.bz2 ... FAILED (unknown public key 415576BAA76E0BED)

qs9rx commented on 2013-08-14 18:28 (UTC)

I'd guess it comes from the internet. For more, you will either have to ask your crystal ball or include a little bit more information when you want answers. I bet that you are just getting I2P nodes hitting you after you shut down because they think you are still running. It's normal and you can ignore it. This is not meant for general I2P support but for comments that specifically deal with the packaging and related issues. So please go to the I2P forums or similar for further discussion.

coderkun commented on 2013-08-13 20:03 (UTC)

I get strange network traffic even when the daemon is not running. Where does it come from?

skydrome commented on 2013-06-16 21:28 (UTC)

This version bump fixes the problems with systemd usage for stopping and restarting. It now sends kill signals to the jvm process i2p is running in, instead of destroying the wrapper process. Also, make sure to move wrapper.config.pacnew over after updating.

test0 commented on 2013-06-06 20:03 (UTC)

I'm sorry for my stupidity, skydrome, the problem was that I've forgot to move new wrapper.config.pacnew to wrapper.config file. It works again now.

test0 commented on 2013-06-04 00:11 (UTC)

Error here after update: 2013/06/04 04:02:51 | Launching a JVM... 2013/06/04 04:02:52 | JVM exited while loading the application. 2013/06/04 04:02:52 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp 2013/06/04 04:03:06 | Launching a JVM... 2013/06/04 04:03:06 | JVM exited while loading the application. 2013/06/04 04:03:06 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp 2013/06/04 04:03:21 | Launching a JVM... 2013/06/04 04:03:21 | JVM exited while loading the application. 2013/06/04 04:03:21 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp 2013/06/04 04:03:36 | Launching a JVM... 2013/06/04 04:03:36 | JVM exited while loading the application. 2013/06/04 04:03:36 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp 2013/06/04 04:03:50 | Launching a JVM... 2013/06/04 04:03:50 | JVM exited while loading the application. 2013/06/04 04:03:50 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp 2013/06/04 04:03:51 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up. 2013/06/04 04:03:51 | There may be a configuration problem: please check the logs. 2013/06/04 04:03:51 | <-- Wrapper Stopped I have java-service-wrapper installed. It happens even if starting manually with i2prouter script. Or should I ask this question on java-service-wrapper page instead?

skydrome commented on 2013-06-02 17:11 (UTC)

systemd sends a kill -9 to the wrapper which doesnt let the jvm shutdown nicely. Ill look into how to make systemd wait.

TrueBers commented on 2013-05-25 00:43 (UTC)

It doesn't start after `systemctl reboot` with message in /opt/i2p/wrapper.log: 2013/05/25 04:27:01 | WrapperManager: Initializing... 2013/05/25 04:27:02 | Starting I2P 0.9.5-0 2013/05/25 04:27:02 | ERROR: There appears to be another router already running! 2013/05/25 04:27:02 | Please make sure to shut down old instances before starting up 2013/05/25 04:27:02 | a new one. If you are positive that no other instance is running, 2013/05/25 04:27:02 | please delete the file /opt/i2p/.i2p/router.ping 2013/05/25 04:27:04 | <-- Wrapper Stopped What can one should do to properly stop\start it with systemctl?

commented on 2013-04-28 10:20 (UTC)

well, it's not needed for running the router itself but it is required for running it as a systemd service. so it should at least be an opt-depend.

TrueBers commented on 2013-04-19 04:44 (UTC)

Why 'java-service-wrapper' is in makedeps? It should be in common deps, 'cause it's needed to start ip2router...

dustball commented on 2013-03-09 12:20 (UTC)

apparently now the apache-ant package is required as a building dependency

skydrome commented on 2013-01-26 21:00 (UTC)

fixed, wrapper.jar was forgotten about when I switched from building an install.jar to manually do it

krevedko commented on 2013-01-26 18:35 (UTC)

Looks like, it is a time to add org.tanukisoftware.wrapper.jar into PKGBUILD. Current i2p build cannot start with error in wrapper.log: > JVM exited while loading the application. > Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp Maybe something like this: https://aur.archlinux.org/packages/i2/i2p-dev/PKGBUILD see lines near 'source+=("https://wrapper.tanukisoftware.com/download/${_wrapper_ver}/wrapper_${_wrapper_ver}_src.tar.gz")'

Atterratio commented on 2012-09-22 17:48 (UTC)

Hey! Where did you get the version 0.9.2? On the official website, I only see 0.9.1. http://www.i2p2.de/index.html And why is there only support Systemd? I know Arch has officially it is not moved.

skydrome commented on 2012-08-01 16:03 (UTC)

fixed

Torsten commented on 2012-08-01 14:51 (UTC)

building it with the option "_lang_only_en=1" does not work: bundle: [exec] Generating net.i2p.desktopgui.messages_ar ResourceBundle... [exec] ERROR - msgfmt failed on locale/messages_ar.po, not updating translations BUILD FAILED /tmp/yaourt-tmp-user/aur-i2p/src/i2p-0.9.1/build.xml:136: The following error occurred while executing this line: /tmp/yaourt-tmp-user/aur-i2p/src/i2p-0.9.1/apps/desktopgui/build.xml:43: exec returned: 1 Total time: 2 minutes 5 seconds ==> ERROR: A failure occurred in build(). Aborting...

commented on 2012-05-13 06:28 (UTC)

PKGBUILD for i2p 0.9 http://pastebin.com/HrkWpjXL

veox commented on 2012-03-21 00:30 (UTC)

@Raymondcal: 'i2p-bin' installs a precompiled binary package. 'i2p' builds from source.

Raymondcal commented on 2012-03-20 19:32 (UTC)

Hi ! What are the differences between the AUR packages i2p and i2p-bin ? Thx

joshirio commented on 2012-02-28 09:31 (UTC)

add i2prouter to your DAEMONS array to start it at boottime

necopinus commented on 2011-11-15 05:58 (UTC)

In case anyone else runs into the same problems I did, the i2prouter script doesn't interact well with anything but OpenJDK under Arch Linux. If you're running something else (say, Oracle's JDK), then i2p won't be able to find the java executable when it starts. (The reason for this is that other versions of Java live in /opt and have their executable paths appended to $PATH by /etc/profile, which bash doesn't source when called non-interactively - like i2prouter does.) So, you'll either need to use OpenJDK with this package, or run the following command as root to force i2prouter to source /etc/profile (and thus set up its $PATH correctly): sed -i -e 's#^docommand "$@"#. /etc/profile \&\& docommand "$@"#' /opt/bin/i2prouter

DaNiMoTh commented on 2011-10-21 18:06 (UTC)

Maybe that isn't i2p related.. are you sure your java packages are ok? NB - if you reboot, you have the same trouble?

necopinus commented on 2011-10-21 18:00 (UTC)

@DaNiMoTh: I find that changing /bin/false to /bin/sh in /etc/password doesn't completely resolve the issue - rather than /etc/rc.d/i2prouter failing immediately, it just hangs. Checking the wrapper.log, the problem seems to be that Java's paths aren't set up properly... Thus I still need to source /etc/profile.

veox commented on 2011-10-19 19:49 (UTC)

@DaNiMoTh: great! Here you go.

DaNiMoTh commented on 2011-10-19 09:41 (UTC)

Hi veox, I could maintain it.

blaztinn commented on 2011-10-18 07:53 (UTC)

Could you include systemd support in the package? Service file (i2prouter.service): http://pastebin.com/SRtkg4K1 Fixed PKGBUILD: http://pastebin.com/KrG7JVNC

veox commented on 2011-10-17 21:56 (UTC)

Would anyone be interested in maintaining this package? I am overworked lately, And cannot respond to bugs promptly.

DaNiMoTh commented on 2011-10-17 07:35 (UTC)

Another fix is to change /bin/false to /bin/sh in /etc/passwd

necopinus commented on 2011-10-16 22:18 (UTC)

Does anyone else have a problem with 0.8.9 not starting? On my system, after upgrading to 0.8.9 i2prouter always exits with a code of 1 and no output. I think this may be related to i2prouter itself, which is now significantly more complex (1680 lines in 0.8.9 as opposed to 372 lines in the prior release). The offending line appears to be 639; changing this from su - $RUN_AS_USER -c "\"$REALPATH\" $ADDITIONAL_PARA" to su - $RUN_AS_USER -s /bin/sh -c ". /etc/profile ; \"$REALPATH\" $ADDITIONAL_PARA" allows i2p to start again. Sourcing /etc/profile is necessary for i2psrv to find the java executable; specifying the shell is necessary to run anything at all (since i2p's default shell is /bin/false). Can anyone confirm this issue and/or the fix?

Zveroy commented on 2011-10-13 00:01 (UTC)

There is new version available. http://mirror.i2p2.de/i2psource_0.8.9.tar.bz2

veox commented on 2011-09-23 14:03 (UTC)

@pvolok and everybody: I'm not exactly sure about the proper procedure. UIDs below 1000 are pretty crowded.

commented on 2011-09-22 10:54 (UTC)

Please add to post-install script usermod <1000 for i2p user. This is hide user in Gnome Display Manager. Sorry for bad English)

veox commented on 2011-08-27 16:02 (UTC)

@thevoidzero: applied, thanks!

commented on 2011-08-27 15:17 (UTC)

Hi, I have a small fix for the init script: --- /etc/rc.d/i2prouter +++ /etc/rc.d/i2prouter.new @@ -13,2 +13,3 @@ stat_done + add_daemon i2prouter fi @@ -22,2 +23,3 @@ stat_done + rm_daemon i2prouter fi

cookiecaper commented on 2011-07-06 23:08 (UTC)

Nevermind, rm -rf /opt/i2p; yaourt -R i2p; aurget -Sy i2p; seems to have fixed it. My /opt/i2p originated with i2p-source and IIRC that was just recently added as a conflict. Perhaps removing i2p-source took out a few extra files. I suggest anyone who still has leftovers from i2p-source completely clean out the i2p directory and rebuild; please, however, be aware that rm -rf /opt/i2p will probably remove i2psnark, etc., settings and torrents if you use them and if you want to preserve these you should take a bit of a lighter touch.

cookiecaper commented on 2011-07-06 23:00 (UTC)

I get a FAIL when I try to start with the rc.d script, and this when I try to start directly (/opt/i2p/i2prouter start): >Starting I2P Service...**Failed to load the wrapper** >The most likely reason is that a supported version of the java >wrapper is not available in the I2P installation package for your >platform. It may be possible to manually download and install >a compatible wrapper for your system. >See http://www.i2p2.de/manualwrapper for hints. >In the meantime, you may start I2P by running the script >/opt/i2p/runplain.sh

emhs commented on 2011-07-05 15:08 (UTC)

I think I figured it out. The i2p software has a preference towards internal updates, and if not stopped from doing so, will update itself internally and quietly. And that caused clyde to detect a conflict when trying to install the update that i2p had already installed for itself.

veox commented on 2011-07-05 09:09 (UTC)

@emhs: perhaps this happened because the package was previously known as 'i2p-bin', due to some AUR naming misunderstandings. I have added a few lines to the PKGBUILD, see if it helped.

emhs commented on 2011-07-02 20:10 (UTC)

After clyde uses the standard makepkg method to build the package, when it is installed, the system refuses to proceed, claiming that it conflicts with existing i2p files on the system.

veox commented on 2011-07-02 10:28 (UTC)

@emhs: could you be more specific? I'm not using clyde.

emhs commented on 2011-07-01 23:06 (UTC)

Clyde gives me a conflicting files error when I try to upgrade.

td123 commented on 2011-03-05 20:57 (UTC)

please add java-environment to makedepends.. this is why jdk wasn't getting installed if you used jre. openjdk includes a runtime and development libs

alphazo commented on 2011-03-04 21:48 (UTC)

[SOLVED] Uninstalled jre/jdk and installed openJDK. Works fine now. Must had something wrong with my jre install.

veox commented on 2011-03-04 13:32 (UTC)

@joelsc: on logging, there is no reason except It Has Always Been Like That. Runtime logs should be in '/opt/i2p/.i2p/logs'.

joelsc commented on 2011-03-03 22:17 (UTC)

It builds now (there was an openjdk update today, I don't know if it is related). However the router failed to start because for some reason the i2p user wasn't succesfully created. Also, is there any reason to /dev/null all the errors in /etc/rc.d/i2router? it just makes debugging harder.

alphazo commented on 2011-03-03 13:38 (UTC)

I'm also getting an error with i2p-bin :(

alphazo commented on 2011-03-03 12:58 (UTC)

I have both jre and jdk installed (6u24) :( BTW I have the same issue when trying to compile freemind-git.

veox commented on 2011-03-03 12:38 (UTC)

@alphazo, @joelsc: perhaps this needs 'jdk' in 'makedepends'. If you are reluctant to install that, try AUR package 'i2p-bin' instead.

veox commented on 2011-03-03 11:34 (UTC)

@joelsc: could you pastebin (or smth) the full build log? You have done pacman -Syu, yes? Could you also give (from the $srcdir): md5sum apps/jetty/jetty-5.1.15.tgz

alphazo commented on 2011-03-03 11:32 (UTC)

I'm getting the following error message when building: Buildfile: /tmp/yaourt-tmp-alpha/aur-i2p/src/i2p-0.8.3/build.xml BUILD FAILED XML parser factory has not been configured correctly: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found Total time: 0 seconds PS: Just to make sure I installed - xalan-java 2.7.1-3 - xerces2-java 2.11.0-1 (it contains usr/share/java/xercesImpl.jar) but that didn't help!

joelsc commented on 2011-03-02 23:01 (UTC)

Everything seems to be going alright before this error.

veox commented on 2011-03-02 22:36 (UTC)

@joelsc: 'unable to access file: corrupted zip file' - are you sure the jetty is properly downloaded?

joelsc commented on 2011-03-02 22:02 (UTC)

Doesn't build on my machine :-( [javac] Compiling 65 source files to /dev/shm/yaourt-tmp-joel/aur-i2p/src/i2p-0.8.3/apps/routerconsole/java/build/obj [javac] /dev/shm/yaourt-tmp-joel/aur-i2p/src/i2p-0.8.3/apps/routerconsole/java/src/net/i2p/router/web/ConfigClientsHandler.java:16: cannot access org.mortbay.jetty.Server [javac] bad class file: org/mortbay/jetty/Server.class(org/mortbay/jetty:Server.class) [javac] unable to access file: corrupted zip file [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import org.mortbay.jetty.Server; [javac] ^ BUILD FAILED /dev/shm/yaourt-tmp-joel/aur-i2p/src/i2p-0.8.3/build.xml:104: The following error occurred while executing this line: /dev/shm/yaourt-tmp-joel/aur-i2p/src/i2p-0.8.3/apps/routerconsole/java/build.xml:48: Compile failed; see the compiler error output for details. Any ideas?

veox commented on 2011-03-02 15:16 (UTC)

@danimoth: thanks, adopted. This is now built from source (previously 'i2p-source').

DaNiMoTh commented on 2011-03-02 13:57 (UTC)

I've uploaded i2p-bin. Do what you want with this :)

veox commented on 2011-03-02 13:53 (UTC)

@danimoth: Or, you could upload the -bin package and orphan this. I will then adopt in, move i2p-source to i2p, and request the deletion of i2p-source.

joelsc commented on 2011-03-02 11:44 (UTC)

I think you need to reupload the new package, then ask for the deletion of the old one on the AUR mailing list.

DaNiMoTh commented on 2011-03-02 11:22 (UTC)

I have updated this: Need I to re-upload a new pkg with i2p-bin name? Who could delete this?

cookiecaper commented on 2011-02-13 08:38 (UTC)

Can we get this orphaned and changed to i2p-bin to match convention?

diffycat commented on 2011-01-26 20:06 (UTC)

New version: http://aur.pastebin.com/JewFM6Pp

commented on 2010-12-11 17:36 (UTC)

This is the previous version. Please get the latest from http://www.i2p2.de/download.html and update the package. Thanks.

rZn commented on 2010-11-30 19:47 (UTC)

@iukkoth It's an bin release..

commented on 2010-10-29 14:28 (UTC)

Why is this installed to /opt/?

veox commented on 2010-09-07 22:09 (UTC)

@cchabanois: You should have probably called this 'i2p-bin', since it uses the pre-compiled version.

coolkehon commented on 2010-07-29 20:24 (UTC)

Updated PKGBUILD * added provides=(i2p i2prouter) * added install eepget to /usr/bin/eepget http://paste.pocoo.org/show/243174/

Llama commented on 2010-05-03 16:21 (UTC)

Any kind of manual, or a link thereto, would be welcome :)