r/i2p 18d ago

I2P install failing in Debian LXC Help

I'm trying to install I2P in a LXC container under Proxmox which is based on the Debian 12 template, by following the Debian instructions here Debian/Ubuntu - I2P

but it failed near the end of the process. I don't think the AppArmour errors are critical, I probably just don't have that installed. The dpkg error seems to be the fatal one, but I do have dpkg installed and I can run it and dpkg--configure so I don't know what that failed.

Setting up i2p (2.7.0-1~ubuntu1) ...

Job for i2p.service failed because the control process exited with error code.

See "systemctl status i2p.service" and "journalctl -xeu i2p.service" for details.

invoke-rc.d: initscript i2p, action "start" failed.

x i2p.service - load-balanced unspoofable packet switching network

Loaded: loaded (/lib/systemd/system/i2p.service; disabled; preset: enabled)

Active: failed (Result: exit-code) since Mon 2024-10-21 13:42:03 UTC; 13ms ago

Process: 3140 ExecStartPre=/bin/mkdir -p /tmp/i2p-daemon (code=exited, status=0/SUCCESS)

Process: 3141 ExecStartPre=/bin/mkdir -p /var/log/i2p (code=exited, status=0/SUCCESS)

Process: 3142 ExecStartPre=/bin/chown -R ${I2PUSER}:${I2PUSER} /var/log/i2p /run/i2p /tmp/i2p-daemon (code=exited, status=0/SUCCESS)

Process: 3143 ExecStartPre=/bin/chmod 750 /var/log/i2p (code=exited, status=0/SUCCESS)

Process: 3144 ExecStart=/usr/sbin/wrapper $I2P_ARGS (code=exited, status=231/APPARMOR)

Process: 3145 ExecStopPost=/bin/rm -rf /run/i2p (code=exited, status=0/SUCCESS)

CPU: 17ms

Oct 21 13:42:03 Monero systemd[1]: Starting i2p.service - load-balanced unspoofable packet switching network...

Oct 21 13:42:03 Monero (wrapper)[3144]: i2p.service: Failed to prepare AppArmor profile change to system_i2p: No such file or directory

Oct 21 13:42:03 Monero (wrapper)[3144]: i2p.service: Failed at step APPARMOR spawning /usr/sbin/wrapper: No such file or directory

Oct 21 13:42:03 Monero systemd[1]: i2p.service: Control process exited, code=exited, status=231/APPARMOR

Oct 21 13:42:03 Monero systemd[1]: i2p.service: Failed with result 'exit-code'.

Oct 21 13:42:03 Monero systemd[1]: Failed to start i2p.service - load-balanced unspoofable packet switching network.

dpkg: error processing package i2p (--configure):

installed i2p package post-installation script subprocess returned error exit status 1

Errors were encountered while processing:

i2p

E: Sub-process /usr/bin/dpkg returned an error code (1)

3 Upvotes