pivpn: [BUG]
In raising this issue, I confirm the following:
{please fill the checkboxes, e.g: [X]}
- I have read and understood the contributors guide.
- The issue I am reporting can be replicated.
- The issue I am reporting is directly related to the pivpn installer script.
- The issue I am reporting isn’t a duplicate (see FAQs, closed issues, and open issues).
Describe the bug A clean install of newest Dietpi ARMv7 32-bit image Bullseye, next install Pi-hole with script, everything ok, continue to install PiVPN with script and it’s stop before finish. Under I paste all from ssh.
DietPi version | G_DIETPI_VERSION_CORE=7 G_DIETPI_VERSION_SUB=6 G_DIETPI_VERSION_RC=2 G_GITBRANCH=‘master’ G_GITOWNER=‘MichaIng’ G_LIVE_PATCH_STATUS[0]=‘not applicable’ G_LIVE_PATCH_STATUS[1]=‘applied’ Distro version | bullseye 0 Kernel version | Linux DietPi 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/Linux SBC model | RPi 4 Model B (armv7l)
curl -L https://install.pivpn.io | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 162 100 162 0 0 394 0 --:--:-- --:--:-- --:--:-- 393
100 82077 100 82077 0 0 96788 0 --:--:-- --:--:-- --:--:-- 96788
:::
::: You are root.
::: Did not detect perfectly supported OS but,
::: Continuing installation at user's own risk...
::: Hostname length OK
::: Verifying free disk space...
:::
::: Package Cache update is needed, running apt-get update -y ...
done!
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: Your system is up to date! Continuing with PiVPN installation...
::: Checking for git... already installed!
::: Checking for tar... already installed!
::: Checking for wget... already installed!
::: Checking for curl... already installed!
::: Checking for grep... already installed!
::: Checking for dnsutils... already installed!
::: Checking for whiptail... already installed!
::: Checking for net-tools... not installed!
::: Checking for bsdmainutils... not installed!
::: Checking for iptables-persistent... not installed!
::: Package net-tools successfully installed!
::: Package bsdmainutils successfully installed!
::: Failed to install iptables-persistent!
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
bsdextrautils iptables libip6tc2 libnetfilter-conntrack3 libnfnetlink0
libnftnl11 ncal netfilter-persistent
Suggested packages:
calendar whois vacation mailutils firewalld
Recommended packages:
nftables
The following NEW packages will be installed:
bsdextrautils bsdmainutils iptables iptables-persistent libip6tc2
libnetfilter-conntrack3 libnfnetlink0 libnftnl11 ncal net-tools
netfilter-persistent
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 911 kB of archives.
After this operation, 3015 kB of additional disk space will be used.
Get:1 https://deb.debian.org/debian bullseye/main armhf bsdextrautils armhf 2.36.1-8 [138 kB]
Get:2 https://deb.debian.org/debian bullseye/main armhf libip6tc2 armhf 1.8.7-1 [32.9 kB]Get:3 https://deb.debian.org/debian bullseye/main armhf libnfnetlink0 armhf 1.0.1-3+b1 [12.1 kB]
Get:4 https://deb.debian.org/debian bullseye/main armhf libnetfilter-conntrack3 armhf 1.0.8-3 [33.6 kB]
Get:5 https://deb.debian.org/debian bullseye/main armhf libnftnl11 armhf 1.1.9-1 [49.0 kB]
Get:6 https://deb.debian.org/debian bullseye/main armhf iptables armhf 1.8.7-1 [339 kB]
Get:7 https://deb.debian.org/debian bullseye/main armhf netfilter-persistent all 1.0.15 [11.0 kB]
Get:8 https://deb.debian.org/debian bullseye/main armhf iptables-persistent all 1.0.15 [12.4 kB]
Get:9 https://deb.debian.org/debian bullseye/main armhf ncal armhf 12.1.7+nmu3 [28.8 kB]
Get:10 https://deb.debian.org/debian bullseye/main armhf bsdmainutils all 12.1.7+nmu3 [16.4 kB]
Get:11 https://deb.debian.org/debian bullseye/main armhf net-tools armhf 1.60+git20181103.0eebece-1 [237 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 911 kB in 0s (2115 kB/s)
Selecting previously unselected package bsdextrautils.
(Reading database ... 28114 files and directories currently installed.)
Preparing to unpack .../0-bsdextrautils_2.36.1-8_armhf.deb ...
Unpacking bsdextrautils (2.36.1-8) ...
Selecting previously unselected package libip6tc2:armhf.
Preparing to unpack .../1-libip6tc2_1.8.7-1_armhf.deb ...
Unpacking libip6tc2:armhf (1.8.7-1) ...
Selecting previously unselected package libnfnetlink0:armhf.
Preparing to unpack .../2-libnfnetlink0_1.0.1-3+b1_armhf.deb ...
Unpacking libnfnetlink0:armhf (1.0.1-3+b1) ...
Selecting previously unselected package libnetfilter-conntrack3:armhf.
Preparing to unpack .../3-libnetfilter-conntrack3_1.0.8-3_armhf.deb ...
Unpacking libnetfilter-conntrack3:armhf (1.0.8-3) ...
Selecting previously unselected package libnftnl11:armhf.
Preparing to unpack .../4-libnftnl11_1.1.9-1_armhf.deb ...
Unpacking libnftnl11:armhf (1.1.9-1) ...
Selecting previously unselected package iptables.
Preparing to unpack .../5-iptables_1.8.7-1_armhf.deb ...
Unpacking iptables (1.8.7-1) ...
Selecting previously unselected package netfilter-persistent.
Preparing to unpack .../6-netfilter-persistent_1.0.15_all.deb ...
Unpacking netfilter-persistent (1.0.15) ...
Setting up libip6tc2:armhf (1.8.7-1) ...
Setting up libnfnetlink0:armhf (1.0.1-3+b1) ...
Setting up libnetfilter-conntrack3:armhf (1.0.8-3) ...
Setting up libnftnl11:armhf (1.1.9-1) ...
Setting up iptables (1.8.7-1) ...
update-alternatives: using /usr/sbin/iptables-legacy to provide /usr/sbin/iptables (iptables) in auto mode
update-alternatives: using /usr/sbin/ip6tables-legacy to provide /usr/sbin/ip6tables (ip6tables) in auto mode
update-alternatives: using /usr/sbin/iptables-nft to provide /usr/sbin/iptables (iptables) in auto mode
update-alternatives: using /usr/sbin/ip6tables-nft to provide /usr/sbin/ip6tables (ip6tables) in auto mode
update-alternatives: using /usr/sbin/arptables-nft to provide /usr/sbin/arptables (arptables) in auto mode
update-alternatives: using /usr/sbin/ebtables-nft to provide /usr/sbin/ebtables (ebtables) in auto mode
Selecting previously unselected package iptables-persistent.
(Reading database ... 28383 files and directories currently installed.)
Preparing to unpack .../iptables-persistent_1.0.15_all.deb ...
Unpacking iptables-persistent (1.0.15) ...
Selecting previously unselected package ncal.
Preparing to unpack .../ncal_12.1.7+nmu3_armhf.deb ...
Unpacking ncal (12.1.7+nmu3) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../bsdmainutils_12.1.7+nmu3_all.deb ...
Unpacking bsdmainutils (12.1.7+nmu3) ...
Selecting previously unselected package net-tools.
Preparing to unpack .../net-tools_1.60+git20181103.0eebece-1_armhf.deb ...
Unpacking net-tools (1.60+git20181103.0eebece-1) ...
Setting up net-tools (1.60+git20181103.0eebece-1) ...
Setting up bsdextrautils (2.36.1-8) ...
update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode
Setting up ncal (12.1.7+nmu3) ...
Setting up bsdmainutils (12.1.7+nmu3) ...
Setting up netfilter-persistent (1.0.15) ...
Created symlink /etc/systemd/system/multi-user.target.wants/netfilter-persistent.service -> /lib/systemd/system/netfilter-persistent.service.
Setting up iptables-persistent (1.0.15) ...
update-alternatives: using /lib/systemd/system/netfilter-persistent.service to provide /lib/systemd/system/iptables.service (iptables.service) in auto mode
Can't locate object method "new" via package "Text::Iconv" (perhaps you forgot to load "Text::Iconv"?) at /usr/share/perl5/Debconf/Encoding.pm line 65.
dpkg: error processing package iptables-persistent (--configure):
installed iptables-persistent package post-installation script subprocess returned error exit status 29
Processing triggers for libc-bin (2.31-13+rpt2+rpi1) ...
Errors were encountered while processing:
iptables-persistent
E: Sub-process /usr/bin/dpkg returned an error code (1)
``
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 23 (15 by maintainers)
Fixed with #1367