sudo apt-get -y install ./build/amazon-efs-utils*deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'amazon-efs-utils' instead of './build/amazon-efs-utils-1.34.5-1_all.deb'
The following additional packages will be installed:
stunnel4
Suggested packages:
logcheck-database
The following NEW packages will be installed:
amazon-efs-utils stunnel4
0 upgraded, 2 newly installed, 0 to remove and 12 not upgraded.
Need to get 191 kB/252 kB of archives.
After this operation, 530 kB of additional disk space will be used.
Get:1 /home/marvin/efs-utils/build/amazon-efs-utils-1.34.5-1_all.deb amazon-efs-utils all 1.34.5 [60.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/universe amd64 stunnel4 amd64 3:5.56-1 [191 kB]
Fetched 191 kB in 0s (1032 kB/s)
Selecting previously unselected package stunnel4.
(Reading database ... 55402 files and directories currently installed.)
Preparing to unpack .../stunnel4_3%3a5.56-1_amd64.deb ...
Unpacking stunnel4 (3:5.56-1) ...
Selecting previously unselected package amazon-efs-utils.
Preparing to unpack .../amazon-efs-utils-1.34.5-1_all.deb ...
Unpacking amazon-efs-utils (1.34.5) ...
Setting up stunnel4 (3:5.56-1) ...
Warning: The home dir /var/run/stunnel4 you specified can't be accessed: No such file or directory
Adding system user `stunnel4' (UID 117) ...
Adding new group `stunnel4' (GID 125) ...
Adding new user `stunnel4' (UID 117) with group `stunnel4' ...
Not creating home directory `/var/run/stunnel4'.
Setting up amazon-efs-utils (1.34.5) ...
dpkg (subprocess): unable to execute installed amazon-efs-utils package post-installation script (/var/lib/dpkg/info/amazon-efs-utils.postinst): No such file or directory
dpkg: error processing package amazon-efs-utils (--configure):
installed amazon-efs-utils package post-installation script subprocess returned error exit status 2
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3.19) ...
Errors were encountered while processing:
amazon-efs-utils
E: Sub-process /usr/bin/dpkg returned an error code (1)
Im trying to follow the guide from https://docs.aws.amazon.com/efs/latest/ug/installing-amazon-efs-utils.html#installing-other-distro but it does not seem to work on WSL2 Ubuntu 20.04 Trying to install the build .deb package returns following error:
System: