#31987 closed defect (invalid)
netpbm install tries to fetch nonexistent file
Reported by: | nathmclean@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ||
Port: | netpbm |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I am trying to install netpbm through macports, however it fails with the message:
Error: Target org.macports.fetch returned: Subversion check out failed
After inspecting the log file (attached) it seems to me the problem lies in that mac ports is trying to fetch the file: netpbm-10.47.31_0.darwin_10.x86_64.tgz from http://packages.macports.org/netpbm/ and gets a 404 error
The actual file at that location is a different type of archive, using the file extension tbz2.
I am new to using MacPorts and I was wondering if there is any quick and dirty way to change the archive MacPorts looks for when I type the command "port install netpbm"
I have just updated MacPorts definitions using "port selfupdate" so it seems to me that this is a bug.
Thanks in advance!
Attachments (1)
Change History (6)
Changed 13 years ago by nathmclean@…
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | netpbm added |
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Yes, MacPorts tries to download pre-built archives from packages.macports.org. No, it is not a problem if a package is not found there; in that case, MacPorts will try to download the source code and compile it on your system. In your case, the problem is that downloading the source code from netpbm's repository failed, for an unknown reason (perhaps #29692).
Yes, we only publish .tbz2 archives on packages.macports.org. For some reason your MacPorts is set to use .tgz archives. Perhaps you originally installed MacPorts a long time ago, when that was the default archive type. I recommend you edit /opt/local/etc/macports/macports.conf and change portarchivetype to tbz2, or better yet just comment out that line so it uses the default (tbz2). Many other settings in macports.conf have changed since the days when tgz was the default archive type, so you should spend some time comparing macports.conf with macports.conf.default in the same directory, and adopt any changes from macports.conf.default that you haven't deliberately changed.
comment:3 Changed 13 years ago by nathmclean@…
Thank you very much. It worked fine after I changed the config file and cleaned netpbm.
comment:4 Changed 13 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
netpbm install log file