apt安装很多包的时候都会提示Some packages could not be installed
然后就去apt-get upgrade提示的那个包,结果提示The following packages have been kept back
上网查这个是怎么回事,清一色的都说执行sudo apt-get dist-upgrade强制更新就不会这样了
于是就执行这个
administrator@administrator-virtual-machine:~/Downloads$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
libicu66
Use 'sudo apt autoremove' to remove it.
The following packages have been kept back:
libjavascriptcoregtk-4.0-18 libwebkit2gtk-4.0-37 thunderbird
thunderbird-gnome-support thunderbird-locale-en
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
执行完直接提示The following packages have been kept back,然后回去执行apt-get upgrade还是会显示The following packages have been kept back,apt-get install也安装不上
然后就去apt-get upgrade提示的那个包,结果提示The following packages have been kept back
上网查这个是怎么回事,清一色的都说执行sudo apt-get dist-upgrade强制更新就不会这样了
于是就执行这个
administrator@administrator-virtual-machine:~/Downloads$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
libicu66
Use 'sudo apt autoremove' to remove it.
The following packages have been kept back:
libjavascriptcoregtk-4.0-18 libwebkit2gtk-4.0-37 thunderbird
thunderbird-gnome-support thunderbird-locale-en
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
执行完直接提示The following packages have been kept back,然后回去执行apt-get upgrade还是会显示The following packages have been kept back,apt-get install也安装不上