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