【问题标题】:Failing to upgrade parrot os 4.7parrot os 4.7 升级失败
【发布时间】:2020-06-20 23:35:24
【问题描述】:
$ sudo apt-get dist-upgrade
[sudo] password for shepie:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Error!
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:
libc6-dev : Breaks: libgcc-9-dev (< 9.3.0-5~) but 9.2.1-22 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

【问题讨论】:

  • 抱歉,StackOverflow 致力于帮助解决编程代码问题。您的 Q 可能更适合 Unix & Linux,但请阅读他们关于主题问题的帮助部分。并且请先阅读Help On-topicHelp How-to-ask,然后再在此处发布更多问题。祝你好运。

标签: linux operating-system dependencies upgrade parrot


【解决方案1】:

按照这个:

  1. sudo leafpad /var/lib/dpkg/status

  2. 从文档中删除以下行并保存。 (您可以使用 ctrl F 并删除以下行)

    包:libgcc-9-dev 状态:安装ok安装 优先级:可选 部分:libdevel 安装尺寸:13607 维护者:Debian GCC 维护者 debian-gcc@lists.debian.org 架构:amd64 多拱:相同 来源:gcc-9 版本:9.2.1-19 取决于:gcc-9-base (= 9.2.1-19), libgcc1 (>= 1:9.2.1-19), libgomp1 (>= 9.2.1-19), libitm1 (>= 9.2.1-19) , libatomic1 (>= 9.2.1-19), libasan5 (>= 9.2.1-19), liblsan0 (>= 9.2.1-19), libtsan0 (>= 9.2.1-19), libubsan1 (>= 9.2 .1-19), libquadmath0 (>= 9.2.1-19) 推荐:libc6-dev (>= 2.13-5) 说明:GCC 支持库(开发文件) 这个包包含必要的头文件和静态库文件 构建使用 libgcc、libgomp、libquadmath、libssp 或 libitm 的 C 程序。 主页:http://gcc.gnu.org/

  3. sudo apt --fix-broken install

  4. sudo apt update && apt full-upgrade

【讨论】:

    猜你喜欢
    • 2017-03-16
    • 2018-12-17
    • 2022-11-11
    • 2015-08-06
    • 2019-02-23
    • 1970-01-01
    • 1970-01-01
    • 2023-03-20
    • 1970-01-01
    相关资源
    最近更新 更多