Creating dummy packages to fullfill dependencies in Debian
First of all i would like to make clear that this should just be done if you _really_ know what you are doing, otherwhise it could mess up your system.
Ok so you are warned. However in some cases it is really useful. For example i have the proprietary SUN J2SDK (*.bin file) installed on my system, since the JDK is not integrated into the package management system an apt-get install azureus fails because of broken dependencies on sun-j2dk-1.5.
So i decided to set up a dummy package to pretend that sun-j2dk-1.5 is installed. First we need to create a control file.
equivs-control my-j2sdk1.5This will generate a template control file which can be edited to fit our needs.
Section: misc
Priority: optional
Standards-Version: 3.5.10
Package: my-j2sdk1.5
Provides: sun-j2sdk1.5
Architecture: all
Description: Dummy package whichs only purpose is to provide sun-j2sdk1.5Now the next step is to build an acutal deb package.
equivs-build my-j2sdk1.5This file can now be installed as usual.
dpkg -i my-j2sdk1.5And azureus should now also work properly.
Comments (0)
There are currently no comments available
