Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 05-02-2009, 02:29 PM   #1
LQ Newbie
Registered: Oct 2005
Location: newquay - wales - uk
Distribution: RH9
Posts: 29

Rep: Reputation: 15
tasksel: aptitude failed (100) - How to

Ok it's my first how to.

It's quite an easy one, but it stumped me for a while, so I thought I'd share it.

I recently installed my new laptop with Ubuntu 9.04 (desktop version) and wanted to add some of the ubuntustudio functions such as 2d/3d imaging etc, previously when I've wanted to do this I'd just run 'sudo tasksel' and select the tasks I wanted, but on this ocassion i kept getting the "tasksel: aptitude failed (100)" error message.

After googling about for a while I didn't see any solutions that worked for me, but I did see that the tasksel command does support switches, so I ran 'sudo tasksel --help' to see what was available, and at the top was the '-t' switch to test. I ran tasksel again with the switch and hey presto, it reproduced the command it was trying to run but it had formatted it incorrectly, so I ran the command again manually without the errors as foolows.

#sudo tasksel
tasksel: aptitude failed (100)

#sudo tasksel --help
Unknown option: help
tasksel install <task>
tasksel remove <task>
tasksel [options]
-t, --test test mode; don't really do anything
--new-install automatically install some tasks
--list-tasks list tasks that would be displayed and exit
--task-packages list available packages in a task
--task-desc returns the description of a task

#sudo tasksel -t
debconf-apt-progress -- apt-get -q -y install ubuntustudio-audio^ ubuntustudio-desktop^

I then edit the debconf... bit to remove the ^

#sudo debconf-apt-progress -- apt-get -q -y install ubuntustudio-audio ubuntustudio-desktop

The packages in this command will be different for you so I'd suggest copying and pasting the output after your tasksel -t then delete the ^ from it.

Hope this helps some of you as it did me.

Old 07-23-2009, 02:29 PM   #2
LQ Newbie
Registered: Jul 2009
Location: UK
Distribution: Ubuntu
Posts: 1

Rep: Reputation: 0
Talking Another fix

I had tried your solution but with no luck.

Luckily I've found the solution to my problem, I was using Yakuake (drop-down terminal emulator) to install LAMP using tasksel install LAMP command but it seemed to be stuck at 0% and so I closed that terminal session.

After this, every time I try to run the same command in terminal (like I should have been doing in the first place) it gave out the failed (100) error.

Tried filfish's method but made no difference.

Googled about some more to find Within the posts there is one post which I will paste below:

Hi all,

I had the same error message after cancelling the installation process of LAMP task. The system prompted me a suggestion to run the following command (as super user):

sudo dpkg --configure -a

And that finalized the pending installation and solved the problem.

I hope that it works for you also.

The sudo dpkg --configure -a seemed to almost work but there was an error for the installation of mySQL. Tried the old tasksel command again and it worked a charm.
Old 02-13-2010, 04:48 PM   #3
LQ Newbie
Registered: Feb 2010
Posts: 14

Rep: Reputation: 1
IF that still doesn't work, make sure no other synaptic/package managers are open. that was my problem.
1 members found this post helpful.
Old 10-13-2011, 11:40 AM   #4
LQ Newbie
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
use sudo bash instead. It works for me that way. Ubuntu 11


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
aptitude-gtk: Gui for aptitude Rasmus Linux - Software 1 12-19-2008 09:53 AM
tasksel &aptitude tolstoyinlove Debian 5 06-11-2006 01:06 AM
Tasksel Outabux Debian 3 04-14-2006 01:24 AM
how can I get these sections in Tasksel? kuertensun Debian 1 06-29-2005 09:31 PM
Debian apps install with dselect,tasksel or aptitude always crash. SpItoS Debian 4 06-18-2004 08:36 AM

All times are GMT -5. The time now is 01:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration