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[0]:~/debian/cvs/webwml/english/ports/hurd$ dpkg --print-avail
equivs
Package: equivs
Priority: extra
Section: admin
Installed-Size: 49
Maintainer: Martin Bialasinski <martinb@debian.org>
Architecture: all
Version: 1.999.9
Depends: perl | perl5, debhelper, dpkg-dev, devscripts, make, fakeroot
Filename: dists/unstable/main/binary-i386/admin/equivs_1.999.9.deb
Size: 16746
MD5sum: 0c673c070fb876cee7607367e1410e34
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
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/
Reply to: