What's wrong with this equivs control file?

Paul S 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
> file:
> 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
Package: gnupg
Priority: important
Section: utils
Installed-Size: 4500
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Original-Maintainer: James Troup <james at nocrew.org>
Architecture: i386
Version: 1.4.6-2ubuntu3
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)
Filename: pool/main/g/gnupg/gnupg_1.4.6-2ubuntu3_i386.deb
Size: 865492
MD5sum: 524fb6949e5c497c60037591dc6c97b6
SHA1: 9d73a4d94b34bf80623bbb1d5faafa815d45c1af
SHA256: 50ee83010b6df885cdf3e8f3745c62d3299b9bba113c459bb1a257f1c4773589
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
Origin: Ubuntu
Task: minimal

More information about the ubuntu-users mailing list