我尝试使用make命令重新编译内核以进行配置,但出现了以下错误:
scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory
#include <openssl/bio.h>于是,我尝试安装了libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
libssl-dev : Depends: libssl1.1 (= 1.1.1b-1ubuntu2) but 1.1.1b-1ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.谁能告诉我怎样才能修复我的依赖关系?我为什么要把它们弄坏呢?
发布于 2020-04-11 18:56:14
尝试安装aptitude并使用此工具降级libssl-dev。
$ sudo apt-get install aptitude完成此步骤后,使用After将您的从1.1.1b-1ubuntu2降级到1.1.1b-1ubuntu2.1
$ sudo aptitude install libssl-dev仔细选择选项。这将解决您的问题。
https://stackoverflow.com/questions/59016911
复制相似问题