Changes between Initial Version and Version 1 of Ticket #47787


Ignore:
Timestamp:
May 21, 2015, 5:16:33 AM (9 years ago)
Author:
larryv (Lawrence Velázquez)
Comment:

Replying to 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.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47787 – Description

    initial v1  
    22
    33The outdated port I have currently is found by command `sudo port outdated`, giving
    4 
    5 `wxWidgets-3.0                  3.0.2_1 < 3.0.2_2`
    6 
     4{{{
     5wxWidgets-3.0                  3.0.2_1 < 3.0.2_2
     6}}}
    77Only one program.
    88
    99So, I run `sudo port selfupdate`, followed by ` port upgrade outdated`. The first command is fine. The latter throws this error:
    10 
    11 "~USER $ sudo port upgrade outdated
     10{{{
     11~USER $ sudo port upgrade outdated
    1212--->  Computing dependencies for wxWidgets-3.0
    1313--->  Verifying checksums for wxWidgets-3.0
     
    1717Error: Unable to upgrade port: 1
    1818To report a bug, follow the instructions in the guide:
    19     http://guide.macports.org/#project.tickets"
     19    http://guide.macports.org/#project.tickets
     20}}}
    2021
    2122Ok. So I try `sudo port clean`. I get this:
     23{{{
     24Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /Users/USER").
     25Please verify that the directory and portfile syntax are correct.
     26To use the current port, you must be in a port's directory.
     27}}}
    2228
    23 "Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /Users/USER").
    24 Please verify that the directory and portfile syntax are correct.
    25 To use the current port, you must be in a port's directory."
    26 
    27 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?
     29So....should I reinstall macports? What has happened since the last time I ran `sudo port selfupdate` to cause this error? What did I do?