云梦
www.htcp.net

Debian 解决安装 build-essential 循环依赖报错问题

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

赞(2) 打赏
文章通过 CC 4.0 BY-NC-ND 协议发布,转载请注明出处:云梦 » Debian 解决安装 build-essential 循环依赖报错问题

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

如果您觉得文章有用,可以支持一下本站

非常感谢你的打赏,我们将继续给力更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫打赏

微信扫一扫打赏