:~$ sudo apt-get install tasksel
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package tasksel is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'tasksel' has no installation candidate
答案1
尝试:
sudo tasksel install lamp-server
答案2
如果您尝试另一个镜像(例如,通过桌面,通过更改软件更新程序应用程序中检查更新后可用的设置),也许您会得到完整的下载。
我发现在全新安装 Ubuntu 14.04 后,以下命令对我有效(可靠):
username@ubuntu:~$ sudo apt-get install tasksel
username@ubuntu:~$ sudo tasksel install lamp-server
username@ubuntu:~$ webbrowser-app http://localhost