I tried to install lamp server using this command: sudo tasksel install lamp-server

But I always get this error:

Can't call method "set" on an undefined value at /usr/share/perl5/Debconf/FrontEnd.pm line 126, <GEN0> line 5.
Use of uninitialized value $ret in scalar chomp at /usr/share/perl5/Debconf/Client/ConfModule.pm line 132, <STDIN> line 4.
Use of uninitialized value $ret in split at /usr/share/perl5/Debconf/Client/ConfModule.pm line 133, <STDIN> line 4.
Use of uninitialized value $ret[0] in string eq at /usr/share/perl5/Debconf/Client/ConfModule.pm line 134, <STDIN> line 4.
Use of uninitialized value $ret[0] in string eq at /usr/bin/debconf-apt-progress line 173, <STDIN> line 4.
tasksel: aptitude failed (255)

I tried to reinstall tasksel but with no luck

  • I get the same error on Debian 7.5 but haven't been able to track down a solution. – amc Jul 11 '14 at 16:28

Tim almost had it right- according to the tasksel manual, you can execute tasksel "tasks" using sudo apt-get, plus the caret:

sudo apt-get install ubuntu-desktop^

I had these same errors, the above command worked for me.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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