[MacPorts] #54743: Binary-only mode requested with no usable archive sites configured

MacPorts noreply at macports.org
Mon Sep 4 09:46:10 UTC 2017


#54743: Binary-only mode requested with no usable archive sites configured
------------------------+-------------------
 Reporter:  ryandesign  |      Owner:
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  base        |    Version:  2.4.1
 Keywords:              |       Port:
------------------------+-------------------
 Attempting a binary-only install while in a port's source directory and
 not specifying the port name results in an incorrect error message:

 {{{
 $ cd $(port dir ncurses)
 $ sudo port -b install
 Error: Failed to archivefetch ncurses: Binary-only mode requested with no
 usable archive sites configured
 Error: See /opt/local/var/macports/logs/_Users_rschmidt_macports_macports-
 ports-svn-trunk_devel_ncurses/ncurses/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port ncurses failed
 $
 }}}

 If specifying the port name, the install proceeds normally:

 {{{
 $ sudo port -b install ncurses
 --->  Fetching archive for ncurses
 --->  Attempting to fetch
 ncurses-6.0-20170520_0+universal.darwin_16.i386-x86_64.tbz2 from
 https://packages.macports.org/ncurses
 --->  Attempting to fetch
 ncurses-6.0-20170520_0+universal.darwin_16.i386-x86_64.tbz2.rmd160 from
 https://packages.macports.org/ncurses
 --->  Installing ncurses @6.0-20170520_0+universal
 --->  Deactivating ncurses @6.0-20170708_0+universal
 --->  Cleaning ncurses
 --->  Activating ncurses @6.0-20170520_0+universal
 --->  Cleaning ncurses
 $
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54743>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list