[MacPorts] #47787: How should I proceed? Problem updated "wxWidgets-3.0", Error: Unable to upgrade port: 1
MacPorts
noreply at macports.org
Wed May 20 22:16:34 PDT 2015
#47787: How should I proceed? Problem updated "wxWidgets-3.0", Error: Unable to
upgrade port: 1
---------------------------------+--------------------------------
Reporter: evan.biederstedt@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: |
---------------------------------+--------------------------------
Old description:
> I normally run `sudo port selfupdate` every few days. It runs fine.
> Except today.
>
> The outdated port I have currently is found by command `sudo port
> outdated`, giving
>
> `wxWidgets-3.0 3.0.2_1 < 3.0.2_2`
>
> Only one program.
>
> So, I run `sudo port selfupdate`, followed by ` port upgrade outdated`.
> The first command is fine. The latter throws this error:
>
> "~USER $ sudo port upgrade outdated
> ---> Computing dependencies for wxWidgets-3.0
> ---> Verifying checksums for wxWidgets-3.0
> Error: org.macports.checksum for port wxWidgets-3.0 returned:
> wxWidgets-3.0.2.tar.bz2 does not exist in
> /opt/local/var/macports/distfiles/wxWidgets/3.0.2_1
> Please see the log file for port wxWidgets-3.0 for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets-3.0/wxWidgets-3.0/main.log
> Error: Unable to upgrade port: 1
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets"
>
> Ok. So I try `sudo port clean`. I get this:
>
> "Can't map the URL 'file://.' to a port description file ("Could not find
> Portfile in /Users/USER").
> Please verify that the directory and portfile syntax are correct.
> To use the current port, you must be in a port's directory."
>
> So....should I reinstall macports? What has happened since the last time
> I ran `sudo port selfupdate` to cause this error? What did I do?
New description:
I normally run `sudo port selfupdate` every few days. It runs fine. Except
today.
The outdated port I have currently is found by command `sudo port
outdated`, giving
{{{
wxWidgets-3.0 3.0.2_1 < 3.0.2_2
}}}
Only one program.
So, I run `sudo port selfupdate`, followed by ` port upgrade outdated`.
The first command is fine. The latter throws this error:
{{{
~USER $ sudo port upgrade outdated
---> Computing dependencies for wxWidgets-3.0
---> Verifying checksums for wxWidgets-3.0
Error: org.macports.checksum for port wxWidgets-3.0 returned:
wxWidgets-3.0.2.tar.bz2 does not exist in
/opt/local/var/macports/distfiles/wxWidgets/3.0.2_1
Please see the log file for port wxWidgets-3.0 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets-3.0/wxWidgets-3.0/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
}}}
Ok. So I try `sudo port clean`. I get this:
{{{
Can't map the URL 'file://.' to a port description file ("Could not find
Portfile in /Users/USER").
Please verify that the directory and portfile syntax are correct.
To use the current port, you must be in a port's directory.
}}}
So....should I reinstall macports? What has happened since the last time I
ran `sudo port selfupdate` to cause this error? What did I do?
--
Comment (by larryv@…):
Replying to [ticket:47787 evan.biederstedt@…]:
> Ok. So I try `sudo port clean`.
You need to specify `wxWidgets-3.0` explicitly.
{{{
sudo port clean wxWidgets-3.0
}}}
Otherwise MacPorts looks for a file named “Portfile” in the current
working directory.
> So....should I reinstall macports?
No.
> What has happened since the last time I ran `sudo port selfupdate` to
cause this error?
Somehow an installation of `wxWidgets-3.0` was interrupted after the fetch
phase. MacPorts thinks that the next step is checksumming
`wxWidgets-3.0.2.tar.bz2`, but it really needs to start over and fetch the
new distfile, which doesn’t exist yet. Cleaning will reset the relevant
state, convincing MacPorts to start again from the beginning.
--
Ticket URL: <https://trac.macports.org/ticket/47787#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list