I have tried to recompile the kernel with make command for config but this error occured:
scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory
#include <openssl/bio.h>
Run Code Online (Sandbox Code Playgroud)
So then a i have tried install 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.
Run Code Online (Sandbox Code Playgroud)
Can anyone tell me how can i fix my dependecies? And why do I have them broken?
小智 6
尝试安装aptitude并使用此工具来降级 libssl-dev。
$ sudo apt-get install aptitude
Run Code Online (Sandbox Code Playgroud)
在这一步之后,使用 aptitude 从 1.1.1b-1ubuntu2.1 降级到 1.1.1b-1ubuntu2
$ sudo aptitude install libssl-dev
Run Code Online (Sandbox Code Playgroud)
仔细选择选项。这将解决您的问题。
小智 6
你需要安装一些必需的包\xef\xbc\x9a
\nsudo apt-get install make build-essential libncurses-dev bison flex libssl-dev libelf-dev\nRun Code Online (Sandbox Code Playgroud)\n
| 归档时间: |
|
| 查看次数: |
8867 次 |
| 最近记录: |