Opened 12 years ago

Closed 12 years ago

#36065 closed defect (fixed)

unified mysql5-server install fails

Reported by: zortrium@… Owned by: pixilla (Bradley Giesbrecht)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), jgosmann (Jan Gosmann)
Port: mysql5-server

Description

The regular mysql5-server was just removed and is now part of the mysql5 port, but things are failing trying to pick up the old port:

$ port install mysql5-server
Error: Unable to open port: couldn't change working directory to "/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/mysql5-server": no such file or directory

Change History (7)

comment:1 Changed 12 years ago by zortrium@…

Cc: zortrium@… added

Cc Me!

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; zortrium@… removed
Owner: changed from macports-tickets@… to pixilla@…
Port: mysql5-server added

Try the following:

sudo port clean mysql5-server
sudo port selfupdate

Then try again.

comment:3 Changed 12 years ago by jgosmann (Jan Gosmann)

Cc: jan@… added

Cc Me!

comment:4 Changed 12 years ago by zortrium@…

$ port clean mysql5-server
Error: Unable to open port: couldn't change working directory to "/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/mysql5-server": no such file or directory
$ sudo port selfupdate
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.1.2 installed,
MacPorts base version 2.1.2 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
$ port install mysql5-server
Error: Unable to open port: couldn't change working directory to "/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/mysql5-server": no such file or directory

This is on a brand-new MacPorts installation, FYI.

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

I think we just need to make any change to the port to get it to be re-added to the index under the correct path. Done in r97605. Please wait 30 minutes, then "sudo port selfupdate" and try again.

comment:6 Changed 12 years ago by zortrium@…

Correct, all working now.

comment:7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.