[MacPorts] #72085: Insufficient privileges to write to MacPorts install prefix

MacPorts noreply at macports.org
Thu Feb 20 22:35:51 UTC 2025


#72085: Insufficient privileges to write to MacPorts install prefix
-------------------------------------------------+-------------------------
 Reporter:  csrote                               |      Owner:  (none)
     Type:  defect                               |     Status:  new
 Priority:  Normal                               |  Milestone:
Component:  ports                                |    Version:  2.10.5
 Keywords:  Insufficient privileges to use port  |       Port:  Kegworks
  and then Kegworks                              |
-------------------------------------------------+-------------------------
 Xcode 12.4 for macOS 10.15.7 was installed. 16GB RAM. 1 GB SSD.
 Last login: Thu Feb 20 21:45:58 on console
 peacefulworld at Peacefuls-MacBook-Pro ~ % port version
 Version: 2.10.5
 peacefulworld at Peacefuls-MacBook-Pro ~ % port selfupdate
 Error: Insufficient privileges to write to MacPorts install prefix.
 peacefulworld at Peacefuls-MacBook-Pro ~ % port install kegworks
 Error: Insufficient privileges to write to MacPorts install prefix.
 peacefulworld at Peacefuls-MacBook-Pro ~ % xcode version
 zsh: command not found: xcode
 peacefulworld at Peacefuls-MacBook-Pro ~ % sudo port -d selfupdate
 Password:
 DEBUG: Copying
 /Users/peacefulworld/Library/Preferences/com.apple.dt.Xcode.plist to
 /opt/local/var/macports/home/Library/Preferences
 DEBUG: MacPorts sources location:
 /opt/local/var/macports/sources/selfupdate
 --->  Checking for newer releases of MacPorts
 DEBUG: Attempting to fetch version file
 https://raw.githubusercontent.com/macports/macports-
 base/master/config/RELEASE_URL
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100    63  100    63    0     0     42      0  0:00:01  0:00:01 --:--:--
 42
 MacPorts base version 2.10.5 installed,
 MacPorts base version 2.10.5 available.
 DEBUG: Rebuilding and reinstalling MacPorts if needed
 --->  MacPorts base is already the latest version
 --->  Updating the ports tree
 Synchronizing local ports tree from
 rsync://rsync.macports.org/macports/release/tarballs/ports.tar.gz
 DEBUG: system: /usr/bin/rsync -rtzvl --delete-after
 --include=/ports.tar.gz --include=/ports.tar.gz.rmd160 --exclude=*
 rsync://rsync.macports.org/macports/release/tarballs/
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/remote

 Willkommen auf dem RSYNC-server auf ftp.fau.de.
 Nicht all unsere Mirror sind per rsync verfuegbar.

 Welcome to the RSYNC daemon on ftp.fau.de.
 Not all of our mirrors are available through rsync.


 receiving file list ... done
 ./
 ports.tar.gz
 ports.tar.gz.rmd160

 sent 42117 bytes  received 62470 bytes  23241.56 bytes/sec
 total size is 35942304  speedup is 343.66
 DEBUG: successful verification with key /opt/local/share/macports
 /macports-pubkey.pem
 DEBUG: Using bsdtar with HFS+ compression (if valid)
 DEBUG: system: bsdtar --hfsCompression -C
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/tmp
 -xzf
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/remote/ports.tar.gz
 DEBUG: system: chmod -R a+r
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/remote
 DEBUG: system: /opt/local/bin/portindex
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports
 Creating port index in
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports
 Adding port octave/octave-femoctave
 Adding port java/spring-boot-cli

 Total number of ports parsed:   2
 Ports successfully parsed:      2
 Ports failed:                   0
 Up-to-date ports skipped:       39448


 The ports tree has been updated.sAll installed ports are up to date.
 peacefulworld at Peacefuls-MacBook-Pro ~ % port selfupdate
 Error: Insufficient privileges to write to MacPorts install prefix.
 peacefulworld at Peacefuls-MacBook-Pro ~ %

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


More information about the macports-tickets mailing list