On 27/5/2024 02:04, Gerben Wierda wrote:
Thank you.

I had all kinds of other issues as well, so I was starting to wonder my MacPorts registry was corrupted

E.g. clamav-server did not activate because an older /opt/local/etc/clamd.conf.macports.orig was still there. Or a just installed certbot that on clean quits with an error because certbot is not installed. But iyt may have been macports/sources.conf location confusion or an interrupted update..

Anyway, is there a way to rebuild the registry (without losing all my configs in /opt/local/etc and elsewhere)? Just in case it is corrupted?

That isn't the symptom that registry corruption would typically give you, but sure, rebuilding the registry entry for a port is easily accomplished by reinstalling it:

sudo port -n upgrade --force someport

- Josh

Reply via email to