E:Unable to locate package libssl-dev:i386

装下面3个包的时候发现出现下面错误,更换源也没用

sudo apt-get install -y libssl-dev libssl-dev:i386
sudo apt-get install -y libncurses5-dev libncurses5-dev:i386
sudo apt-get install -y libreadline-dev libreadline-dev:i386

在这里插入图片描述

后来查到是说没有启用i386架构

dpkg --add-architecture i386
apt-get update

再装就能装上了,原帖地址
https://unix.stackexchange.com/questions/232774/e-unable-to-locate-package-libssl-dev-when-trying-to-download-32bit-openssl-on

你可能感兴趣的:(Alios-things)