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.

When I try to download some software from Ubuntu center or from Synaptic, I get package operation failed...

Package operation failed via Ubuntu Software Center

How to fix this?

edit:

I tried to install this game:

enter image description here

This is the details from the installation:

installArchives() failed: Selecting previously deselected package libbulletml0d2.
(Reading database ... 100%
(Reading database ... 239257 files and directories currently installed.)
Unpacking libbulletml0d2 (from .../libbulletml0d2_0.0.6-4_i386.deb) ...
Selecting previously deselected package tumiki-fighters-data.
Unpacking tumiki-fighters-data (from .../tumiki-fighters-data_0.2.dfsg1-4_all.deb) ...
Selecting previously deselected package tumiki-fighters.
Unpacking tumiki-fighters (from .../tumiki-fighters_0.2.dfsg1-4_i386.deb) ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.UTF8.cache...
Processing triggers for menu ...
Processing triggers for man-db ...
Processing triggers for python-support ...
Setting up plymouth-theme-mib-ubuntu (0.5.0-2) ...
update-alternatives: error: alternative path /lib/plymouth/themes/MIB-Ubuntu/MIB-Ubuntu.plymouth doesn't exist.
dpkg: error processing plymouth-theme-mib-ubuntu (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up libbulletml0d2 (0.0.6-4) ...
Setting up tumiki-fighters-data (0.2.dfsg1-4) ...
Setting up tumiki-fighters (0.2.dfsg1-4) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for menu ...
Errors were encountered while processing:
 plymouth-theme-mib-ubuntu
Setting up plymouth-theme-mib-ubuntu (0.5.0-2) ...
update-alternatives: error: alternative path /lib/plymouth/themes/MIB-Ubuntu/MIB-Ubuntu.plymouth doesn't exist.
dpkg: error processing plymouth-theme-mib-ubuntu (--configure):
 subprocess installed post-installation script returned error exit status 2
share|improve this question
    
What happens when you press "Details" Could you edit your post to include the output from it? –  Marco Ceppi Jul 28 '11 at 13:41
    
@Marco Ceppi I added the "details" from the installation... –  Kvizii Jul 28 '11 at 13:49
3  
Looks like Plymouth isnt working right, or the theme that is being used doesnt exist. Sounds like a glitch in plymouth-theme-mib-ubuntu –  Thomas W. Jul 28 '11 at 14:13
    
And the fix for this is... ? –  Kvizii Jul 28 '11 at 16:47

3 Answers 3

This will work, at least for me:

sudo apt-get --purge remove plymouth-theme-mib-ubuntu

If not, try this:

sudo dpkg --remove -force --force-remove-reinstreq plymouth-theme-mib-ubuntu

After that, you can re-install it with:

sudo apt-get install --reinstall plymouth-theme-mib-ubuntu

And make sure all package are fine with this check:

sudo apt-get update
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove

I currently using Ubuntu Lucid 10.04 LTS, with Kernel 2.6.38.

share|improve this answer

Not a guarantee to work, but this is worth a shot; drop a shell Terminal and type:

sudo apt-get -f install

This will attempt to fix any package dependencies after the failure of a given package. Has bailed me out about 90% of the time.

share|improve this answer

Actually this isn't a problem at all. Why? I have been getting this error quite a few times, and it is NOT a problem in installation. It is simply an error which the system gives out while updating the Library.

I usually just ignored the problem, because the application that I downloaded was already installed. Search it on your system, I can bet that it has already been installed.

Otherwise, use the code:

sudo apt-get --purge remove plymouth-theme-mib-ubuntu

Works for me, although I lose the MIB Plymouth theme, which I don't even use now. Big Deal!

share|improve this answer

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.