How did I solve «cannot create user data directory: failed to verify SELinux context of /root/snap: exec: "matchpathcon": executable file not found in $PATH» for Certbot / Let's Encrypt?

2023-10-19--20-54-39

Step 1

apt install selinux-utils

github.com/PowerShell/PowerShell/issues/9252#issuecomment-478692017

Step 2

Step 3

aptitude install selinux-policy-default

How did I fix «update-alternatives: error: alternative path /etc/mysql/mariadb.cnf doesn't exist»?

Step 4

Step 5

reboot