Any way to repair pkg or to do a full packages repair?

Started by DenverTech, November 03, 2020, 04:44:50 PM

Previous topic - Next topic
November 03, 2020, 04:44:50 PM Last Edit: November 03, 2020, 05:40:32 PM by DenverTech
Just had one of our firewalls upgrade from 20.1 to 20.7.4. As with previous ones, it installed fine and we were back up in a short while, aside from the syslog lockup issue, which is an easy fix. After booting up...no DNS. I logged in and found that os-dnscrypt-proxy hadn't installed for some strange reason. The package had been there on 20.1, so this was really odd.

I clicked the plus to add dnscrypt...it runs through the install, then says "nothing to do". It's still not installed, though. Rebooted, tried again, nothing. Logged in via SSH and did the pkg install, same thing. It asks if I want to install it (y/n), then doesn't. No error. ALL other packages install fine. I've done "pkg update -f", "pkg clean -a", and just for amusement I even reset the configuration to stock and tried again. Same issues.

Anyone know a fix for this that doesn't involve a full reinstall?

I got desperate (and frustrated) and reinstalled. The same thing happened! Fresh 20.7 install, no config restore, everything's fine and dnscrypt-proxy is there and working. I update to 20.7.4 and dnscrypt-proxy vanishes and cannot be reinstalled. I've not seen this on our other 7 opnsense boxes at all. I'm at a total loss here.


I may have found my own fix by accident...but still don't know why. Might have a mirror problem out there.
- Fresh install, dnscrypt-proxy vanishes after updating from default mirror
- Cannot reinstall
- If I manually change the mirror (in my case, I tested with both NY and CA mirrors in the US), suddenly it's available and reinstalls fine.
- I change back to default mirror and it uninstalls and cannot reinstall