Cannot upgrade mercurial (macports wants to reinstall latest dependencies) Ticket #18408

robert delius royar apple at frinabulax.org
Fri Feb 6 14:24:46 PST 2009


I filed this as Ticket #18408 because the attachments were too long for 
the list to accept.

I tried to upgrade mercurial today, but the upgrade gets into a situation where 
it wants to install ports that are already installed and that are not outdated 
and ports that are installed and depenedences that are not the latest versions 
but are according to the mercurial port file acceptable.

I have tried a number of ways to get the install to work beginning with 'port 
upgrade mercurial', next 'port -n upgrade mercurial', 'port -fn upgrade 
mercurial' and 'port -f upgrade mercurial'

In all cases, I either get to a place where some dependency of a dependency 
will not uninstall because it is required for other ports and the whole thing 
fails, or I get to a place where gettext (which I know is up to date) keeps 
being refetched, re-everything, fails to re-install and MP either fails or 
tries again.

Here is what 'port installed' and 'port outdated' say before I try to upgrade:
grendel% port installed mercurial
The following ports are currently installed:
   mercurial @0.9.5_0
grendel% port outdated mercurial
The following installed ports are outdated:
mercurial                      0.9.5_0 < 1.1.2_0
grendel% port installed gperf
The following ports are currently installed:
   gperf @3.0.3_0
grendel% port outdated gperf
No installed ports are outdated.
grendel% port installed bzip2
The following ports are currently installed:
   bzip2 @1.0.5_1
grendel% port outdated bzip2
No installed ports are outdated.
grendel% port installed gettext
The following ports are currently installed:
   gettext @0.17_4
grendel% port outdated gettext
No installed ports are outdated.
grendel% port installed zlib
The following ports are currently installed:
   zlib @1.2.3_2
grendel% port outdated zlib
No installed ports are outdated.
grendel% port installed python25
The following ports are currently installed:
   python25 @2.5.2_1+darwin_9
grendel% port outdated python25
The following installed ports are outdated:
python25                       2.5.2_1 < 2.5.4_0
grendel% port installed expat
The following ports are currently installed:
   expat @2.0.1_0
grendel% port outdated expat
No installed ports are outdated.
grendel% port installed libiconv
The following ports are currently installed:
   libiconv @1.12_2
grendel% port outdated libiconv
No installed ports are outdated.

Here are some captures of the output from the commands.  There are a number of 
cannot find receipt errors below, but when I search the 
/opt/local/var/macports/receipts directories, I find what looks like receipts 
for those ports:
grendel% ll /opt/local/var/macports/receipts/libiconv/1.12_2/
total 4
-rw-r--r-- 1 royar admin 1187 2009-02-06 16:05 receipt.bz2
[All attachments are at http://trac.macports.org/ticket/18408 ]
bash-3.2$  port -d upgrade mercurial &> /tmp/debug
[attached as debug.gz]
bash-3.2$  port -df upgrade mercurial &> /tmp/debug1
[attached as debug1.gz]
bash-3.2$  port -dn upgrade mercurial &> /tmp/debug2
[attached as debug2.gz]
bash-3.2$  port -dfn upgrade mercurial &> /tmp/debug3
[attached as debug3.gz]


-- 
Dr. Robert Delius Royar                   Associate Professor of English
Morehead State University                             Morehead, Kentucky


More information about the macports-dev mailing list