New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #28211 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

kdelibs4 conflicts with kdebase4-runtime

Reported by: ron@… Owned by: snc@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: sharky@…, michaelld@…
Port: kdelibs4 kdebase4-runtime

Description

After executing a "sudo port -v upgrade outdated" I can no longer use kmymoney4 because kdelibs4 @6.0.0_0 will not activate.... I have tried port -f activate kdelibs4 @6.0.0_0 but this does not work, I have tried to re-install kdelibs4 but that does not work either. Unable to upgrade port: 1

See attached Log Main.Log File.........

Attachments

main.log (8.5 KB) - added by ron@… 2 years ago.
Main.Log File
kdelibs4-Portfile.diff (592 bytes) - added by snc@… 2 years ago.
detect kdebase4-runtime < 4.6.0

Change History

Changed 2 years ago by ron@…

Main.Log File

comment:1 Changed 2 years ago by jmr@…

  • Cc sharky@…, michaelld@… added
  • Summary changed from Unable to upgrade to kdelibs4 to kdelibs4 conflicts with kdebase4-runtime
  • Priority changed from High to Normal
  • Owner changed from macports-tickets@… to snc@…
  • Keywords kdelibs4 removed
  • Port changed from port: 1 to kdelibs4 kdebase4-runtime

Please remember to cc the maintainers of the affected ports, and put the name of the port in the Port field. As per the ticket guidelines, the High priority is reserved for the use of MacPorts team members.

comment:2 Changed 2 years ago by snc@…

  • Status changed from new to closed
  • Resolution set to wontfix

How does port -f activate kdelibs4 @4.6.0 not work?

MacPorts cannot handle the situation where a file was moved from the old version of a package to the new version of a new package. We also cannot say that a package conflicts with its dependent.

Either deactivate the old conflicted package, or as MacPorts suggests, you force activate the new package.

comment:3 Changed 2 years ago by snc@…

  • Status changed from closed to reopened
  • Resolution wontfix deleted

comment:4 Changed 2 years ago by snc@…

Pulling from py26-roman, we can do some nasty magic to detect this but it remains up to the user to fix the issue:

pre-activate {
    if {[file exists ${python.pkgd}/roman.py]
        && ![catch {set vers [lindex [registry_active py26-docutils] 0]}]
        && [rpm-vercomp [lindex $vers 1] 0.6] < 0} {
        # check for arbitrary 1.9 feature
        if {[info exists negated_variants]} {
            registry_deactivate py26-docutils "" [list ports_nodepcheck 1]
        } else {
            return -code error "py26-docutils [lindex $vers 1] conflicts with $name, please deactivate it first."
        }
    }
}

Changed 2 years ago by snc@…

detect kdebase4-runtime < 4.6.0

comment:5 Changed 2 years ago by snc@…

  • Status changed from reopened to closed
  • Resolution set to fixed

Patch to attempt deactivate of old kdebase4-runtime: r75570.

comment:6 in reply to: ↑ description Changed 2 years ago by ron@…

Replying to ron@…:

After executing a "sudo port -v upgrade outdated" I can no longer use kmymoney4 because kdelibs4 @6.0.0_0 will not activate.... I have tried port -f activate kdelibs4 @6.0.0_0 but this does not work, I have tried to re-install kdelibs4 but that does not work either. Unable to upgrade port: 1

See attached Log Main.Log File.........

This problem was solved by uninstalling kdelibs4 @4.6.0_0, @4.5.5_3, @4.5.5_2, @4.5.5_0. @4.5.4_0 would not uninstall because of dependancies..... @4.6.0_0 was then re-installed and port activated... Port 1 successfully upgraded....... This seems to have resolved the problem with kmymoney failing to launch.........

Note: See TracTickets for help on using tickets.