sudo taskel install ubuntu-desktop 不起作用

sudo taskel install ubuntu-desktop 不起作用

我输入此命令和密码后什么也没有发生。

在此处输入图片描述

答案1

如果您想安装一项任务,请在^其后面使用...

sudo apt install ubuntu-desktop^

该方法取代了tasksel命令。第一行和最后几行:

$ sudo apt install ubuntu-desktop^
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'kerneloops' for task 'ubuntu-desktop'
Note, selecting 'openvpn' for task 'ubuntu-desktop'
Note, selecting 'fontconfig' for task 'ubuntu-desktop'
Note, selecting 'libvulkan1' for task 'ubuntu-desktop'
Note, selecting 'gkbd-capplet' for task 'ubuntu-desktop'

....
systemd systemd-sysv systemd-timesyncd
32 upgraded, 132 newly installed, 0 to remove and 12 not upgraded.
Need to get 79,6 MB of archives.
After this operation, 268 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

-参见task第 4 行

如果没有它就^不会使用“任务”安装...

$ sudo apt install ubuntu-desktop
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:

相关内容