Package Details: python2-pynacl-git 1.4.0.r31.f6c17a3-1

Git Clone URL: (read-only, click to copy)
Package Base: python2-pynacl-git
Description: Python binding to the Networking and Cryptography (NaCl) library
Upstream URL:
Licenses: Apache
Conflicts: python2-pynacl
Provides: python2-pynacl
Submitter: robertfoster
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 3
Popularity: 0.44
First Submitted: 2016-12-27 16:21
Last Updated: 2021-03-22 21:20

Required by (3)

Sources (1)

Latest Comments

Trollwut commented on 2021-03-31 14:33

Seems to be a new error here:

Cloning into 'python2-pynacl-git'...
warning: remote HEAD refers to nonexistent ref, unable to checkout.

==> Starting pkgver()...
fatal: Not a valid object name HEAD
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version:
:: Packages failed to build: python2-pynacl-git-1.4.0.r31.f6c17a3-1

drmoose commented on 2020-09-27 16:15

Adding conflicts=('python2-pynacl') to the PKGBUILD (in addition to the provides line which is already there) fixes the install conflicts. Pacman will offer to remove python2-pynacl for you as part of installing this package.

EDIT: Four minutes later, the maintainer has added it and this package is fixed. Nicely done.

cknoblauch commented on 2020-09-27 15:41

I also ran into this while trying to upgrade python2-paramiko, like @Zwenn76. I fixed it by uninstalling that package (which removed python2-pynacl as an orphan dependency) and reinstalling it with no issue.

Note though that if the official python2-pynacl package is upgraded it will fail unless it starts "providing" python2-pynacl in its PKGBUILD the same way as python2-pynacl-git does, otherwise package managers will assume both packges can coexist and the upgrade will fail.

alwyns42 commented on 2020-09-25 12:43

The package also has replaces('python2-pynacl') which is supposed to work when doing a a sysupgrade, but it does not.

I got it to work by doing yay -Syu --overwrite '/usr/lib/python2.7/site-packages/nacl/*'

This is one place where I find the Arch tooling to be inferior to others.

Zwenn76 commented on 2020-09-23 13:52

I cannot install this package since it conflicts with python2-pynacl which already exists on my system. ertua mentioned to add the provides=('python2-pynacl') to the PKGBUILD, but as far as I can see this is already provided in the file. By the way, I am having this problem since I want to update the python2-paramiko package.

ertua commented on 2020-05-25 09:50

Those who need the now-defunct python2-pynacl package, can add


to this PKGBUILD to make dependency issues resolvable.

aboe commented on 2016-12-24 23:12

shouldn't this be renamed to python2-pynacl-git?