pin Can you pkg_delete them? Try with one package to see if it removes both entries in pkgdb. If, this works it should be possible. I thought it was easier to just wipe the disk clean.
There's another way of doing this but, I don't even dare to write this here, so check if you can delete one package first.
pkg_delete
does indeed remove both duplicate pakages, then pkgin install
installs the single package in /usr/pkg/pkgdb
Let me know if there is a way to bulk delete packages using pkg_delete
. Luckily for me, I made a package list not to long before this shit happened so I know what to reinstall.
As for your other way of doing it I'm open to it. Worst case for me is to reinstall, I really cbf doing that but will if I have to so lets try some dodgy methods first 🤪