[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is there an easier way to fake deb package?



Steve Kieu <haiquy@yahoo.com> writes:

> Hi,
> 
> I need to tell dselect or dpkg... , that I have lynx
> installed but not by debian packages, so it wont
> complain dependancies with others, for example..; Is
> there the best way to fake it? I know a package
> somewhere but it is rather complicated to do even I
> would rather press Q to force dselect than make it :-)

I think the equivs package should be able to do this.


$ apt-cache show equivs
Package: equivs
Priority: extra
Section: admin
Installed-Size: 51
Maintainer: Martin Bialasinski <martinb@debian.org>
Architecture: all
Version: 2.0.4
Depends: perl|perl5, debhelper, dpkg-dev, devscripts, make, fakeroot
Filename: pool/main/e/equivs/equivs_2.0.4_all.deb
Size: 18178
MD5sum: 835d97f567fe0cf36700ebf012082993
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.

-- 
Brian Nelson <nelson@bignachos.com>



Reply to: