Upgrading ncurses & ncursesw fails

Matthias Dietrich matt at rainboxx.de
Sun Dec 21 08:17:17 PST 2008


Hi,

>> --->  Unable to uninstall ncursesw 5.7_0, the following ports  
>> depend on
>> it:
>> --->    ncurses
>> Warning: Uninstall forced.  Proceeding despite dependencies.
>> Error: Uninstall ncursesw 5.7_0 failed: Registry error: Please  
>> specify
>> the name of the port.
>
> What were the exact commands you used to get to this point?

the command was:
  sudo port -f upgrade ncurses

I used the f flag because there were errors without but I cannot  
reproduce them now (the errors without the f flag).

> Yeah, that looks wrong, both shouldn't be active at the same time;  
> how about
> for the ncursesw port?

There are two active ports two:

  The following ports are currently installed:
    ncursesw @5.6_1 (active)
    ncursesw @5.7_0 (active)

> Are there any other ports which are like this?

Phew!  There are plenty of ports installed twice!  Here is the list of  
all currently installed ports:

  2Pong @0.6_1 (active)
  4th @3.5c3_0 (active)
  54321 @1.0.2001.11.16_0 (active)
  9e @1.0_0 (active)
  a2ps @4.13b_3 (active)
  aalib @1.4rc5_3 (active)
  apache2 @2.2.9_1+darwin_9 (active)
  apache2 @2.2.11_0+darwin_9 (active)
  apr @1.2.12_1+darwin_9 (active)
  apr-util @1.2.12_0 (active)
  autoconf @2.62_0 (active)
  autoconf @2.63_0 (active)
  autoconf213 @2.13_0 (active)
  automake @1.10.1_0 (active)
  automake @1.10.2_0 (active)
  bison @2.3_2 (active)
  bison @2.4_1 (active)
  bzip2 @1.0.4_1 (active)
  bzip2 @1.0.5_1 (active)
  cairo @1.4.14_0 (active)
  cairo @1.8.4_1+macosx (active)
  curl @7.18.2_0 (active)
  curl @7.19.2_0 (active)
  cyrus-sasl2 @2.1.22_0+kerberos (active)
  db44 @4.4.20_1 (active)
  db46 @4.6.21_3 (active)
  expat @2.0.1_0 (active)
  fontconfig @2.5.0_0+macosx (active)
  fontconfig @2.6.0_1+macosx (active)
  freetype @2.3.5_1 (active)
  freetype @2.3.7_3+macosx (active)
  gawk @3.1.6_0 (active)
  gd2 @2.0.35_1 (active)
  gd2 @2.0.35_2 (active)
  gdk-pixbuf @0.22.0_1 (active)
  gettext @0.17_3 (active)
  giflib @4.1.6_0
  glib1 @1.2.10_5 (active)
  glib2 @2.14.6_0+darwin_9 (active)
  glib2 @2.18.3_0+darwin_9 (active)
  gnupg @1.4.9_0 (active)
  gperf @3.0.3_0 (active)
  graphviz @2.16.1_1 (active)
  graphviz @2.20.3_0+darwin_9 (active)
  gtk1 @1.2.10_6 (active)
  gtk1 @1.2.10_7 (active)
  help2man @1.36.4_1 (active)
  jbigkit @1.6_0 (active)
  jpeg @6b_2 (active)
  jpeg @6b_3 (active)
  lcms @1.16_0 (active)
  lcms @1.17_0 (active)
  libart_lgpl @2.3.20_0 (active)
  libexif @0.6.16_1 (active)
  libexif @0.6.17_0 (active)
  libgdiplus @1.2.6_1 (active)
  libiconv @1.12_0 (active)
  libmcrypt @2.5.8_0 (active)
  libogg @1.1.3_2 (active)
  libpcap @0.9.8_0 (active)
  libpcap @1.0.0_0 (active)
  libpixman @0.12.0_1 (active)
  libpng @1.2.25_0 (active)
  libpng @1.2.34_0 (active)
  libsdl @1.2.13_1 (active)
  libsdl @1.2.13_2 (active)
  libsdl_image @1.2.6_3 (active)
  libsdl_mixer @1.2.8_0 (active)
  libsdl_mixer @1.2.8_1 (active)
  libtool @1.5.26_0 (active)
  libungif @4.1.4_2 (active)
  libungif @4.1.4_3 (active)
  libusb @0.1.12_1 (active)
  libvorbis @1.2.0_0 (active)
  libvorbis @1.2.0_1 (active)
  libxml2 @2.6.31_0 (active)
  libxml2 @2.7.2_1+darwin_9 (active)
  libxslt @1.1.22_0 (active)
  libxslt @1.1.24_1+darwin_9 (active)
  lynx @2.8.6rel.5_1+ssl (active)
  m4 @1.4.10_1 (active)
  m4 @1.4.12_1 (active)
  mhash @0.9.9_0 (active)
  mhash @0.9.9.9_0 (active)
  mod_perl @1.30_0 (active)
  mod_perl2 @2.0.3_0 (active)
  mono @1.2.6_0+darwin_9 (active)
  mono @2.0.1_0+darwin_9 (active)
  mysql5 @5.0.67_1+server (active)
  ncurses @5.6_0 (active)
  ncurses @5.7_0 (active)
  ncursesw @5.6_1 (active)
  ncursesw @5.7_0 (active)
  neon @0.26.4_0 (active)
  neon @0.28.3_0 (active)
  nmap @4.50_0 (active)
  nmap @4.76_0 (active)
  openssl @0.9.8g_0 (active)
  openssl @0.9.8i_0 (active)
  ossp-uuid @1.6.0_1 (active)
  ossp-uuid @1.6.2_0 (active)
  p5-archive-tar @1.38_0 (active)
  p5-archive-tar @1.40_0 (active)
  p5-compress-raw-bzip2 @2.015_0 (active)
  p5-compress-raw-zlib @2.008_0 (active)
  p5-compress-raw-zlib @2.015_0 (active)
  p5-compress-zlib @2.008_0 (active)
  p5-compress-zlib @2.015_0 (active)
  p5-digest-sha @5.47_0
  p5-extutils-cbuilder @0.22_0 (active)
  p5-extutils-cbuilder @0.24_0 (active)
  p5-extutils-parsexs @2.19_0 (active)
  p5-gd @2.35_0 (active)
  p5-gd-securityimage @1.65_0 (active)
  p5-graph @0.84_0 (active)
  p5-graphviz @2.03_0 (active)
  p5-heap @0.80_0 (active)
  p5-html-parser @3.56_0 (active)
  p5-html-parser @3.59_0 (active)
  p5-html-tagset @3.20_0 (active)
  p5-io-compress-base @2.008_0 (active)
  p5-io-compress-base @2.015_0 (active)
  p5-io-compress-bzip2 @2.015_0 (active)
  p5-io-compress-zlib @2.008_0 (active)
  p5-io-compress-zlib @2.015_0 (active)
  p5-io-zlib @1.09_0 (active)
  p5-ipc-run @0.80_0
  p5-ipc-run @0.82_0 (active)
  p5-locale-gettext @1.05_0 (active)
  p5-math-bezier @0.01_0 (active)
  p5-package-constants @0.01_0
  p5-package-constants @0.02_0
  p5-scalar-list-utils @1.19_0
  p5-scalar-list-utils @1.19_1
  p5-universal-require @0.11_0 (active)
  p5-version @0.74_0 (active)
  p5-version @0.76_0 (active)
  pango @1.18.4_0 (active)
  pango @1.22.4_0 (active)
  pcre @7.6_0 (active)
  pcre @7.8_1 (active)
  perl5.8 @5.8.8_2 (active)
  perl5.8 @5.8.8_3+darwin_9 (active)
  pgAdmin3 @1.8.2_0 (active)
  pgAdmin3 @1.8.4_0 (active)
  php5 @5.2.6_1+apache2+macosx+mysql5 (active)
  php5 @5.2.8_0+apache2+macosx+mysql5 (active)
  phpmyadmin @2.11.4_0 (active)
  pkgconfig @0.23_0 (active)
  pkgconfig @0.23_1 (active)
  postgresql82 @8.2.6_0 (active)
  postgresql82 @8.2.11_0 (active)
  postgresql83 @8.3.0_1 (active)
  postgresql83 @8.3.5_0 (active)
  postgresql83-doc @8.3.0_0 (active)
  postgresql83-doc @8.3.5_0 (active)
  postgresql83-server @8.3.0_0 (active)
  postgresql83-server @8.3.5_0 (active)
  psutils @p17_0 (active)
  readline @5.2.007_0+darwin_9 (active)
  readline @5.2.012_1 (active)
  render @0.9_1 (active)
  render @0.9.2_0 (active)
  serf @0.2.0_0 (active)
  smpeg @0.4.4_6 (active)
  sqlite3 @3.5.6_0 (active)
  sqlite3 @3.6.6.2_0 (active)
  subversion @1.4.6_0 (active)
  subversion @1.5.4_0 (active)
  tiff @3.8.2_1+macosx (active)
  tiff @3.8.2_2+darwin_9+macosx (active)
  urw-fonts @1.0.7pre44_0 (active)
  wget @1.11_0 (active)
  wget @1.11.4_0 (active)
  wxWidgets @2.8.7_0 (active)
  wxWidgets @2.8.9_0 (active)
  Xft2 @2.1.12_0 (active)
  Xft2 @2.1.13_0 (active)
  xorg-renderproto @0.9.3_0 (active)
  xorg-util-macros @1.1.5_0 (active)
  xorg-util-macros @1.2.1_0 (active)
  xorg-xproto @7.0.11_1 (active)
  xorg-xproto @7.0.14_1 (active)
  xrender @0.9.0_2 (active)
  xrender @0.9.4_4+macosx (active)
  zlib @1.2.3_1 (active)
  zlib @1.2.3_2 (active)

Yesterday I tried to upgrade all outdated without checking  
dependencies (flag u).  It ran through but with many errors.  This is  
an example for the apache2, there are many others like this:

  Error: Deactivating apache2 @2.2.9_1 failed: Registry error: Please  
specify the name of the port.

Now I tried `sudo port -vun upgrade outdated` and got the same errors  
again (beside some apache make errors: there's missing uuid.h, but  
it's on the system).

> If not, it can probably be fixed with some forced uninstalling of  
> those, and
> reinstalling.

I tried that already but it doesn't work:

  $ sudo port -d uninstall ncursesw @5.6_1
  DEBUG: ncurses depends on this port
  --->  Unable to uninstall ncursesw 5.6_1, the following ports depend  
on it:
  --->  	ncurses
  DEBUG: Please uninstall the ports that depend on ncursesw first.
      while executing
  "portuninstall::uninstall $portname [composite_version $portversion  
[array get variations]] [array get options]"
  Error: port uninstall failed: Please uninstall the ports that depend  
on ncursesw first.

Could this be an issue of the migration process?  May be `rm -rf /opt`  
with a reinstallation of the macports would help? ;)

matt

P.S.: I have problems sending mails to the list.  It's very slow and  
most of my mails don't go though (msg 1 day later: connected but  
greeting failed).  Is this a known problem?

-- 
rainboxx Matthias Dietrich
Freier Software Engineer

rainboxx                  |  Tel.: +49 (0) 151 / 50 60 78 64
Tölzer Str. 19            |  Mail: matt at rainboxx.de
70372 Stuttgart           |  WWW : http://www.rainboxx.de

XING: https://www.xing.com/profile/Matthias_Dietrich18
GULP: http://www.gulp.de/profil/rainboxx.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: Signierter Teil der Nachricht
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20081221/2fb43dab/attachment.bin>


More information about the macports-users mailing list