'port -qv installed' returns empty list

Pepijn Kenter kenter at stcorp.nl
Wed May 30 12:08:20 PDT 2012


On 30 May 2012, at 18:12, Jeremy Lavergne wrote:

>> So therefore I want to know: in which file does MacPorts store which packages are installed?
> 
> It's a sqlite db file, likely in /opt/local/var/macports/ but also requires the archives of installed software to be in place. You're best bet is to restore all of /opt/local/var/macports, get the list of files, and then reinstall base MacPorts and do the install.
> 
>> Thanks in advance, Pepijn.
> 

I just discovered that my time machine did not backup the /opt directory for over a year. I don't understand why.

I do have the /opt/local/var/macports/registry/registry.db file so I can see if I can extract some info from it.

Thanks, Pepijn.




More information about the macports-users mailing list