TritonDataCenter / pkgsrc

NetBSD/pkgsrc fork for our binary package repositories
https://pkgsrc.smartos.org/
131 stars 51 forks source link

[darwin] Conflicting PLIST #23

Open baskerville opened 6 years ago

baskerville commented 6 years ago

A few error messages came up today when I tried to do a full upgrade:

---Sep 30 12:39:43: installing gpgme-1.9.0...
pkg_add: Conflicting PLIST with dirmngr-1.1.1nb2: bin/dirmngr
pkg_add: Can't install dependency gnupg2-[0-9]*
pkg_add: 1 package addition failed
---Sep 30 12:40:09: installing gnupg2-2.2.0nb1...
pkg_add: Conflicting PLIST with dirmngr-1.1.1nb2: bin/dirmngr
pkg_add: 1 package addition failed
---Sep 30 12:41:21: installing neomutt-20170912...
pkg_add: Conflicting PLIST with dirmngr-1.1.1nb2: bin/dirmngr
pkg_add: Can't install dependency gnupg2-[0-9]*
pkg_add: 1 package addition failed

I had to remove dirmngr and re-install neomutt.

jperkin commented 6 years ago

Yeh, I hit this too. Unfortunately there seems to be no good way to fix this, it's due to the gnupg 2.2 upgrade which introduces a conflict but with a dependency rather than the original package. We don't yet (as far as I'm aware) have a mechanism of handling this type of upgrade.

I'll leave this issue open for now and look both at ways we can avoid this in the future, as well as providing an upgrading doc or similar to warn about potential issues.

jperkin commented 5 months ago

GitHub autoclose.