无法升级鹦鹉操作系统 4.7


$ 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.

遵循这个:

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

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

    软件包:libgcc-9-dev 状态:安装正常已安装 优先级:可选 部分: 自由 安装大小: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

相关内容

最新更新