${prefix}/var/macports/software
Rainer Müller
raimue at macports.org
Sun Oct 18 16:23:04 PDT 2009
On 2009-10-17 19:47 , Jeremy Lavergne wrote:
> Question for anyone who happens to know the innards of MacPorts with
> regards to its software directory: is it suppose to be emptied out
> when you have uninstalled all ports?
Yes, would say so.
> This is on a build box for me, and I have archivemode enabled and use
> `-f uninstall` exclusively for software removal.
>
> The software directory is a fat 2.6GB when nothing is installed. Note
> archives are not contained in the software folder (they're in ../
> packages).
>
> Does some combination of my settings leave these files in there? Does
> using -f do this? Does archivemode cause them to be forgotten? Does
> the combination break the expected behavior?
I was able to reproduce this with current trunk without archivemode even
when using regular 'port uninstall'. The image in
${prefix}/var/macports/software has been kept and was not removed as
supposed.
'port -f uninstall' shows the same behavior.
What I did:
$ ls /opt/local/var/macports/software/less/
$ sudo port install less
...
---> Installing less @436_0
---> Activating less @436_0
---> Cleaning less
$ ls /opt/local/var/macports/software/less/
436_0/
$ sudo port uninstall less
---> Deactivating less @436_0
---> Uninstalling less @436_0
$ ls /opt/local/var/macports/software/less/
436_0/
$
Definitely a bug we need to look into.
Rainer
More information about the macports-dev
mailing list