Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'The executable 'bsdtar' Vagrant is trying to run was not found in the PATH variable' in Ubuntu 20.04

I am using Ubuntu 20.04, and I am having the following error message on vagrant up

The executable 'bsdtar' Vagrant is trying to run was not
found in the PATH variable. This is an error. Please verify
this software is installed and on the path.

I tried:

sudo apt-get install libarchive-tools

but got the error:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libarchive-tools
like image 239
Muhammad Muaaz Avatar asked Oct 23 '25 13:10

Muhammad Muaaz


1 Answers

I just setup a vagrant box with archlinux on ubuntu 20.04 and also got the same error. I was able to fix my issue by running

sudo apt install libarchive-tools

Maybe you need to run

sudo apt update

to update your apt database

like image 124
DirtySocrates Avatar answered Oct 25 '25 18:10

DirtySocrates



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!