Opened 13 years ago

Closed 12 years ago

#30831 closed defect (worksforme)

cannot port upgrade outdated

Reported by: jbundgaa@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: ncursesw

Description (last modified by ryandesign (Ryan Carsten Schmidt))

after entering

sudo port -v upgrade outdated

the following terminal output...

--->  Installing ncursesw @5.8_0
Error: Target org.macports.install returned: tar: +CONTENTS: Not found in archive
tar: Error exit delayed from previous errors.
Warning: the following items did not execute (for ncursesw): org.macports.activate org.macports.install
Log for ncursesw is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncursesw/ncursesw/main.log
Error: Problem while installing ncursesw
To report a bug, see <http://guide.macports.org/#project.tickets>

below is the contents of the log file specified in the above terminal output...

version:1
:debug:main Executing org.macports.main (ncursesw)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 502
:debug:main euid changed to: 503
:debug:main Skipping completed org.macports.archivefetch (ncursesw)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (ncursesw)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (ncursesw)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (ncursesw)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (ncursesw)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (ncursesw)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.build (ncursesw)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.destroot (ncursesw)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:install install phase started at Tue Aug 16 17:14:25 MDT 2011
:notice:install --->  Installing ncursesw @5.8_0
:debug:install Can't run install on this port without elevated privileges. Escalating privileges back to root.
:debug:install euid changed to: 0. egid changed to: 0.
:debug:install Executing org.macports.install (ncursesw)
:error:install Target org.macports.install returned: tar: +CONTENTS: Not found in archive
tar: Error exit delayed from previous errors.
:debug:install Backtrace: tar: +CONTENTS: Not found in archive
tar: Error exit delayed from previous errors.
    while executing
"exec [findBinary tar ${portutil::autoconf::tar_path}] -xOj${qflag}f $location +CONTENTS"
    (procedure "extract_contents" line 6)
    invoked from within
"extract_contents $location $portarchivetype"
    (procedure "portinstall::install_main" line 19)
    invoked from within
"$procedure $targetname"
:info:install Warning: the following items did not execute (for ncursesw): org.macports.activate org.macports.install
:notice:install Log for ncursesw is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncursesw/ncursesw/main.log

Change History (4)

comment:1 Changed 13 years ago by jbundgaa@…

PS I already ran "port selfupdate" and received the following terminal output

--->  Updating the ports tree
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.0.1 installed,
MacPorts base version 2.0.1 downloaded.
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated

i am running mac osx 10.7 (Lion) on dual core, core 2 duo with Xcode 4.0 (installed prior to port selfupdate or port upgrade outdated)

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: ncursesw ncurses upgrade outdate lion xcode 4 removed
Port: upgrade outdated install install ncurses removed
Priority: HighNormal

Please use WikiFormatting and preview before submitting. High priority is at the discretion of MacPorts team members.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Try deleting the offending archive from /opt/local/var/macports/software/ncursesw and letting MacPorts download it again. Based on #30942 it sounds like you may have gotten a bad download.

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

ncursesw is gone.

Note: See TracTickets for help on using tickets.