yeah, I don’t know. On my 10.4 PPC system, I see my registry.db is even bigger at 883 MB, but uninstalling ports in instantaneous.
Not sure what the real problem is just at the moment with that 10.5 system. Ken > On Jun 21, 2020, at 11:56 AM, Jeffrey Walton <[email protected]> wrote: > > On Sun, Jun 21, 2020 at 2:18 PM Ken Cunningham > <[email protected]> wrote: >> >> On one of my systems, 10.5 PPC, things are taking a long time when >> uninstalling a port - like 4-5 minutes of heavy tcl interpreter use. >> >> The registry.db is pretty huge: >> >> $ ls -la >> total 1286264 >> drwxr-xr-x 7 root admin 238 21 Jun 11:06 . >> drwxr-xr-x@ 15 root admin 510 18 Dec 2018 .. >> -rw-r--r-- 1 root admin 0 21 Jun 10:59 .registry.lock >> -rw-rw-r-- 1 root admin 0 1 Oct 2015 .turd_MacPorts >> drwxr-xr-x 2954 root admin 100436 21 Jun 10:59 portfiles >> drwxr-xr-x 185 root admin 6290 13 Jun 19:51 portgroups >> -rw-r--r-- 1 root admin 658564096 21 Jun 11:06 registry.db > > Another PowerMac 10.5 datapoint, if it is helpful: > > $ ls -Al > total 115880 > -rw-r--r-- 1 root admin 0 Jun 20 00:07 .registry.lock > -rw-rw-r-- 1 root admin 0 Oct 1 2015 .turd_MacPorts > drwxr-xr-x 207 root admin 7038 Jun 20 00:07 portfiles > drwxr-xr-x 55 root admin 1870 Jun 20 00:02 portgroups > -rw-r--r-- 1 root admin 59329536 Jun 20 00:07 registry.db > > My MacPorts update recipe is as follows. > > /opt/local/bin/port selfupdate > /opt/local/bin/port upgrade outdated > /opt/local/bin/port clean inactive > /opt/local/bin/port -f uninstall inactive > > Jeff
