What's wrong with this equivs control file?
paulatgm at gmail.com
Tue Aug 7 20:21:25 UTC 2007
Adam Funk said the following on 08/07/2007 07:30 AM:
> I've compiled gnupg from source and am trying unsuccessfully to use
> equivs to remove the standard package from my system but keep
> satisfying the dependencies. I have the following gnupg-equiv.ctl
> Section: misc
> Priority: optional
> Standards-Version: 3.6.2
> Package: gnupg-equiv
> Version: 1.9.0
> Provides: gnupg (= 1.9.0)
> Replaces: gnupg
> #Conflicts: gnupg
> Description: gnupg with IDEA
> GPG compiled from source with IDEA.
> (I've tried this with and without the "Conflicts" line included.)
> Then I use equivs-build and dpkg -i to try to install it, but I keep
> getting errors that dpkg cannot remove the existing gnupg package
> because of dependencies. What am I missing?
Notice the provides in gnupg .. if you're not providing those some other
way, then dpkg -P gnupg will want to pull off everything requiring them.
Try apt-get --purge remove gnupg to see what packages it wants to pull
off and check their dependencies to see exactly how gnupg relates to them.
paul :~$ apt-cache show gnupg
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Original-Maintainer: James Troup <james at nocrew.org>
Replaces: gpg-rsa, gpg-rsaref
Provides: gpg-rsa, gpg-rsaref
Depends: libbz2-1.0, libc6 (>= 2.6), libcurl3-gnutls (>= 7.16.2-1),
libkrb53 (>= 1.6.dfsg.1), libldap2 (>= 2.1.17-1), libreadline5 (>= 5.2),
libusb-0.1-4 (>= 2:0.1.12), zlib1g (>= 1:1.2.1), gpgv, makedev (>=
2.3.1-13) | devfsd | hurd
Suggests: gnupg-doc, xloadimage
Conflicts: gpg-rsa, gpg-rsaref, suidmanager (<< 0.50), gpg-idea (<= 2.2)
Description: GNU privacy guard - a free PGP replacement
GnuPG is GNU's tool for secure communication and data storage.
It can be used to encrypt data and to create digital signatures.
It includes an advanced key management facility and is compliant
with the proposed OpenPGP Internet standard as described in RFC2440.
GnuPG does not use any patented algorithms so it cannot be compatible
with PGP2 because it uses IDEA (which is patented worldwide).
Bugs: mailto:ubuntu-users at lists.ubuntu.com
More information about the ubuntu-users