Opened 10 years ago

Closed 10 years ago

#46034 closed defect (invalid)

selfupdate doesnt work

Reported by: fabiograetz@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.3
Keywords: Cc:
Port:

Description

Dear all,

selfupdate doesn't work and i can't figure out why! when running selfupdate -d i get the following

DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
--->  Updating MacPorts base sources using rsync
receiving file list ... done
rsync: mkstemp "/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/.base.tar.HDsUpz" failed: Permission denied (13)
inflate returned -3 (3 bytes)
rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-42/rsync/token.c(419) [receiver=2.6.9]
rsync: connection unexpectedly closed (31 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-42/rsync/io.c(452) [generator=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
Exit code: 12
DEBUG: Error synchronizing MacPorts sources: command execution failed
    while executing
"macports::selfupdate [array get global_options] base_updated"
Error: Error synchronizing MacPorts sources: command execution failed
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed

I hope someone can help me :)

Thx

F

Change History (3)

comment:1 in reply to:  description Changed 10 years ago by larryv (Lawrence Velázquez)

Component: portsbase

Replying to fabiograetz@…:

rsync: mkstemp "/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/.base.tar.HDsUpz" failed: Permission denied (13)
inflate returned -3 (3 bytes)

Are you running port selfupdate using sudo? If not, try that.

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

Any update on this?

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

Resolution: invalid
Status: newclosed

If you need further help getting selfupdate to work, please write to the macports-users mailing list.

Note: See TracTickets for help on using tickets.