On Wed, 14 Feb 2001, Ameurlain Antoine wrote: > Hi,
Hi, > I recently installed a package (aterm) from its debian package file > with dpkg -i. Since I have a compiled version of Xfree864.0, I had > to force the installation (aterm required "xlibs" which I haven't got). > Fine. > But now, apt-get refuse to install anything, complaining there's a broken > dependancy. My questions are: > - Can I live with a broken dependancy, or do I have to remove this > package. > - Is there a documentation about "advanced" features of apt-get, dpkg > and dselect, such as "how to use the system even with broken > dependancies, wich were created on purpose" :) > man page aren't so helpfull, yet they explain well the options. And > general documentations & guides only explain "basic" features > of package management. the easiest way is to make a dummy xlibs package using equivs: Package: equivs Priority: extra Section: admin Installed-Size: 50 Maintainer: Martin Bialasinski <[EMAIL PROTECTED]> Architecture: all Version: 2.0.2 Depends: perl|perl5, debhelper, dpkg-dev, devscripts, make, fakeroot Filename: pool/main/e/equivs/equivs_2.0.2_all.deb Size: 17394 MD5sum: 0c84d50f864ea181738fc1b496b6fb20 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. > Thank you in advance, > > Antoine Ameurlain HTH, Adrian -- Nicht weil die Dinge schwierig sind wagen wir sie nicht, sondern weil wir sie nicht wagen sind sie schwierig.