【问题标题】:0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Not upgrading (ubuntu 20.04)0 升级,0 新安装,0 删除,1 未升级。不升级(ubuntu 20.04)
【发布时间】:2020-11-19 15:21:38
【问题描述】:

我正在尝试做sudo apt-get upgrade exiftool,输出是:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libimage-exiftool-perl' instead of 'exiftool'
libimage-exiftool-perl is already the newest version (11.88-1).
Calculating upgrade... Done
The following packages have been kept back:
  libgegl-0.4-0
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

我尝试过sudo apt-get dist-upgradesudo apt-get upgrade,但未升级的 1 根本不会升级。我该怎么办?

【问题讨论】:

  • SO 仅用于编程问题。请改用Ask Ubuntu 询问。

标签: python-3.x upgrade ubuntu-20.04


【解决方案1】:

直到最近我也遇到了类似的问题

Fetched 3,013 kB in 7s (415 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: php-symfony-console 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

我尝试升级导致问题的单个包,但这只是让我陷入了一个看似已损坏的包依赖关系的兔子洞。

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: php-symfony-console : Depends: php-mbstring E: Broken packages

所以我卸载然后重新安装了包含无法升级的包的“父包”。就我而言,它是整个 php7

`sudo apt-get purge php7.*

sudo apt-get 自动清理

sudo apt-get autoremove`

【讨论】:

    猜你喜欢
    • 2020-08-25
    • 1970-01-01
    • 2020-09-04
    • 2021-10-14
    • 2022-06-13
    • 2014-12-09
    • 2020-08-21
    • 2020-09-09
    • 1970-01-01
    相关资源
    最近更新 更多