0 个升级,0 个新安装,0 个删除,1 个未升级。没有升级(ubuntu 20.04)

问题描述 投票:0回答:1

我正在尝试做

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-upgrade
sudo apt-get upgrade
但是那个 1 没有升级根本没有升级。我该怎么办?

python-3.x upgrade ubuntu-20.04
1个回答
-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 autoclean
sudo apt-get autoremove
© www.soinside.com 2019 - 2024. All rights reserved.