Opened 10 years ago
Closed 10 years ago
#45208 closed defect (invalid)
expat @2.1.0 fetch failed
Reported by: | chirok.han@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | ||
Port: |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Fetch always fails. It successfully does selfupdate. But when I try installing any package, I get "fetch failure". "sudo port -v fetch expat" gives:
$ sudo port -v fetch expat ---> Fetching distfiles for expat ---> expat-2.1.0.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/expat ---> Attempting to fetch expat-2.1.0.tar.gz from http://aarnet.dl.sourceforge.net/project/expat/expat/2.1.0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 1 549k 1 6990 0 0 5695 0 0:01:38 0:00:01 0:01:37 5692 ---> Attempting to fetch expat-2.1.0.tar.gz from http://citylan.dl.sourceforge.net/project/expat/expat/2.1.0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 549k 0 4121 0 0 3747 0 0:02:30 0:00:01 0:02:29 3749 ---> Attempting to fetch expat-2.1.0.tar.gz from http://freefr.dl.sourceforge.net/project/expat/expat/2.1.0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 549k 0 5522 0 0 5892 0 0:01:35 --:--:-- 0:01:35 5886 ...
And this keeps going on. Those servers have the files, of course, but I get nothing. Fetching any ports such as zlib gives me the same errors. I am not behind firewall. Independent "curl" works with no problems.
main.log after "port install expat" is attached.
Thanks. Any help would be appreciated.
ch
Attachments (1)
Change History (7)
Changed 10 years ago by chirok.han@…
comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 follow-up: 4 Changed 10 years ago by chirok.han@…
Thanks for the quick reply. It is slightly different; the group is admin rather than wheel. Could it be the problem? If so, how could I fix it?
$ ls -ld /opt/local/var/macports/incoming/verified drwxr-xr-x 2 macports admin 68 Sep 30 02:17 /opt/local/var/macports/incoming/verified/
One thing is that whenever I newly install macports and then attempt installing a port, I get this error:
$ sudo port install expat Error: Unable to execute port: error flushing "file8": disk quota exceeded
But then the next time it at least attempts fetching. I forgot to say that I have a mac mini server running OS X 10.9.5. I've tried both .pkg and installation from source, making no differences.
Thanks.
comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to chirok.han@…:
Thanks for the quick reply. It is slightly different; the group is admin rather than wheel. Could it be the problem? If so, how could I fix it?
$ ls -ld /opt/local/var/macports/incoming/verified drwxr-xr-x 2 macports admin 68 Sep 30 02:17 /opt/local/var/macports/incoming/verified/
The group probably doesn't matter. It's staff instead of wheel on another of my systems.
One thing is that whenever I newly install macports and then attempt installing a port, I get this error:
$ sudo port install expat Error: Unable to execute port: error flushing "file8": disk quota exceededBut then the next time it at least attempts fetching. I forgot to say that I have a mac mini server running OS X 10.9.5. I've tried both .pkg and installation from source, making no differences.
Then I would strongly suspect a disk quota setting is preventing MacPorts from working. You should be able to edit your quota settings in the OS X Server app.
comment:5 Changed 10 years ago by chirok.han@…
Great! I did 'quotaoff /' and it is working now. Thank you so much!
comment:6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Glad you got it working!
The log says:
So it looks like it's having trouble writing the file into the /opt/local/var/macports/incoming/verified directory. Are the permissions of that directory correct on your system? Here's what they should look like: