Fix for “tasksel: aptitude failed (100)”

$sudo tasksel
xserver-xorg                                    install
tasksel: aptitude failed (100)

You just need to re-run tasksel after updating your sources.

$sudo apt-get update