[SOLVED] “subprocess pre-removal script returned error exit status 2” error

Recently, I encountered a package management related error in Ubuntu Jaunty Jackalope 64bit.

The package was python-beagle and the error was: “E: python-beagle: subprocess pre-removal script returned error exit status 2” and details showed:

dpkg (subprocess): unable to execute pre-removal script: Exec format error
dpkg: error processing python-beagle (–remove):
subprocess pre-removal script returned error exit status 2
dpkg (subprocess): unable to execute post-installation script: Exec format error
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
python-beagle
E: Sub-process /usr/bin/dpkg returned an error code (1)

I managed to fix it. Read on for how I did it.

More

[HOWTO]Install Google Chrome in your Ubuntu 9.04 Jaunty Jackalope and Enable Flash on It

I have Ubuntu 9.04 Jaunty Jackalope 64bit and wanted to give Google Chrome Browser a try to see what it feels like to be running Google Chrome OS (which will be based on Linux and run Google  Chrome Browser).

UPDATE Nov 21: Just adding the repository:
deb http://dl.google.com/linux/deb/ stable main
will let you install Google Chrome right from Synaptic.

UPDATE: Now I have Ubuntu Karmic Koala (9.10) alpha 4 and same works for Karmic too.

More

[HOWTO]Install Linux Mint menu in Ubuntu

Here is how I installed Linux Mint Menu in Ubuntu 9.04 Jaunty Jackalope. I downloaded the following packages from the Linux Mint Repo which can be found here:
mintinstall
mint-info
mintsystem
mintmenu
These are the packages (current versions at the time of writing, I recommend you download them from the repository than from these links):
http://packages.linuxmint.com/pool/main/m/mintinstall/mintinstall_6.3.7_all.deb
http://packages.linuxmint.com/pool/main/m/mintsystem/mintsystem_7.5.2_all.deb
http://packages.linuxmint.com/pool/main/m/mintmenu/mintmenu_4.7.9_all.deb

More

A better Torrent Client For Ubuntu 9.04 (Jaunty Jackalope)

Transmission is the default torrent client with Ubuntu. However, I love ktorrent because of the various features it provides. As I use ubuntu and KDE based softwares require kdelibs to be installed, I usually go for alternatives and I found deluge to be a great alternative for ktorrent. It provides similar features as ktorrent.

It can be installed directly via Synaptic but for the latest version, just type in the following in the terminal window. The following instructions apply to Ubuntu 9.04 (Jaunty Jackalope).

More

Install wvdial in Jaunty Jackalope offline

If you used wvdial to connect to the internet, you will be disappointed with Jaunty as it does not have wvdial as a part of the default installation, which means you are unable to connect to the internet to download other required packages.

More