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

Bug#78371: conflict error does not check for replaces



On 00-11-30 Goswin Brederlow wrote:
> Package: apt
> Version: 0.3.19
> Severity: wishlist

> # apt-get -s install gnupg gpg-rsa
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:

> Sorry, but the following packages have unmet dependencies:
>   gnupg: Conflicts: gpg-rsa
> E: Sorry, broken packages

> But gnupgp replaces gpg-rsa, so the nicest thing would be to say:
> "Not installing gpg-rsa: gnupg replaces gpg-rsa" and install gnupgp.

> A mention of the replaces in the error message could also tell people
> whats wrong, in case you don#t like not installing requested packages.

Did you look at apt-get show gnupg before sending this bug report? I
don't think this is a bug in it, but instead in the control file of
gnupg. Here's en excerpt of it:

|Package: gnupg
|Priority: optional
|Section: non-US
|[...]
|Replaces: gpg-rsa, gpg-rsaref
|Provides: gpg-rsa, gpg-rsaref
|Conflicts: gpg-rsa, gpg-rsaref
|[...]

And if I'm not mistaken Conflicts are more important then Replaces or
Provides. So, apt does the right thing and tells you that it conflicts
with gpg-rsa. If gnupg really replaces some version of rsa then this
control-file is in my opinion wrong, because a package can't replace and
conflict with some other package. So, I think either the control-file
should provide some version numbers in the Conflicts line or the whole
line should be removed.

Ciao
     Christian
-- 
          Debian Developer and Quality Assurance Team Member
    1024/26CC7853 31E6 A8CA 68FC 284F 7D16  63EC A9E6 67FF 26CC 7853

Attachment: pgpIIbbhvIROs.pgp
Description: PGP signature


Reply to: