Opened 13 years ago

Closed 13 years ago

#31144 closed defect (duplicate)

Error from updating.

Reported by: trac@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.2
Keywords: Cc:
Port:

Description (last modified by neverpanic (Clemens Lang))

Not sure what information you require but I tried to update and below this is the print out. I followed the instruction to update the perl5 and reran th outpdate command.

Cheers Chris

/**** Second Run ****/

mbp:~ daviesc$ sudo port upgrade outdated
Warning: No port p5.12-locale-gettext found in the index.
--->  Computing dependencies for help2man
Error: Dependency 'p5.12-locale-gettext' not found.
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

/****  First Run ****/



mbp:~ daviesc$ sudo port upgrade outdated
Password:
--->  Fetching archive for gdbm
--->  Attempting to fetch gdbm-1.9.1_0.darwin_10.x86_64.tgz from http://packages.macports.org/gdbm
--->  Fetching gdbm
--->  Attempting to fetch gdbm-1.9.1.tar.gz from http://mirrors.kernel.org/gnu/gdbm
--->  Verifying checksum(s) for gdbm
--->  Extracting gdbm
--->  Configuring gdbm
--->  Building gdbm
--->  Staging gdbm into destroot
--->  Installing gdbm @1.9.1_0
--->  Activating gdbm @1.9.1_0
--->  Cleaning gdbm
--->  Computing dependencies for perl5.12
--->  Fetching archive for perl5.12
--->  Attempting to fetch perl5.12-5.12.3_2.darwin_10.x86_64.tgz from http://packages.macports.org/perl5.12
--->  Fetching perl5.12
--->  Attempting to fetch perl-5.12.3.tar.bz2 from http://www.cpan.org/src/5.0/
--->  Verifying checksum(s) for perl5.12
--->  Extracting perl5.12
--->  Applying patches to perl5.12
--->  Configuring perl5.12
--->  Building perl5.12
--->  Staging perl5.12 into destroot
--->  Installing perl5.12 @5.12.3_2
--->  Activating perl5.12 @5.12.3_2
--->  Cleaning perl5.12
--->  Computing dependencies for perl5
--->  Fetching archive for perl5
--->  Attempting to fetch perl5-5.12.3_1+perl5_12.darwin_10.noarch.tgz from http://packages.macports.org/perl5
--->  Fetching perl5
--->  Verifying checksum(s) for perl5
--->  Extracting perl5
--->  Configuring perl5
--->  Building perl5
--->  Staging perl5 into destroot
--->  Installing perl5 @5.12.3_1+perl5_12
--->  Cleaning perl5
--->  Computing dependencies for perl5
--->  Deactivating perl5 @5.8.9_0
--->  Activating perl5 @5.12.3_1+perl5_12
Error: Target org.macports.activate returned: Image error: /opt/local/bin/a2p is being used by the active perl5.8 port.  Please deactivate this port first, or use 'port -f activate perl5' to force the activation.
Log for perl5 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5/perl5/main.log
--->  Fetching archive for m4
--->  Attempting to fetch m4-1.4.16_0.darwin_10.x86_64.tgz from http://packages.macports.org/m4
--->  Fetching m4
--->  Attempting to fetch m4-1.4.16.tar.bz2 from http://mirrors.kernel.org/gnu/m4
--->  Verifying checksum(s) for m4
--->  Extracting m4
--->  Configuring m4
--->  Building m4
--->  Staging m4 into destroot
--->  Installing m4 @1.4.16_0
--->  Cleaning m4
--->  Deactivating m4 @1.4.15_0
--->  Activating m4 @1.4.16_0
--->  Cleaning m4
Warning: No port p5.12-locale-gettext found in the index.
--->  Fetching archive for gperf
--->  Attempting to fetch gperf-3.0.4_2.darwin_10.x86_64.tgz from http://packages.macports.org/gperf
--->  Fetching gperf
--->  Verifying checksum(s) for gperf
--->  Extracting gperf
--->  Applying patches to gperf
--->  Configuring gperf
--->  Building gperf
--->  Staging gperf into destroot
--->  Installing gperf @3.0.4_2
--->  Cleaning gperf
--->  Deactivating gperf @3.0.4_0
--->  Activating gperf @3.0.4_2
--->  Cleaning gperf
--->  Computing dependencies for libiconv
--->  Fetching archive for libiconv
--->  Attempting to fetch libiconv-1.14_0.darwin_10.x86_64.tgz from http://packages.macports.org/libiconv
--->  Fetching libiconv
--->  Attempting to fetch libiconv-1.14.tar.gz from http://mirrors.kernel.org/gnu/libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Applying patches to libiconv
--->  Configuring libiconv
--->  Building libiconv
--->  Staging libiconv into destroot
--->  Installing libiconv @1.14_0
--->  Cleaning libiconv
--->  Deactivating libiconv @1.13.1_0
--->  Activating libiconv @1.14_0
--->  Cleaning libiconv
--->  Fetching archive for ncursesw
--->  Attempting to fetch ncursesw-5.8_0.darwin_10.noarch.tgz from http://packages.macports.org/ncursesw
--->  Fetching ncursesw
--->  Verifying checksum(s) for ncursesw
--->  Extracting ncursesw
--->  Configuring ncursesw
--->  Building ncursesw
--->  Staging ncursesw into destroot
--->  Installing ncursesw @5.8_0
--->  Cleaning ncursesw
--->  Deactivating ncursesw @5.7_0+darwin_10
--->  Activating ncursesw @5.8_0
--->  Cleaning ncursesw
--->  Computing dependencies for ncurses
--->  Fetching archive for ncurses
--->  Attempting to fetch ncurses-5.9_1.darwin_10.x86_64.tgz from http://packages.macports.org/ncurses
--->  Fetching ncurses
--->  Attempting to fetch ncurses-5.9.tar.gz from http://mirrors.kernel.org/gnu/ncurses
--->  Verifying checksum(s) for ncurses
--->  Extracting ncurses
--->  Applying patches to ncurses
--->  Configuring ncurses
--->  Building ncurses
--->  Staging ncurses into destroot
--->  Installing ncurses @5.9_1
--->  Cleaning ncurses
--->  Deactivating ncurses @5.7_0+darwin_10
--->  Activating ncurses @5.9_1
--->  Cleaning ncurses
--->  Computing dependencies for help2man
Error: Dependency 'p5.12-locale-gettext' not found.
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (6)

comment:1 Changed 13 years ago by trac@…

Cc: trac@… added

Cc Me!

comment:2 Changed 13 years ago by neverpanic (Clemens Lang)

Cc: trac@… removed
Description: modified (diff)

Please use WikiFormatting and use preview before submitting. You don't need to CC yourself.

comment:3 Changed 13 years ago by neverpanic (Clemens Lang)

What version of MacPorts are you running? Did you recently selfupdate and/or sync the ports tree using port selfupdate and port sync?

comment:4 in reply to:  description Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to trac@…:

Warning: No port p5.12-locale-gettext found in the index.

selfupdate. This port does exist.

--->  Activating perl5 @5.12.3_1+perl5_12
Error: Target org.macports.activate returned: Image error: /opt/local/bin/a2p is being used by the active perl5.8 port.  Please deactivate this port first, or use 'port -f activate perl5' to force the activation.

Upgrade perl5.8 before upgrading perl5.12 to avoid this error.

comment:5 Changed 13 years ago by tempelmann@…

In my case, I got this error when trying to perform a "update outdated". The perl5.8 upgrade did not solve it alone. I got it working by following the solution in https://trac.macports.org/ticket/31314

comment:6 Changed 13 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.