Is /opt/local/var/db/dports still used?

Ryan Schmidt ryandesign at macports.org
Fri Nov 14 20:15:21 PST 2008


On Nov 14, 2008, at 22:03, Joe Davison wrote:

>> What's in that directory on your system?
>
> summary is a couple of build trees and source for  
> rsync.rsync.darwinports.org_dpupdate1/base
>
> My guess is that's the 1.6 update itself?
>
> Here's a fuller, but still abbreviated, list --
>
> db
> db/dports

Basically, ${prefix}/db/dports became ${prefix}/var/macports.

> db/dports/.tclpackage

That files appears to say where the Tcl package is. A newer file  
should exist on your system in ${prefix}/var/macports/.tclpackage  
with the same (well, updated) information. So, safe to delete.

> db/dports/build
> db/dports/build/ 
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ 
> dports_aqua_aquaterm

[snip]

Anything starting with  
"_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_d 
ports_" is a port build directory. So either you had autoclean turned  
off and port didn't automatically clean up build directories, or this  
was a failed build at some point. Safe to delete.

> db/dports/sources
> db/dports/sources/rsync.rsync.darwinports.org_dpupdate1
> db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base

These should be the sources of MacPorts itself, which were grabbed  
during a selfupdate. Safe to delete, since they'll be fetched again  
if needed.



More information about the macports-users mailing list