realpath failed -- error uninstalling ports

Dexter Douglas luomo1138 at yahoo.com
Sun Oct 11 05:20:58 PDT 2009


Hello,

That fixed it.

Thank you very much!

--- On Sun, 10/11/09, Joshua Root <jmr at macports.org> wrote:

> From: Joshua Root <jmr at macports.org>
> Subject: Re: realpath failed -- error uninstalling ports
> To: "Dexter Douglas" <luomo1138 at yahoo.com>
> Cc: "Ryan Schmidt" <ryandesign at macports.org>, macports-users at lists.macosforge.org
> Date: Sunday, October 11, 2009, 4:32 AM
> On 2009-10-11 13:10, Dexter Douglas
> wrote:
> > Hello,
> > 
> > I added the debugging statement that you
> suggested.  Here is the output.
> > 
> > $ sudo port -f uninstall inactive
> > Password:
> > --->  Uninstalling coreutils @7.4_0
> > getting realpath for
> /opt/local/var/macports/software/coreutils/7.4_0/opt/local/bin/g[
> > Error: port uninstall failed: realpath failed: No such
> file or directory
> > 
> > $port installed shows
> >   coreutils @7.4_0
> >   coreutils @7.5_0
> >   coreutils @7.6_0 (active)
> > 
> > However, I looked in
> /opt/local/var/macports/software/coreutils.  I only see
> 7.5_0 and 7.6_0 directories.
> > 
> > I have found similar problems with some other
> ports.  For example, 
> > 
> > $port installed name:zlib
> >   zlib @1.2.3_2
> >   zlib @1.2.3_3 (active)
> > 
> > but /opt/local/var/macports/software/zlib only
> contains 1.2.3_3.
> > 
> > How do I clean these up?
> 
> OK, looks like your previous uninstall attempts must have
> died partway
> through because of the bug. You can clean up by removing
> the receipt
> directory corresponding to the missing software/ subdir,
> e.g.
> 
> rm -rf /opt/local/var/macports/receipts/coreutils/7.4_0
> 
> - Josh
> 


      


More information about the macports-users mailing list