Wednesday, October 14, 2009

Cedega 7 install issue "cedega Error: Dependency is not satisfiable: python2.4-dbus"

Today i downloaded the .deb version of cedega from this URL http://www.cedega.com/downloads/

When i tried to install cedega i came across the following error:
cedega Error: Dependency is not satisfiable: python2.4-dbus


After some search i found out that in ubuntu 9.04 (Jaunty) the package python2.4-dbus was renamed to python-dbus. So this leads to a broken dependency error. The solution i found is:

Open a terminal and navigate to the directory you downloaded the .deb file from cedega. Usally this is your home folder or Desktop folder.
Execute the following commands by the order they appear:

$ mkdir -p cedega_000133_all/DEBIAN
$ ar p cedega_000133_all.deb data.tar.gz | tar zx -C cedega_000133_all/
$ ar p cedega_000133_all.deb control.tar.gz | tar zx -C
$ cedega_000133_all/DEBIAN/
$ mv cedega_000133_all.deb cedega_000133_all.prerebuild.deb
$ perl -pi -e 's/python2.4-dbus/python-dbus/' cedega_000133_all/DEBIAN/control
$ dpkg-deb --build cedega_000133_all
$ rm -rf cedega_000133_all
$ sudo dpkg -i cedega_000133_all.deb
Make sure you have write permissions to this folder if it is outside your home directory. If you don't have sufficient write permissions the build command will produce an error.
Hope this helps.

No comments: