What's wrong with this equivs control file?
Adam Funk
a24061 at ducksburg.com
Wed Aug 8 09:53:44 UTC 2007
On 2007-08-07, Paul S wrote:
>> 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:
> 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.
Thanks for the suggestion. Still, the only way I can get this to work
is by using the line
Package: gnupg
rather than
Package: gnupg-equivs
in my control file, even though the examples I've seen typically have
something customized in that line and something standard
(e.g. "mail-transfer-agent") in the Provides line. Maybe this only
works with virtual packages?
The file below works as far as I can tell. Thanks for the advice.
Section: misc
Priority: optional
Standards-Version: 3.6.2
Package: gnupg
Version: 1.9.0
# Maintainer: Your Name <yourname at example.com>
# Pre-Depends: <comma-separated list of packages>
# Depends: <comma-separated list of packages>
# Recommends: <comma-separated list of packages>
# Suggests: <comma-separated list of packages>
#Provides: gnupg (= 1.9.0), gpg-rsa, gpg-rsaref
Provides: gpg-rsa, gpg-rsaref, gpgv (= 1.9.0)
#Conflicts: gnupg
#Replaces: gnupg
# Architecture: all
# Copyright: <copyright file; defaults to GPL2>
# Changelog: <changelog file; defaults to a generic changelog>
# Readme: <README.Debian file; defaults to a generic one>
# Extra-Files: <comma-separated list of additional files for the doc directory>
Description: gnupg compiled with IDEA
Gnupg compiled from source with IDEA.
More information about the ubuntu-users
mailing list