0x01 介绍
某些服务商的默认软件包有问题,导致安装 build-essential 会出现问题。大概就是这样子:
root@localhost:~# sudo apt install build-essential -y
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:
build-essential : Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:4.9.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
0x01 解决方法
1. 一条命令搞定:
sudo aptitude install build-essential
最新评论
您汉化的4.10.3能否发一个给我?
大神你好,请问这个要怎么汉化?我想折腾它,可是好几次都没有找到突破口放弃了,请指点迷津,谢谢!另外,为何你这个无法进入data文件夹?
大神你好,请问这个要怎么汉化?我想折腾它,可是好几次都没有找到突破口放弃了,请指点迷津,谢谢!