Re: Help: Non-dpkg installed packages
On Thu, Sep 02, 1999 at 01:54:29PM -1000, Amal Phadke wrote:
> But since it was not installed the debian way, dpkg doesn't know
> about it and won't install packages that depend on Lesstif. I would like
> to know whether it is possible to somehow trick dpkg into believing that
> Lesstif is installed. If it is possible, how can this be accomplished?
Of course. The eqivs package is your friend.
marcus@ulysses:~/debian/cvs/webwml/english/ports/hurd$ dpkg --print-avail
Maintainer: Martin Bialasinski <firstname.lastname@example.org>
Depends: perl | perl5, debhelper, dpkg-dev, devscripts, make, fakeroot
Description: Circumventing Debian package dependencies
This is a dummy package which can be used to create Debian
packages, which only contain dependency information.
This way, you can make the Debian package management
system believe that equivalents to packages on which other
packages do depend on are actually installed.
Another possibility is creation of a meta package. When this
package contains a dependency as "Depends: a, b, c", then
installing this package will also select packages a, b and c.
Instead of "Depends", you can also use "Recommends:" or
"Suggests:" for less demanding dependency.
Please note that this is a crude hack and if thoughtlessly used
might possibly do damage to your packaging system. And please
note as well that using it is not the recommended way of dealing
with broken dependencies. Better file a bug report instead.
`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server
Marcus Brinkmann GNU http://www.gnu.org for public PGP Key
Marcus.Brinkmann@ruhr-uni-bochum.de PGP Key ID 36E7CD09