Re: upgrade installed problem

"Daniel J. Luke" <[email protected]> Tue, 15 Aug 2006 18:44:09 -0400
Newsgroups gmane.os.opendarwin.darwinports
Message-ID <[email protected]>
On Aug 15, 2006, at 5:53 PM, Marcus Bointon wrote:
> My DarwinPorts install seems to have got a little confused. I  
> noticed an error that kept recurring, and I found I could provoke  
> it by doing port sync; port selfupdate; port upgrade installed. I  
> could then replicate it exactly by doing this:

You probably want 'port upgrade outdated' and not 'port upgrade  
installed'

> sudo port -d -v upgrade DarwinPorts
> DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/sysutils/darwinports
> --->  Activating DarwinPorts 1.3.2_0+darwin_8+darwin_8_i386
> DEBUG: Image error: /Library/Tcl/darwinports1.0/Darwinports.dylib  
> already exists and does not belong to a registered port.  Unable to  
> activate port DarwinPorts.
>     while executing
> "_activate_contents $name $imagefiles $imagedir"
>     (procedure "portimage::activate" line 51)
>     invoked from within
> "portimage::activate $portname $version_installed$variant  
> $optionslist"
> Error: Activating DarwinPorts 1.3.2_0 failed: Image error: /Library/ 
> Tcl/darwinports1.0/Darwinports.dylib already exists and does not  
> belong to a registered port.  Unable to activate port DarwinPorts.
>
> I found out the hard way that trying to force this results in the  
> port command being removed, but a reinstall of 1.3.1 binaries  
> brought it back, though I still get this error.
>
> How can I clean this up?

This looks to me like a side-effect of the release process...

Perhaps our download should be modified so that it doesn't have the  
darwinports port registered as installed? (that way the behavior one  
would get from installing a cvs checkout is matched).

--
Daniel J. Luke
+========================================================+
| *---------------- [email protected] ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+

_______________________________________________
Darwinports mailing list
[email protected]
http://www.opendarwin.org/mailman/listinfo/darwinports
PGP.sig (application/pgp-signature, 186 B) - not displayed