Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#42905 - [gnupg] typo in conflict and provides array

Attached to Project: Arch Linux
Opened by John (graysky) - Wednesday, 26 November 2014, 02:04 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 26 November 2014, 22:22 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I think there is a typo in these arrays:

conflicts=('gnupg2' 'dirmngr')
provides=("gnupg2=${pkgver}" 'dirmngr')

I believe you should omit the number 2 from these. If I keep them as such, my AUR package (gnupg-quiet-sign) fails to install in a dependency hell eith gpgme.

resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: gpgme: requires gnupg>=2
==> WARNING: Failed to install built package(s).
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 26 November 2014, 22:22 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Wednesday, 26 November 2014, 02:47 GMT
A package will automatically "provide" it's pkgname. The provides and conflicts arrays are referring to old packages. The problem is most likely with your package (can't find it in the AUR, though).
Comment by John (graysky) - Wednesday, 26 November 2014, 18:37 GMT
@Scimmia - I added the ARCH package to the provides array and everything worked. This isn't a bug, just ignorance on my part. Thanks for the tip! I uploaded to the AUR now that it works as expected.

You can ignore the patch attachments.

Loading...