On 2019/02/06 23:32, Sebastian Benoit wrote:
> $ doas pkg_delete gnupg-1.4.23p1                                
> can't delete gnupg-1.4.23p1 without deleting password-store-1.7.3
> Delete them as well ? [y/N/a]
> 
> but password-store has security/gnupg2 as dependency, not gnupg-1.4...
> 
> Port:   password-store-1.7.3
> Path:   security/password-store
> Info:   simple password store
> Maint:  David Dahlberg <david+bsd@dahlberg.cologne>
> Index:  security
> L-deps: 
> B-deps: archivers/xz devel/gmake
> R-deps: converters/base64 devel/git graphics/libqrencode misc/gnugetopt
> security/gnupg2 shells/bash sysutils/colortree x11/xclip
> Archs:  any
> 
> $ pkg_info | grep gnupg
> gnupg-1.4.23p1      GNU privacy guard - a free PGP replacement
> gnupg-2.2.12        GNU privacy guard - a free PGP replacement
> 
> Is there some magic i have to do?

I just fixed this by adding the missing PKGSPEC line to gnupg2 (the
"opposite" of the one already present in gnupg1).

If you update ports/security/gnupg2 in your tree (no need to build it)
and rebuild/update password-store from ports it should fix things up for
you - or it should be picked up automatically in a normal pkg_add -u
run after new pkgs are available.

Reply via email to