Thursday, 5 June 2014

Modifying Dependencies in a deb

I recently needed to install evoluspencil onto debian wheezy, but the deb install fails because of unmet dependencies. The deb is looking for firefox, but the debian project renames firefox to iceweasel and so the dependency cannot be met. One solution is to modify the evoluspencil debian package to allow iceweasel to satisfy the dependency. Here's a video of the steps, which are laid out in comment #5 of this bug report.
mkdir pencil
dpkg-deb -x evoluspencil_2.0.5_all.deb pencil/
dpkg-deb --control evoluspencil_2.0.5_all.deb pencil/DEBIAN
nano pencil/DEBIAN/control  # edit -> Depends: firefox|iceweasel
dpkg -b pencil/ evoluspencil_2.0.5_debian.deb
sudo dpkg -i evoluspencil_2.0.5_debian.deb

No comments:

Post a Comment