Problem with uninstall/upgrade

Vincent Lefevre vincent-opdarw at
Thu Mar 15 09:03:36 PDT 2007

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?

Vincent Lefèvre <vincent at> - Web: <>
100% accessible validated (X)HTML - Blog: <>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)

More information about the macports-dev mailing list