Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E: Unable to locate package qt5base-dev when trying to run setup.sh on a fresh install of kali linux #67

Open
ghost opened this issue May 15, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented May 15, 2021

Hi. I have a fresh install of kali linux. While trying to run setup.sh it is giving me
E: Unable to locate package qt5base-dev

Heres the whole output of the command

└─$ ./setup.sh                                                     
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease                   
Get:2 http://ftp.belnet.be/pub/kali/kali kali-rolling InRelease [30.5 kB]
Fetched 30.5 kB in 7s (4,540 B/s)                                                                                                                                                                                                           
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
567 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
busybox-static is already the newest version (1:1.30.1-6+b1).
fakeroot is already the newest version (1.25.3-1.1).
kpartx is already the newest version (0.8.5-2).
python3-pexpect is already the newest version (4.8.0-2).
python3-pip is already the newest version (20.3.4-1).
qemu-system-arm is already the newest version (1:5.2+dfsg-10).
qemu-system-mips is already the newest version (1:5.2+dfsg-10).
qemu-system-x86 is already the newest version (1:5.2+dfsg-10).
qemu-utils is already the newest version (1:5.2+dfsg-10).
snmp is already the newest version (5.9+dfsg-3+b1).
uml-utilities is already the newest version (20070815.4-1).
unzip is already the newest version (6.0-26).
util-linux is already the newest version (2.36.1-7).
vlan is already the newest version (2.0.5).
0 upgraded, 0 newly installed, 0 to remove and 567 not upgraded.
Installing binwalk
Cloning into 'binwalk'...
remote: Enumerating objects: 114, done.
remote: Counting objects: 100% (114/114), done.
remote: Compressing objects: 100% (108/108), done.
remote: Total 114 (delta 8), reused 33 (delta 1), pack-reused 0
Receiving objects: 100% (114/114), 32.87 MiB | 569.00 KiB/s, done.
Resolving deltas: 100% (8/8), done.
+ which lsb_release
+ '[' 1 -eq 0 ']'
++ lsb_release -i
++ cut -f 2
+ distro=Kali
++ lsb_release -r
++ cut -f 2
++ cut -c1-2
+ distro_version=20
+ REQUIRED_UTILS='wget tar python'
+ APTCMD=apt
+ APTGETCMD=apt-get
+ YUMCMD=yum
+ '[' Kali = Kali ']'
+ APT_CANDIDATES='git locales build-essential qt5base-dev mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract util-linux firmware-mod-kit cramfsswap squashfs-tools zlib1g-dev liblzma-dev liblzo2-dev sleuthkit default-jdk lzop cpio'
+ PYTHON3_APT_CANDIDATES=
+ PYTHON3_YUM_CANDIDATES=
+ YUM_CANDIDATES='git gcc gcc-c++ make openssl-devel qtwebkit-devel qt-devel gzip bzip2 tar arj p7zip p7zip-plugins cabextract squashfs-tools zlib zlib-devel lzo lzo-devel xz xz-compat-libs xz-libs xz-devel xz-lzma-compat python-backports-lzma lzip pyliblzma perl-Compress-Raw-Lzma lzop srecord'
++ which python3
+ PYTHON=/usr/bin/python3
+ '[' 0 -eq 0 ']'
+ echo 'UID is 0, sudo not required'
UID is 0, sudo not required
+ SUDO=
+ '[' 1 -eq 0 ']'
+ '[' Kali '!=' Unknown ']'
+ echo 'Kali 20 detected'
Kali 20 detected
+ NEEDED_UTILS=
+ for UTIL in $REQUIRED_UTILS
+ find_path wget
+ FILE_NAME=wget
+ echo -ne 'checking for wget...'
checking for wget...+ which wget
+ '[' 0 -eq 0 ']'
+ echo yes
yes
+ return 0
+ '[' 0 -eq 1 ']'
+ for UTIL in $REQUIRED_UTILS
+ find_path tar
+ FILE_NAME=tar
+ echo -ne 'checking for tar...'
checking for tar...+ which tar
+ '[' 0 -eq 0 ']'
+ echo yes
yes
+ return 0
+ '[' 0 -eq 1 ']'
+ for UTIL in $REQUIRED_UTILS
+ find_path python
+ FILE_NAME=python
+ echo -ne 'checking for python...'
checking for python...+ which python
+ '[' 0 -eq 0 ']'
+ echo yes
yes
+ return 0
+ '[' 0 -eq 1 ']'
+ find_path apt
+ FILE_NAME=apt
+ echo -ne 'checking for apt...'
checking for apt...+ which apt
+ '[' 0 -eq 0 ']'
+ echo yes
yes
+ return 0
+ '[' 0 -eq 1 ']'
+ apt install -s -y dpkg

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

+ PKGCMD=apt
+ PKGCMD_OPTS='install -y'
+ PKG_CANDIDATES='git locales build-essential qt5base-dev mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract util-linux firmware-mod-kit cramfsswap squashfs-tools zlib1g-dev liblzma-dev liblzo2-dev sleuthkit default-jdk lzop cpio'
+ PKG_PYTHON3_CANDIDATES=
+ '[' '' '!=' '' ']'
+ cd /tmp
+ apt install -y git locales build-essential qt5base-dev mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract util-linux firmware-mod-kit cramfsswap squashfs-tools zlib1g-dev liblzma-dev liblzo2-dev sleuthkit default-jdk lzop cpio
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package qt5base-dev
@ghost
Copy link
Author

ghost commented May 16, 2021

@cosad3s
Copy link

cosad3s commented Oct 13, 2022

sudo apt install qtbase5-dev (ReFirmLabs/binwalk#537)

@master1018
Copy link

I meet the same issue when install the binwalk, maybe your kali have installed the binwalk, and you can try to modify the setup.sh, skip the install of binwalk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants