6

I am following this guide trying to turn my Ubuntu-desktop-installation into Ubuntu-server.

However, I am having problems already in step 2. Using tasksel to remove/install anything returns with:

tasksel: aptitude failed (100)

I've Googled around and read this question (it was the first thing I tried), but nothing suggested works.

I am running 12.04.

Afraid I do now have much more information than that. If anyone could point me in the direction of an error-log that I could look into I can supply with further info, but I have not found anything of interest in them yet.

2 Answers2

3

I had exactly the same issue on 14.04 and managed to solve it. The reason was some broken dependencies. In my case it was Java package so I removed it and then reinstalled after running tasksel.

A one way to find broken dependency is to try to run apt-get remove ubuntu-desktop^ and see whether it will complain about unsatisfied dependencies or just list packages to remove. Make sure to select No and don't actually remove any packages with this command. It may ruin your system

Poma
  • 460
3

I am running 14.04. I've got this error, then I installed default-jre and then I could remove ubuntu-desktop by tasksel.