On Mar 15, 2007, at 12:03 PM, Vincent Lefevre wrote:

On 2007-03-15 17:00:28 +0100, Vincent Lefevre wrote:

The following problem occurs with both the old version and 1.4 rc2:


prunille:~> sudo port -v uninstall m4 @1.4.8b_1

Error: port uninstall failed: Registry error: m4 1.4.8b_1 not registered as installed.

prunille:~> sudo port -v upgrade m4

--->  Activating m4 1.4.8b_1+with_default_names

Error: Activating m4 1.4.8b_1 failed: Image error: Another version of m4 (1.4.4_0) is already active.


Some additional information:


prunille:~> port installed m4

The following ports are currently installed:

  m4 @1.4.4_0 (active)

  m4 @1.4.8b_1+with_default_names


So, the two questions are:


1. Why doesn't upgrade deactivate m4 1.4.4_0 first?


2. Why does uninstall say that m4 1.4.8b_1 is not registered as

   installed while "port installed m4" says it is installed?


The full spec for that installation is @1.4.8b_1+with_default_names. Try using that in the uninstall.

-- 
Kevin Ballard
http://kevin.sb.org
eridius@macports.org
http://www.tildesoft.com