Lock on Registry

Rainer Müller raimue at macports.org
Sat Mar 17 17:12:13 PDT 2012


Please reply to the list, not only to me.
http://trac.macports.org/wiki/MailingLists#reply

On 2012-03-18 00:29 , Sarma Tangirala wrote:
> 
> 
> On 18 March 2012 04:33, Rainer Müller <raimue at macports.org
> <mailto:raimue at macports.org>> wrote:
> 
>     On 2012-03-17 22:38 , Sarma Tangirala wrote:
>     > I was using macports with upgrade and realize it had started to
>     install
>     > all of the available ports.
> 
>     What was the exact command you were running?
> 
> 
> I ran selfupdate first and then upgrade outdated.

Okay, so it is not "installing all available ports", but you asked to
upgrade any outdated ports.

>     > When I try to uninstall a specific package, it stays on
>     > "Waiting for lock on /opt/local/var/macports/registry/.registry.lock
>     > " for quite a while. Any suggestions on what I should do now?
> 
>     The lock is cleared as soon as the port process exits. Check for a still
>     running port command; this would be a tclsh process.
> 
> I can't seem to it, I stopped the process rather than suspend it.

Check top/ps aux/Activity Monitor for any tclsh process. Something must
still be running.

Rainer


More information about the macports-users mailing list