Bash: tree: command not found

Hello! I am currently doing Linux Fundamentals-> Working with Files and Directories.
I am facing a problem using the tree command with Pwnbox.
After I insert tree command, it says bash: tree: command not found. I have looked for a solution. After I tried installing tree (sudo apt install tree) I am still unable to fix the problem.

This is what it said after I tried to install it.
E: Failed to fetch https://deb.parrot.sh/parrot/pool/main/t/tree/tree_2.1.0-1_amd64.deb Could not connect to deb.parrot.sh:443 (212.71.239.226), connection timed out Could not connect to deb.parrot.sh:443 (212.71.239.5), connection timed out Could not connect to deb.parrot.sh:443 (212.71.239.236), connection timed out
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Can anyone help?

1 Like