Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 2024 08:03:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 283495] pkg install broken in 13.4 AWS AMI Image
Message-ID:  <bug-283495-32340-MC2E7JMLWg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-283495-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-283495-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283495

--- Comment #1 from Rupesh Pilania <rupeshpilania@gmail.com> ---
I am not sure what went wrong yesterday. I deployed new instance for t4g.mi=
cro
and did pkg install openvpn, that worked out of the box without any problem.
Sorry for inconvenience

ec2-user@freebsd:~ $ uname -a
FreeBSD freebsd 13.4-RELEASE-p1 FreeBSD 13.4-RELEASE-p1 GENERIC arm64
ec2-user@freebsd:~ $ pkg install openvpn
pkg: Insufficient privileges to install packages
ec2-user@freebsd:~ $ su
root@freebsd:/home/ec2-user # pkg install openvpn
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 5 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        easy-rsa: 3.2.1_1,1
        liblz4: 1.10.0,1
        lzo2: 2.10_1
        openvpn: 2.6.12
        pkcs11-helper: 1.29.0_3

Number of packages to be installed: 5

The process will require 4 MiB more space.
961 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/5] Fetching openvpn-2.6.12.pkg: 100%  566 KiB 579.6kB/s    00:01
[2/5] Fetching liblz4-1.10.0,1.pkg: 100%  139 KiB 142.8kB/s    00:01
[3/5] Fetching pkcs11-helper-1.29.0_3.pkg: 100%   88 KiB  89.7kB/s    00:01
[4/5] Fetching lzo2-2.10_1.pkg: 100%   95 KiB  97.7kB/s    00:01
[5/5] Fetching easy-rsa-3.2.1_1,1.pkg: 100%   73 KiB  74.4kB/s    00:01
Checking integrity... done (0 conflicting)
[1/5] Installing liblz4-1.10.0,1...
[1/5] Extracting liblz4-1.10.0,1: 100%
[2/5] Installing pkcs11-helper-1.29.0_3...
[2/5] Extracting pkcs11-helper-1.29.0_3: 100%
[3/5] Installing lzo2-2.10_1...
[3/5] Extracting lzo2-2.10_1: 100%
[4/5] Installing easy-rsa-3.2.1_1,1...
[4/5] Extracting easy-rsa-3.2.1_1,1: 100%
[5/5] Installing openvpn-2.6.12...
=3D=3D=3D> Creating groups
Creating group 'openvpn' with gid '301'
=3D=3D=3D> Creating users
Creating user 'openvpn' with uid '301'
[5/5] Extracting openvpn-2.6.12: 100%
=3D=3D=3D=3D=3D
Message from easy-rsa-3.2.1_1,1:

--
NOTE: easyrsa will require you to initialize a PKI upon first use.

ONLY for the very first run for a new PKI, do something such as this,
assuming you will have its data in $HOME/my_new_pki:

  easyrsa --pki-dir=3D$HOME/my_new_pki init-pki # DANGEROUS - DESTROYS
~/my_new_pki

See /usr/local/share/doc/easy-rsa/README.quickstart.md for further informat=
ion.

An on-line help is available, you can run:

  easyrsa help          # for help on commands
  easyrsa help options  # for help on options
=3D=3D=3D=3D=3D
Message from openvpn-2.6.12:

--
Edit /etc/rc.conf[.local] to start OpenVPN automatically at system
startup. See /usr/local/etc/rc.d/openvpn for details.

Connect to VPN server as a client with this command to include
the client.up/down scripts in the initialization:
openvpn-client <spec>.ovpn

For compatibility notes when interoperating with older OpenVPN
versions, please see <http://openvpn.net/relnotes.html>;

Note that OpenVPN does not officially support LibreSSL.

Note that OpenVPN configures a separate user and group "openvpn",
which should be used instead of the NFS user "nobody"
when an unprivileged user account is desired.

You may want to add user openvpn and group openvpn when creating your
configuration files, the example configuration shows this only as comments.
root@freebsd:/home/ec2-user # pkg info | grep openvpn
openvpn-2.6.12

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283495-32340-MC2E7JMLWg>