我不知道这个命令实际上会做什么,或者我是否需要下面的包?
找不到任何例子upgrade-system
plutes@plutes-Lenovo-G50-30:~$ sudo apt-get install update
[sudo] password for plutes:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package update
plutes@plutes-Lenovo-G50-30:~$ sudo apt-get install upgrade-system
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
deborphan debsums dialog libfile-fnmatch-perl
The following NEW packages will be installed
deborphan debsums dialog libfile-fnmatch-perl upgrade-system
0 to upgrade, 5 to newly install, 0 to remove and 0 not to upgrade.
Need to get 382 kB of archives.
After this operation, 1,765 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
plutes@plutes-Lenovo-G50-30:~$ sudo apt-get update
Hit:1 http://security.ubuntu.com/ubuntu disco-security InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu disco InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu disco-updates InRelease
Hit:4 http://gb.archive.ubuntu.com/ubuntu disco-backports InRelease
Reading package lists... Done
plutes@plutes-Lenovo-G50-30:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
plutes@plutes-Lenovo-G50-30:~$
答案1
升级系统是一个 APT 前端,它简化了 Debian 系统的定期升级,仅在更新的软件包需要配置新功能时才需要管理员的干预。
它与 无关apt-get update
,其中update
是参数apt-get
。您很可能不需要该包upgrade-system
。