Opened 10 months ago

Closed 9 months ago

#67858 closed defect (invalid)

Error: Port kolourpaint not found

Reported by: peterge1998 (Peter) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: kolourpaint

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

I just found MacPorts and want to install Kolourpaint now.

First I executed xcode-select --install:

xcode-select: error: command line tools are already installed, use "Software Update" in System Settings to install updates

Then I ran sudo port install kolourpaint, which gave this error message:

Error: Port kolourpaint not found

How can I install kolourpaint?

Change History (5)

comment:1 Changed 10 months ago by peterge1998 (Peter)

I installed MacPorts-2.8.1-13-Ventura.pkg at the beginning!

comment:2 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Sounds like your portindex is not up to date, or is perhaps entirely nonexistent, for some reason. Run sudo port -d selfupdate to update or create it. (The pkg installer does this as its final step but maybe it failed.)

Last edited 10 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 10 months ago by peterge1998 (Peter)

Then I dace this error:

% sudo port -d selfupdate

DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
--->  Updating MacPorts base sources using rsync
DEBUG: system: /usr/bin/rsync -rtzvl --delete-after --include=/base.tar --include=/base.tar.rmd160 --exclude=* rsync://rsync.macports.org/macports/release/tarballs/ /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
rsync: failed to connect to rsync.macports.org: Operation timed out (60)
rsync error: error in socket IO (code 10) at /AppleInternal/Library/BuildRoots/c2cb9645-dafc-11ed-aa26-6ec1e3b3f7b3/Library/Caches/com.apple.xbs/Sources/rsync/rsync/clientserver.c(106) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzvl --delete-after --include=/base.tar --include=/base.tar.rmd160 --exclude=* rsync://rsync.macports.org/macports/release/tarballs/ /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
Exit code: 10
DEBUG: Error synchronizing MacPorts sources: command execution failed
    while executing
"error "Error synchronizing MacPorts sources: $eMessage""
    ("macports_try ... error" body line 2)
    invoked from within
"macports_try -pass_signal {
        system "$rsync_path ${rsync_options}${include_options} [macports::shellescape $rsync_url] [macports::shellescape $..."
    (procedure "selfupdate::main" line 37)
    invoked from within
"selfupdate::main {options_global_order {} options_selfupdate_order {}} base_updated"
    ("uplevel" body line 1)
    invoked from within
"uplevel [list selfupdate::main $optionslist $updatestatusvar]"
    (procedure "macports::selfupdate" line 2)
    invoked from within
"macports::selfupdate [array get options] base_updated"
Error: Error synchronizing MacPorts sources: command execution failed
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed
Last edited 9 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 10 months ago by jmroot (Joshua Root)

So MacPorts is unable to connect to the rsync server. That would be why the installer wasn't able to create the index in the first place. See: wiki:FAQ#selfupdatefails

comment:5 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Ok, so this is not a bug in MacPorts. If you need further help using MacPorts, please ask on the macports-users mailing list.

Note: See TracTickets for help on using tickets.