Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.
:~$ 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
share|improve this question
    
first update your repositories(sudo apt-get update) and then try again. –  Avinash Raj Apr 22 at 17:58
    
Try sudo apt-get install lamp-server^ –  Parto Apr 22 at 18:17

2 Answers 2

try:

sudo tasksel install lamp-server
share|improve this answer

Perhaps you'll get the full download if you try another mirror (e.g. via desktop by changing the settings which become available in the software updater app after it has checked for updates).

I found the following commands worked for me directly after a fresh install of Ubuntu 14.04 (trusty):

username@ubuntu:~$ sudo apt-get install tasksel
username@ubuntu:~$ sudo tasksel install lamp-server 
username@ubuntu:~$ webbrowser-app http://localhost
share|improve this answer
    
Read the question carefully. The first command is what fails for the OP. –  hmayag May 1 at 12:56
    
yes it does, and my answer tells them to try the commands after checking for updates and trying another mirror. Read my answer carefully. –  owenmck Jun 12 at 15:08
1  
You are right. I should have read your answer more carefully. My apologies. –  hmayag Jun 12 at 15:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.