Recently I have gone through tasksel
command usage because of LAMP server setup. Why can't I use apt-get
or aptitude
there? Why does the Ubuntu wiki page suggest to do it with tasksel only. Is there any specific reason? Where should tasksel be used? whats going to happen if I use aptitude
or apt-get
instead of tasksel
while installing the server.
Asked
Active
Viewed 1.7k times
15

Raja G
- 102,391
- 106
- 255
- 328
-
Jai - if you are not happy with the answer - suggest a bounty will work - you'll need to update your question specifically with what you are looking for - giving examples etc. For the bounty description - say what characteristics of the bounty will gain an acceptance. – fossfreedom Mar 11 '13 at 14:53
1 Answers
11
I guess you must have used the command:
sudo tasksel install lamp-server
You could have also used:
sudo apt-get install lamp-server^
Remember that lamp-server is not a package but a task. Tasksel is generally used to install tasks on your system. Please read its documentation.
-
1
-
7Where can we find authoritative documentation about it being deprecated? – SDsolar May 02 '18 at 20:50
-
5
-
3Looks like it is not deprecated. If it were then it should have a mention in its documentation: https://help.ubuntu.com/community/Tasksel – Bastion May 09 '19 at 01:59
-
1@Bastion and others that find this through google search, the page from the mentioned link was last edited at 2012-09-03, and there are dangerous bugs listed for tasksel on Ubuntu since 2008 so, even if the package is not explicitly marked as deprecated, one should be careful about using tasksel on Ubuntu because it seems that no one is really taking care of this package compatibility issues in Ubuntu. This is a Debian package and it seems to be active on Debian. – Iogui Sep 21 '21 at 16:09
-
@logui Good point. That bug definitely is concerning, and still there!! – Bastion Sep 24 '21 at 00:40