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-vault
was 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:
$PATH
resets when the terminal is reopened. To avoid this, register the$PATH
changes in~/.bashrc
file. As mentioned here: stackoverflow. Example:echo 'export PATH=$PATH: /path/to/bin' >> ~/.bashrc
or addexport PATH=$PATH: /path/to/bin
at the end of the.bashrc
by opening it in a editor,sudo vi ~/.bashrc
.