Opened 11 years ago

Last modified 6 years ago

#43499 assigned defect

qt4-mac-mysql51-plugin upgrade after replacing mysql5 by mysql51 FAILS

Reported by: mkae (Marko Käning) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: cooljeanius (Eric Gallager), r1pp3r@…, jefferyfernandez@…, alexcoder@…
Port: qt4-mac-mysql51-plugin qt4-mac-mysql5-plugin

Description

My MP installation auto-replaced mysql5 by mysql51.

As a next step the qt4-mac-mysql51-plugin wanted to upgrade itself, but couldn't due to qt4-mac-mysql5-plugin being installed.

This upgrade needs manual intervention and isn't running smoothly on its own. :-(

Change History (17)

comment:1 Changed 11 years ago by mkae (Marko Käning)

After all I realize when trying to re-install kdelibs4 that it now requires qt4-mac-mariadb-plugin...

And so I have to remove the just installed qt4-mac-mysql51-plugin!

Looks like stuff like this isn't avoidable.

comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:3 Changed 11 years ago by mathias.habluetzel@…

Mind sharing how you fixed this problem or how you worked around it?

comment:4 Changed 11 years ago by pixilla (Bradley Giesbrecht)

What commands did you execute that caused mysql5 to be replaced_by mysql51?

What may have happened is two ports you have installed changed dependencies, one from qt4-mac-mysql5-plugin to qt4-mac-mysql51-plugin and the other from qt4-mac-mysql5-plugin to qt4-mac-mariadb-plugin. If so, the port maintainers should align the dependencies and/or offer the same set of variants/subports.

Last edited 11 years ago by pixilla (Bradley Giesbrecht) (previous) (diff)

comment:5 Changed 11 years ago by mkae (Marko Käning)

What I did back then was to upgrade kdelibs4...

I solved the issue by uninstalling qt4-mac-mysql51-plugin with all its dependents.

Then I reinstalled kdelibs4.

comment:6 Changed 11 years ago by mathias.habluetzel@…

Because it took me more than 2min to figure it out how fix it:

sudo port uninstall --follow-dependencies kdesdk4
sudo port install kdesdk4

Did the trick. YMMV.

comment:7 Changed 11 years ago by urilabob@…

I'm not sure if this is the same issue, would appreciate feedback:

sh-3.2# port upgrade outdated
--->  Computing dependencies for qt4-mac-mysql51-plugin
Error: Unable to exec port: Can't install qt4-mac-mysql51-plugin because conflicting ports are installed: qt4-mac-mysql5-plugin

Matthias' fix didn't work for this, so I assume the problem is with port(s) other than kdesdk4. How do I figure out which ones?

Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:8 Changed 11 years ago by mkae (Marko Käning)

Use

$ port installed rdependents qt4-mac-mysql5-plugin

which should list all ports which depend on the old MySQL version. Delete those and then install the KDE software which you need, which should pull in the 5.1 stuff anew.

I guess you should go for MariaDB anyway.

Last edited 11 years ago by mkae (Marko Käning) (previous) (diff)

comment:9 Changed 11 years ago by pixilla (Bradley Giesbrecht)

What is the output of this:

$ port echo dependentof:qt4-mac-{mysql5,mysql51,mysql55,mysql56,mariadb,percona}-plugin

comment:10 Changed 11 years ago by mkae (Marko Käning)

In my case "akonadi".

comment:11 Changed 11 years ago by r1pp3r@…

Cc: r1pp3r@… added

Cc Me!

comment:12 Changed 11 years ago by jefferyfernandez@…

Cc: jefferyfernandez@… added

Cc Me!

comment:13 Changed 10 years ago by vazspam-forum@…

I;m getting the same error when doing:

sudo port upgrade outdated

This is what I get:

[...]
--->  Installing harfbuzz @0.9.29_1
--->  Cleaning harfbuzz
--->  Computing dependencies for harfbuzz
--->  Deactivating harfbuzz @0.9.29_0
--->  Cleaning harfbuzz
--->  Activating harfbuzz @0.9.29_1
--->  Cleaning harfbuzz
--->  Computing dependencies for qt4-mac-mysql51-plugin
Error: Unable to exec port: Can't install qt4-mac-mysql51-plugin because conflicting ports are active: qt4-mac-mysql5-plugin

I only have kmymoney-devel installed

comment:14 Changed 10 years ago by alexcoder@…

Cc: alexcoder@… added

Cc Me!

comment:15 Changed 10 years ago by temp88@…

Hi,

I also had the problem with akonadi. I made
sudo port uninstall --follow-dependencies kdesdk4
but it fails then I follow the error message and I repeat the process:
sudo port uninstall --follow-dependencies kdepimlibs4
sudo port uninstall --follow-dependencies kde4-runtime
sudo port uninstall --follow-dependencies kde4-baseapps
And I find the "leaf" package: sudo port uninstall --follow-dependencies konsole

After that, I restarted the sudo port update outdated
Finally I tried to reinstall konsole but I get

Please use the same variants again, perform 'port clean akonadi' or specify the force option (-f). Error: Failed to install akonadi Please see the log file for port akonadi for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_akonadi/akonadi/main.log

Error: The following dependencies were not installed: kde4-baseapps kde4-runtime kdepimlibs4 akonadi gpgme gnupg2 gpg-agent libassuan pth libksba pinentry libusb-compat libusb libical nepomuk-core ebook-tools convertlit libtommath libzip mobipocket poppler-qt4-mac prison libdmtx qrencode libssh openslp qimageblitz nepomuk-widgets To report a bug, follow the instructions in the guide:

http://guide.macports.org/#project.tickets

Error: Processing of port konsole failed

Version 0, edited 10 years ago by temp88@… (next)

comment:16 Changed 9 years ago by tomasio@…

I went to the routine temp88 posted above, but it does not work for me. still got the error in the bug. how serious is this for the installed ports?

comment:17 Changed 6 years ago by mf2k (Frank Schima)

Cc: michaelld removed
Owner: changed from pixilla to michaelld
Status: newassigned

See #57827

Note: See TracTickets for help on using tickets.