Veil Installation Stuck at wine - ruby

i am trying to install veil framework by
./setup.sh --force
but installation stuck when wine start. i am gonna show you some code
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
[ERROR] Failed with installing wine (2): 0
[*] [ALERT]: Existing Veil Wine environment detected at: /var/lib/veil/wine
Do you want to nuke it? ([y]es/[N]o): y
[*] Deleting existing Veil Wine environment...
[*] Creating new Veil Wine environment in: /var/lib/veil/wine
[*] Initializing Veil's Wine environment...
[ERROR] Failed to install (Wine) Python 3.4.4... Exit code: 137
[*] Installing (Wine) Python dependencies...
[*] Installing (Wine) Python's pywin32-220.win32-py3.4.exe...
[ERROR] Failed to install pywin32-220.win32-py3.4.exe... Exit code: 123
[*] Installing (Wine) Python's pycrypto-2.6.1.win32-py3.4.exe...
**[ERROR] Failed to install pycrypto-2.6.1.win32-py3.4.exe... Exit code: 123**
[*] Installing (OS) Python's PyInstaller (via TAR)
wine: cannot find '/var/lib/veil/wine/drive_c/Python34/python.exe'
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
wine: cannot find '/var/lib/veil/wine/drive_c/Python34/python.exe'
[*] Finished (Wine + OS) Python dependencies installation
[*] Initializing (Wine) Ruby installation...
[*] Installing (Wine) Ruby & dependencies
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
[ERROR] Failed to install (Wine) Ruby.exe... Exit code: 123
[*] Installing (Wine) Ruby OCRA gem...
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
[ERROR] Failed to run (wine) Ruby OCRA.. Exit code: 49
[*] Extracting (Wine) Ruby dependencies...
[*] Installing (Wine) AutoIT
[*] Next -> Next -> Next -> Finished! ...Overwrite if prompt (use default values)
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
002b:err:module:__wine_process_init L"Z:\var\lib\veil\setup-dependencies\autoit-v3-setup.exe" not supported on this system
[ERROR] Failed to run (wine) AutoIT.. Exit code: 123
[*] Finished AutoIT installation
[*] Updating Veil configuration...
[*] Finished Veil configuration...
[*] Finished environment checks
[ERROR] There was issues installing the following:
Failed with installing wine (2): 0
Failed to install (Wine) Python 3.4.4... Exit code: 137
Failed to install pywin32-220.win32-py3.4.exe... Exit code: 123
Failed to install pycrypto-2.6.1.win32-py3.4.exe... Exit code: 123
Failed to install (Wine) Ruby.exe... Exit code: 123
Failed to run (wine) Ruby OCRA.. Exit code: 49
Failed to run (wine) AutoIT.. Exit code: 123
[I] If you have any errors running Veil, run: './Veil.py --setup' and select the nuke the wine folder option
[I] Done!
should i install these error packages externally or not ?? any suggestion and solution

1-delete all the files of the veil install from scratch
2-update kali linux
`sudo apt-get update`
`sudo apt-get upgrade`
`sudo apt dist-upgrade`
3- try these codes
pip3 uninstall pycrypto
pip3 install pycryptodome
python3 Veil.py
not: I was using kali 2020.3 and step 3 worked for me, then I switched to 2021.1 and installed it without any difficulty.

run
apt-get install wine32
apt-get install pip
apt-get install ruby-full
check if ruby already installed or not use which ruby, if installed it will be displaying path.
*
apt-get update
apt-get upgrade
apt-get dist-upgrade
run all these in root terminal.

Related

Cannot install erdpy on macOS - failed building wheel for pynacl

I'm trying to install erdpy on a macOS by following the official guide, I successfully managed to download erdpy-up and when I run it, I receive the following error:
File "/opt/homebrew/Cellar/python#3.8/3.8.12/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 161, in run
raise Exception("ERROR: The 'make' utility is missing from PATH")
Exception: ERROR: The 'make' utility is missing from PATH
----------------------------------------
ERROR: Failed building wheel for pynacl
Failed to build pynacl
ERROR: Could not build wheels for pynacl which use PEP 517 and cannot be installed directly
CRITICAL:installer:Could not install erdpy.
Right before that, I see:
Using legacy 'setup.py install' for cffi, since package 'wheel' is not installed.
Using legacy 'setup.py install' for pycryptodomex, since package 'wheel' is not installed.
Building wheels for collected packages: pynacl
Building wheel for pynacl (PEP 517) ... error
Tried to install libsodium using brew but erdpy installation still failed.
Is there another way to install / build it?
I have make installed on my system. The log message is not very clear, but in the end I figured out how I can install erdpy on my Mac.
First I installed libsodium:
brew install libsodium
and then I installed erdpy using pip3:
pip3 install --user --upgrade --no-cache-dir erdpy
Then erdpy -v returns
erdpy 1.0.18
Your error says you don't have the make utility installed.
Install it by executing
brew install make
in your terminal. Then retry the installation.
You could also activate the virtualenv with source ~/elrondsdk/erdpy-activateand then use pip3 install --upgrade --no-cache-dir erdpy.
If you have the M1 processor, it won't install on Mac. You will have to remote connect to a linux system. VS code has the ability to do this, or you could use parallels and run a linux VM locally.

Trouble installing simulation package in Google Colab

Both !pip install simulation and !pip3 install simulation are failing on my Colab instance.
Both are giving me
Failed building wheel for scikit-sparse
Running setup.py clean for scikit-sparse
Failed to build scikit-sparse
...
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
I tried !pip install scikit-sparse==0.4.4 and I'm getting the same.
Does this unblock you?
!apt-get install libsuitesparse-dev && pip install scikit-sparse==0.4.4

xeus-cling install fails in Anaconda

I have created a new virtual instance of Ubuntu 18.10
On this fresh installation, I then installed Anaconda as per the installation instructions (using curl, which I also installed).
The next thing I did (quite literally) after verifying conda was correctly installed was to install xeus-cling via
conda install xeus-cling -c QuantStack -c conda-forge
After downloading all the packages, the install fails with this error:
Executing transaction: failed ERROR conda.core.link:_execute(502): An
error occurred while installing package 'QuantStack::gcc-7-7.2.0-2'.
LinkError: post-link script failed for package
QuantStack::gcc-7-7.2.0-2 running your command again with -v will
provide additional information location of failed script:
/home/anaconda/anaconda3/bin/.gcc-7-post-link.sh
==> script messages <==
Attempting to roll back.
Rolling back transaction: done
LinkError: post-link script failed for package
QuantStack::gcc-7-7.2.0-2 running your command again with -v will
provide additional information location of failed script:
/home/anaconda/anaconda3/bin/.gcc-7-post-link.sh
==> script messages <==
I have repeated this several times, and the error is always the same. Any idea how to resolve the problem? It looks like an issue with the version of gcc, but I'm not sure how to resolve/fix it.
Other conda packages (i.e. SciJava) install without problems (tested in other instances of this process).
Ran into the same issue and resolved it by running
sudo apt-get update
sudo apt-get install -y build-essential
I ran into it on the anaconda3 docker image - so your mileage may vary.

Installation error when installing Ruby for Jekyll

I'm running on Windows 10 Enterprise, build 1703. I have Anaconda 4.4.0 and Python 3.6 installed. I'm running bash and Ubuntu Linux was installed o.k.
I'm trying to install Ruby for Jekyll (https://jekyllrb.com/docs/windows/#installing-jekyll).
The install command is:
sudo apt-get install ruby2.3 ruby2.3-dev build-essential
and it gives the error:
root#bigsur:/mnt/c/Windows/System32# sudo apt-get install ruby2.3 ruby2.3-dev build-essential
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
root#bigsur:/mnt/c/Windows/System32#
root#bigsur:/mnt/c/Windows/System32#
root#bigsur:/mnt/c/Windows/System32# sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of python3.5:
python3.5 depends on python3.5-minimal (= 3.5.2-2ubuntu0~16.04.3); however:
Version of python3.5-minimal on system is 3.5.2-2ubuntu0~16.04.1.
python3.5 depends on libpython3.5-stdlib (= 3.5.2-2ubuntu0~16.04.3); however:
Package libpython3.5-stdlib:amd64 is not installed.
dpkg: error processing package python3.5 (--configure):
dependency problems - leaving unconfigured
Setting up libapt-inst2.0:amd64 (1.2.24) ...
dpkg: unrecoverable fatal error, aborting:
unable to truncate for updated status of 'libapt-inst2.0:amd64': Invalid argument
root#bigsur:/mnt/c/Windows/System32#
Any help will be greatly appreciated.
Charles
I read many posts on the Internet that said the best way to install Jekyll was to install by way of a linux subsystem. I now realize that this is bad advice. After running into trouble (see above), I started over. I found that Build 1703 of Windows 10 Enterprise already had the infrastructure to install Jekyll with the instructions at: https://jekyllrb.com/docs/installation/. I followed these instructions and I now have a clean installation of Jekyll. Don't bother installing Ubuntu. You don't need it, and you will save over 700 MBytes of disc space.
Charles

H5PY install: error command 'x86_64-linux-gnu-gcc' failed with exit status 1

I get the following error:
command 'x86_64-linux-gnu-gcc' failed with exit status 1
when I try to install h5py:
sudo pip install h5py
I tried installing python-dev tools. Doesn't work though
running this first solved it for me:
sudo apt-get install python-h5py

Resources