Sometimes Ubuntu fails to install some services which probably can be fixed by updating the Ubuntu distro, which was my case.
My case was
aws-vaultwas throwing strange errors. Updating Ubuntu fixed it.
Here are the steps I did to make the Ubuntu update go smooth.
Note: Make sure you are running it as a non-root user
Note:
$PATHresets when the terminal is reopened. To avoid this, register the$PATHchanges in~/.bashrcfile. As mentioned here: stackoverflow. Example:echo 'export PATH=$PATH: /path/to/bin' >> ~/.bashrcor addexport PATH=$PATH: /path/to/binat the end of the.bashrcby opening it in a editor,sudo vi ~/.bashrc.