PDA

View Full Version : Unable to locate package libcapstone3 while using apt install, all other packages install fine.



321
2021-02-18, 22:04
I need to download some packages for the MITMF using the command:

apt-get install python-dev python-setuptools libpcap0.8-dev libnetfilter-queue-dev libssl-dev libjpeg-dev libxml2-dev libxslt1-dev libcapstone3 libcapstone-dev libffi-dev file

The command gives the output

Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneNote, selecting 'python-dev-is-python2' instead of 'python-dev'E: Unable to locate package libcapstone3
Once I remove libcapstone3 from the command everything installs perfectly fine. When I try to install libcapstone3 individually it gives the output:


Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneE: Unable to locate package libcapstone3
I have tried editing my sources.list file, searching for the solution, apt updating and upgrading, I even tried on fresh virtual machine and the same thing happens.


/etc/os-release:


PRETTY_NAME="Kali GNU/Linux Rolling"NAME="Kali GNU/Linux"ID=kaliVERSION="2021.1"VERSION_ID="2021.1"VERSION_CODENAME="kali-rolling"ID_LIKE=debianANSI_COLOR="1;31"HOME_URL="https://www.kali.org/"SUPPORT_URL="https://forums.kali.org/"BUG_REPORT_URL="https://bugs.kali.org/"


/etc/apt/sources.list:




deb http://http.kali.org/kali kali-rolling main non-free contribdeb http://http.kali.org/kali kali-experimental main non-free contribdeb http://http.kali.org/kali kali-last-snapshot main non-free contribdeb-src http://http.kali.org/kali kali-rolling main non-free contrib



I'm using a Kali virtual machine on VirtualBox on my host machine using Windows 10

I've spent hours trying to fix this. Why is this happening and how may I fix it?

AvnishPro
2021-08-28, 07:58
I need to download some packages for the MITMF using the command:

apt-get install python-dev python-setuptools libpcap0.8-dev libnetfilter-queue-dev libssl-dev libjpeg-dev libxml2-dev libxslt1-dev libcapstone3 libcapstone-dev libffi-dev file

The command gives the output

Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneNote, selecting 'python-dev-is-python2' instead of 'python-dev'E: Unable to locate package libcapstone3
Once I remove libcapstone3 from the command everything installs perfectly fine. When I try to install libcapstone3 individually it gives the output:


Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneE: Unable to locate package libcapstone3
I have tried editing my sources.list file, searching for the solution, apt updating and upgrading, I even tried on fresh virtual machine and the same thing happens.


/etc/os-release:


PRETTY_NAME="Kali GNU/Linux Rolling"NAME="Kali GNU/Linux"ID=kaliVERSION="2021.1"VERSION_ID="2021.1"VERSION_CODENAME="kali-rolling"ID_LIKE=debianANSI_COLOR="1;31"HOME_URL="https://www.kali.org/"SUPPORT_URL="https://forums.kali.org/"BUG_REPORT_URL="https://bugs.kali.org/"


/etc/apt/sources.list:




deb http://http.kali.org/kali kali-rolling main non-free contribdeb http://http.kali.org/kali kali-experimental main non-free contribdeb http://http.kali.org/kali kali-last-snapshot main non-free contribdeb-src http://http.kali.org/kali kali-rolling main non-free contrib



I'm using a Kali virtual machine on VirtualBox on my host machine using Windows 10

I've spent hours trying to fix this. Why is this happening and how may I fix it?


I have spent two full days now, still i couldn't find the solution

pallabkumar547
2021-09-19, 02:12
Can anyone help?? I'm also having the same problem. :(

maharmah
2021-09-30, 03:50
use libcapstone4 instead.

rushy
2021-10-16, 17:18
I have spent two full days now, still i couldn't find the solution
Me too. No one here to help us solve this problem. Please help me out!

rushy
2021-10-16, 18:02
I'd got same problem then have realized that libcapstone3 did upgrade to libcapstone4.
I've changed number of version from 3 to 4 then kali said "libcapstone4 is already the newest version" on my system. No need to do anything more
You can try to check it. I think we've got same problem.4720