可能重复:
从命令行升级?
你好,
我不想使用更新管理器,我只想在终端中输入一个命令,你明白吗?我现在是 10.04,想在终端中升级到 10.10(4 月 29 日是 11.04),可以做到吗?
$ sudo apt-get dist-upgrade
[sudo] password for alvar:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
alvar@alvars-laptop:~$
答案1
检查一下:
答案2
$ sudo apt-get install update-manager-core
$ sudo apt-get dist-upgrade
应该可以解决问题。