I am trying to install Torghost on Kali and am encountering various issues when running the install and build scripts.
I have been able to pin-point it down to an issue that the download may be failing or producing a corrupt .deb file.
I found a similar (but different) issue here (https://askubuntu.com/questions/5198...ta-is-corrupt#) but that is for the apt-get command.
My setup is documented below and the commands and outputs are inserted for reference:

Setup:

Host: Win 10 Pro
Guest: Kali 2020.2a
VM: Oracle Virtualbox 6.1


Installation Torghost (https://github.com/SusmithKrishnan/torghost)

./install.sh:

kali@kali:~/torghost$ ./install.sh
Torghost binary installer v3.0
[Warning] use build.sh for compiling from source
Downloading..
--2020-08-06 04:41:08-- https://github.com/SusmithKrishnan/t..._3.0_amd64.deb
Resolving github.com (github.com)... 13.236.229.21
Connecting to github.com (github.com)|13.236.229.21|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-as...2Foctet-stream [following]
--2020-08-06 04:41:09-- https://github-production-release-as...2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.243.164
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.243.164|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6245488 (6.0M) [application/octet-stream]
Saving to: ?torghost_3.0_amd64.deb?


torghost_3.0_amd64.deb 100%[=================================>] 5.96M 1.64MB/s in 3.6s


2020-08-06 04:41:14 (1.64 MB/s) - ?torghost_3.0_amd64.deb? saved [6245488/6245488]


(Reading database ... 325369 files and directories currently installed.)
Preparing to unpack torghost_3.0_amd64.deb ...
Unpacking torghost (3.0) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: <decompress> subprocess returned error exit status 2
dpkg: error processing archive torghost_3.0_amd64.deb (--install):
cannot copy extracted data for './usr/share/torghost/torghost' to '/usr/share/torghost/torghost.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
torghost_3.0_amd64.deb
done


./build.sh:

kali@kali:~/torghost$ ./build.sh
Torghost installer v3.0
Installing prerequisites
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
fonts-glyphicons-halflings gir1.2-appindicator3-0.1 libappindicator3-1 libboost-iostreams1.67.0
libboost-system1.67.0 libboost-thread1.67.0 libgdal26 libicu63 libprotobuf22
libpython3.7-minimal libpython3.7-stdlib libqhull7 libre2-6 libx265-179 python3-flask-session
python3-pcapfile python3-winrm python3.7 python3.7-minimal ruby-did-you-mean
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
python-pip-whl python3-wheel tor-geoipdb torsocks
Suggested packages:
mixmaster torbrowser-launcher tor-arm apparmor-utils obfs4proxy
The following NEW packages will be installed:
python-pip-whl python3-pip python3-wheel tor tor-geoipdb torsocks
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,590 kB of archives.
After this operation, 17.9 MB of additional disk space will be used.
Get:1 http://kali.download/kali kali-rolling/main amd64 python-pip-whl all 20.0.2-5kali1 [1,842 kB]
Get:2 http://kali.download/kali kali-rolling/main amd64 python3-wheel all 0.34.2-1 [24.0 kB]
Get:3 http://kali.download/kali kali-rolling/main amd64 python3-pip all 20.0.2-5kali1 [211 kB]
Get:4 http://kali.download/kali kali-rolling/main amd64 tor amd64 0.4.3.6-1 [1,943 kB]
Get:5 http://kali.download/kali kali-rolling/main amd64 tor-geoipdb all 0.4.3.6-1 [1,492 kB]
Get:6 http://kali.download/kali kali-rolling/main amd64 torsocks amd64 2.3.0-2+b1 [76.3 kB]
Fetched 5,590 kB in 3s (1,773 kB/s)
Selecting previously unselected package python-pip-whl.
(Reading database ... 325369 files and directories currently installed.)
Preparing to unpack .../0-python-pip-whl_20.0.2-5kali1_all.deb ...
Unpacking python-pip-whl (20.0.2-5kali1) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../1-python3-wheel_0.34.2-1_all.deb ...
Unpacking python3-wheel (0.34.2-1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../2-python3-pip_20.0.2-5kali1_all.deb ...
Unpacking python3-pip (20.0.2-5kali1) ...
Selecting previously unselected package tor.
Preparing to unpack .../3-tor_0.4.3.6-1_amd64.deb ...
Unpacking tor (0.4.3.6-1) ...
Selecting previously unselected package tor-geoipdb.
Preparing to unpack .../4-tor-geoipdb_0.4.3.6-1_all.deb ...
Unpacking tor-geoipdb (0.4.3.6-1) ...
Selecting previously unselected package torsocks.
Preparing to unpack .../5-torsocks_2.3.0-2+b1_amd64.deb ...
Unpacking torsocks (2.3.0-2+b1) ...
Setting up python3-wheel (0.34.2-1) ...
Setting up tor (0.4.3.6-1) ...
Something or somebody made /var/lib/tor disappear.
Creating one for you again.
Something or somebody made /var/log/tor disappear.
Creating one for you again.
/lib/runit-helper/runit-helper: 74: sv: not found
update-rc.d: We have no instructions for the tor init script.
update-rc.d: It looks like a network service, we disable it.
Setting up python-pip-whl (20.0.2-5kali1) ...
Setting up torsocks (2.3.0-2+b1) ...
Setting up tor-geoipdb (0.4.3.6-1) ...
Setting up python3-pip (20.0.2-5kali1) ...
Processing triggers for systemd (245.6-2) ...
Processing triggers for man-db (2.9.3-2) ...
Processing triggers for kali-menu (2020.3.2) ...
Installing dependencies
Requirement already satisfied: stem==1.7.1 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 1)) (1.7.1)
Collecting PyInstaller>=3.6
Downloading PyInstaller-3.6.tar.gz (3.5 MB)
|████████████████████████████████| 3.5 MB 1.9 MB/s
Collecting requests==2.22.0
Downloading requests-2.22.0-py2.py3-none-any.whl (57 kB)
|████████████████████████████████| 57 kB 3.0 MB/s
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests==2.22.0->-r requirements.txt (line 3)) (2020.4.5.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python3/dist-packages (from requests==2.22.0->-r requirements.txt (line 3)) (3.0.4)
Collecting idna<2.9,>=2.5
Downloading idna-2.8-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 3.2 MB/s
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/lib/python3/dist-packages (from requests==2.22.0->-r requirements.txt (line 3)) (1.25.9)
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
PyInstaller>=3.6 from https://files.pythonhosted.org/packa...8f2a1378c1c4b7 (from -r requirements.txt (line 2)):
Expected sha256 3730fa80d088f8bb7084d32480eb87cbb4ddb64123363763cf 8f2a1378c1c4b7
Got 7b7bf83721992fdaf391f4399dad9d828d5080fa062cc03f08 bc7f9389838a11

./build.sh: line 6: pyinstaller: command not found
cp: cannot stat 'dist/torghost': No such file or directory