收起左侧

apt install build-essential 失败,有办法弄吗?

2
回复
178
查看
[ 复制链接 ]

1

主题

7

回帖

0

牛值

江湖小虾

2025-5-5 10:29:09 显示全部楼层 阅读模式
悬赏2飞牛币已解决

apt install build-essential 失败,有办法弄吗?

shaokn@homeV68:/vol1/1000/soft$ sudo apt install -y build-essential
Reading package lists... Done
Building dependency tree... Done
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
libstdc++-12-dev : Depends: libc6-dev (>= 2.23-1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

收藏
送赞
分享

1

主题

912

回帖

390

牛值

共建版主

社区上线纪念勋章社区共建团荣誉勋章飞牛百度网盘玩家

2025-5-5 10:29:10 显示全部楼层

如果是0.8.47系统,参考这篇帖子:https://club.fnnas.com/forum.php?mod=viewthread&tid=17469

新内核改aptitude install libc6=2.36-9+deb12u10

感谢, 直接 sudo apt install libc6 就可以了。  详情 回复
2025-5-13 12:53

1

主题

7

回帖

0

牛值

江湖小虾

2025-5-13 12:53:47 楼主 显示全部楼层
扫地僧 发表于 2025-5-5 12:20
如果是0.8.47系统,参考这篇帖子:https://club.fnnas.com/forum.php?mod=viewthread&tid=17469
新内核改ap ...

感谢,

直接 sudo apt install libc6 就可以了。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则