Having a problem with installation of a package that has the architecture of (any) on Ubuntu and also on Raspbian
Solution 1:
According to the Debian Policy Manual you can use the special words all
for an architecture-independent package, and any
for an architecture-dependent package that can be built for any number of different architectures. You need a package that can be installed in your amd64 architecture OS, so make a backup copy of apt-dpkg-install-v4lZRv/5-hashcatch_1.2_any.deb, rename the backup to apt-dpkg-install-v4lZRv/5-hashcatch_1.2_all.deb, change directories using cd
to the directory that contains apt-dpkg-install-v4lZRv/5-hashcatch_1.2_all.deb, and try to install it on your amd64 system with the following commands.
sudo apt update
sudo apt install aircrack-ng ethtool hwloc ieee-data
sudo apt install ./apt-dpkg-install-v4lZRv/5-hashcatch_1.2_all.deb
To test these commands I downloaded hashcatch_1.2_any.deb from GitHub, and installed it with the following steps. I didn't need to rename hashcatch_1.2_any.deb in order to install it, but I also tried renaming hashcatch_1.2_any.deb to hashcatch_1.2_all.deb and I was able to install hashcatch_1.2_all.deb successfully too.
-
Download hashcatch_1.2_any.deb from GitHub.
-
Change directories using
cd
to the directory that contains hashcatch_1.2_any.deb. -
Run the following commands to install it.
sudo apt update apt install --simulate ./hashcatch_1.2_any.deb # test for unmet dependencies sudo apt install aircrack-ng ethtool hwloc ieee-data # Maybe you can skip this step on your system if you didn't get any unmet dependencies in the previous step. sudo apt install ./hashcatch_1.2_any.deb
Note that the --simulate
command runs without sudo
and just provides terminal output about the simulated installation without actually installing anything. The reason for running the --simulate
command is that I was unable to locate the exact file that you tried to install. Please comment and provide a link to it.