-
jfqd1jperkin: Got the following error updating global zone:
-
jfqd1pkg_admin: corrupt pkgdb, duplicate PKGBASE entries:
-
jfqd1gnutls-3.8.10.xxxxxx
-
jfqd1gnutls-3.8.10
-
jfqd1Do you have any idea how to fix this?
-
jperkinhuh, did you ^C a pkg_add/pkgin or something?
-
jperkinthe fix is to remove whichever pkgdb entry is wrong there, so /opt/tools/var/db/pkg has those two directories, check which one has the correct files and remove the other.
-
jfqd1jperkin: No, pkgin ug was not interrupted. I removed the wrong entry in /opt/tools/var/db/pkg and no pkgin ug is working again ;.)
-
jfqd1Thanks a lot for your help!
-
jperkinpkg_add creates that xxx temporary directory during replacement, moves the files from the existing directory, then replaces them, so the only way to end up with that is if pkg_add is killed half way through a replace
-
jperkin(one day I'll finish a rust rewrite which does everything atomically...)
-
jfqd1jperkin: Sorry cannot remeber, that I did this.
-
jfqd1remeber=>remember