0个已升级,0个新安装,0个要删除和1个未升级。不升级(ubuntu 20.04)

时间:2020-07-29 23:01:36

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

我正在尝试做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个根本无法升级。我该怎么办?

1 个答案:

答案 0 :(得分:0)

直到最近我也有类似的问题

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 autoclean

sudo apt-get autoremove`