realpath failed -- error uninstalling ports
Dexter Douglas
luomo1138 at yahoo.com
Sat Oct 10 19:10:49 PDT 2009
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?
Thanks.
--- On Sat, 10/10/09, Joshua Root <jmr at macports.org> wrote:
> From: Joshua Root <jmr at macports.org>
> Subject: Re: realpath failed -- error uninstalling ports
> To: "Ryan Schmidt" <ryandesign at macports.org>
> Cc: "Dexter Douglas" <luomo1138 at yahoo.com>, macports-users at lists.macosforge.org
> Date: Saturday, October 10, 2009, 6:49 AM
> On 2009-10-10 21:08, Ryan Schmidt
> wrote:
> > And if you can rebuild your MacPorts with the change
> Joshua suggested
> > and let us know what it says, that could help as
> well.
>
> No need to rebuild even, you can just edit
> ${prefix}/share/macports/Tcl/registry1.0/portuninstall.tcl
> in place.
>
> - Josh
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the macports-users
mailing list