Ticket #16454 (closed defect: worksforme)
Fail to set time in many directories and "%% port" is not being recognized
| Reported by: | X_iLeH@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | base | Version: | 1.6.0 |
| Keywords: | Port failed Couldn't sync | Cc: | ryandesign@… |
| Port: |
Description
I installed MacPorts using the installer and then did the profile fix, MANPATH and helppath and the man and help worked until I closed the terminal and opened a new one. and then not even those would work. So I don't really no what's wrong I've messed with it a bit (pico .profile and copied over what it should be but still didn't work). So a few days later and out of ideas, I need some help. If you want the output from the curl then ill send it but other than that I don't know what to tell you.
This is the end output of the curl to fix .profile
sent 36540 bytes received 367818 bytes 38510.29 bytes/sec total size is 18789274 speedup is 46.47 rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-35.2/rsync/main.c(1400) [generator=2.6.9] Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization the local ports tree failed doing rsync An attempt to synchronize your recent MacPorts installation with the project's rsync server failed! Please run 'sudo port -d selfupdate' manually to find out the cause of the error. You have succesfully installed the MacPorts system, launch a terminal and try it out! Read the port(1) manual page and http://guide.macports.org for help, http://www.macports.org/contact.php if you need to get in touch with The MacPorts Project.
Attachments
Change History
comment:2 Changed 5 years ago by ryandesign@…
- Cc ryandesign@… added
- Component changed from ports to base
- Milestone changed from Port Bugs to MacPorts base bugs
So it sounds like you're following the instructions in the ProblemHotlist. As it says there, you should ignore the permissions errors that get printed out; they are normal. You should manually run "sudo port selfupdate" next, to update MacPorts and your ports tree.
Since it still couldn't find the port command, either the .profile did not get set up (not sure why that would be), or you did not close your Terminal window and open a new one, which you need to do to get the .profile to be read.
If even that doesn't work, please show us what is in your .profile now. Also please tell us what version of Mac OS X and Xcode you have and on what kind of Mac.
comment:3 Changed 4 years ago by toby@…
- Milestone changed from MacPorts base bugs to MacPorts Future
Milestone MacPorts base bugs deleted


Curl -O logfile