首页 新闻 会员 周边 捐助

ubuntu 16.04 升级 18.04 时报错 "Please install all available updates"

0
悬赏园豆:30 [已解决问题] 解决于 2022-09-22 18:34

准备将 ubuntu 16.04 升级 18.04,在执行 apt-get update && apt-get upgrade 命令之后执行 do-release-upgrade 报错

Please install all available updates for your release before upgrading.

请问如何解决?

dudu的主页 dudu | 高人七级 | 园豆:29568
提问于:2022-09-22 18:22
< >
分享
最佳答案
0

执行下面的命令

apt autoremove
apt-get dist-upgrade
apt-get upgrade

再次执行 apt-get upgrade 出现提示

The following packages have been kept back:
  fish
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

专门升级 fish 后问题解决

apt install fish
dudu | 高人七级 |园豆:29568 | 2022-09-22 18:33
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册