libcurl4-openssl-dev:冲突:libssl1.0-dev但将安装1.0.2q-2

时间:2019-07-06 21:16:32

标签: raspberry-pi raspbian alexa-voice-service

因此,我试图在我的树莓派3b +中安装Alexa,但是当我运行时 sudo bash setup.sh config.json刚出现此错误。我尝试安装许多东西,尝试安装它在错误中显示的版本,例如 sudo apt-get install libssl1.0-dev=1.0.2q-2,但表示它不存在。然后看到有人说我需要启用精确更新存储库,但是我不知道如何在Raspbian中做到这一点。任何帮助将不胜感激。

这也是整个消息

Hit:1 http://archive.raspberrypi.org/debian buster InRelease     
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease  
Reading package lists... Done              
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.6).
gcc is already the newest version (4:8.3.0-1+rpi2).
gcc set to manually installed.
git is already the newest version (1:2.20.1-2).
gstreamer1.0-plugins-good is already the newest version (1.14.4-1).
libssl1.0-dev is already the newest version (1.0.2q-2).
libasound2-dev is already the newest version (1.1.8-1+rpt1).
python3-pip is already the newest version (18.1-5+rpt1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libcurl4-openssl-dev : Conflicts: libssl1.0-dev but 1.0.2q-2 is to be installed
E: Unable to correct problems, you have held broken packages.

1 个答案:

答案 0 :(得分:2)

编辑pi.sh文件,并将libssl1.0-dev从依赖项列表中删除并保存。

现在使用sudo bash setup.sh config.json

再次尝试安装。