Skip to content

Unable to locate libncurses5:i386

When attempting to install common build dependencies, I receive the following:

┌──(kali㉿kali-ops)-[~/…/gitlab.com/kalilinux/build-scripts/kali-arm]
└─$ sudo ./common.d/build_deps.sh

[i] Kali-ARM build-script machine preparation

[i] Updating apt
Hit:2 http://packages.microsoft.com/repos/code stable InRelease
Hit:1 http://mirrors.jevincanders.net/kali kali-rolling InRelease
Reading package lists... Done

[i] Installing: gnupg flex bison gperf build-essential zip curl libncurses5-dev zlib1g-dev parted kpartx debootstrap pixz qemu-user-static abootimg cgpt vboot-kernel-utils vboot-utils u-boot-tools bc lzma lzop automake autoconf m4 rsync schedtool git dosfstools e2fsprogs device-tree-compiler libssl-dev systemd-container libgmp3-dev gawk qpdf make libfl-dev swig libexpat1-dev libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib dbus python3-dev cgroup-tools lsof jetring eatmydata cmake pkg-config less mmdebstrap crossbuild-essential-arm64 crossbuild-essential-armhf crossbuild-essential-armel gcc-arm-none-eabi
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libncurses-dev' instead of 'libncurses5-dev'
gnupg is already the newest version (2.2.40-1.1).
flex is already the newest version (2.6.4-8.2).
bison is already the newest version (2:3.8.2+dfsg-1+b1).
gperf is already the newest version (3.1-1).
build-essential is already the newest version (12.10).
zip is already the newest version (3.0-13).
curl is already the newest version (7.88.1-11).
libncurses-dev is already the newest version (6.4+20230625-2).
zlib1g-dev is already the newest version (1:1.2.13.dfsg-1).
parted is already the newest version (3.6-3).
kpartx is already the newest version (0.9.4-5).
debootstrap is already the newest version (1.0.128+nmu5).
pixz is already the newest version (1.0.7-2).
qemu-user-static is already the newest version (1:8.0.3+dfsg-5).
abootimg is already the newest version (0.6-1+b2).
cgpt is already the newest version (0~R106-15054.B-1).
vboot-kernel-utils is already the newest version (0~R106-15054.B-1).
vboot-utils is already the newest version (0~R106-15054.B-1).
u-boot-tools is already the newest version (2023.07+dfsg-1).
bc is already the newest version (1.07.1-3+b1).
lzma is already the newest version (9.22-2.2).
lzop is already the newest version (1.04-2).
automake is already the newest version (1:1.16.5-1.3).
autoconf is already the newest version (2.71-3).
m4 is already the newest version (1.4.19-3).
rsync is already the newest version (3.2.7-1).
schedtool is already the newest version (1.3.0-4).
git is already the newest version (1:2.40.1-1).
dosfstools is already the newest version (4.2-1).
e2fsprogs is already the newest version (1.47.0-2).
device-tree-compiler is already the newest version (1.7.0-1).
libssl-dev is already the newest version (3.0.10-1).
systemd-container is already the newest version (254-1).
libgmp3-dev is already the newest version (2:6.3.0+dfsg-2).
gawk is already the newest version (1:5.2.1-2).
qpdf is already the newest version (11.5.0-1).
make is already the newest version (4.3-4.1).
libfl-dev is already the newest version (2.6.4-8.2).
swig is already the newest version (4.1.0-0.3).
libexpat1-dev is already the newest version (2.5.0-2).
libpython2.7 is already the newest version (2.7.18-13.2).
libpython2.7-dev is already the newest version (2.7.18-13.2).
libpython2.7-minimal is already the newest version (2.7.18-13.2).
libpython2.7-stdlib is already the newest version (2.7.18-13.2).
dbus is already the newest version (1.14.8-2).
python3-dev is already the newest version (3.11.4-5+b1).
cgroup-tools is already the newest version (2.0.2-2).
lsof is already the newest version (4.95.0-1).
jetring is already the newest version (0.31).
eatmydata is already the newest version (130-2).
cmake is already the newest version (3.26.4-4).
pkg-config is already the newest version (1.8.1-1).
less is already the newest version (590-2).
mmdebstrap is already the newest version (1.3.7-2).
crossbuild-essential-arm64 is already the newest version (12.10).
crossbuild-essential-armhf is already the newest version (12.10).
crossbuild-essential-armel is already the newest version (12.10).
gcc-arm-none-eabi is already the newest version (15:12.2.rel1-1).
0 upgraded, 0 newly installed, 0 to remove and 728 not upgraded.

[i] Already have: kali-archive-keyring

[i] Detected x64

[i] Already found x86 support

[i] Installing: -o APT::Immediate-Configure=0 libstdc++6:i386 libc6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libgcc-s1:i386' instead of 'libgcc1:i386'
E: Unable to locate package libncurses5:i386

I seem to only be able to install libncurses6:i386, but unsure why at the moment

┌──(kali㉿kali-ops)-[~/…/gitlab.com/kalilinux/build-scripts/kali-arm]
└─$ uname -a                                 
Linux kali-ops 6.1.0-kali9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1kali1 (2023-05-12) x86_64 GNU/Linux
                                                                                                                                                                                           
┌──(kali㉿kali-ops)-[~/…/gitlab.com/kalilinux/build-scripts/kali-arm]
└─$ cat /etc/os-release 
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
VERSION_ID="2023.2"
VERSION="2023.2"
VERSION_CODENAME=kali-rolling
ID=kali
ID_LIKE=debian
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"
ANSI_COLOR="1;31"
Edited by Adam