Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#28211 closed defect (fixed)

kdelibs4 conflicts with kdebase4-runtime

Reported by: ron@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: sharky@…, michaelld (Michael Dickens)
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 (2)

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

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by ron@…

Attachment: main.log added

Main.Log File

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Cc: sharky@… michaelld@… added
Keywords: kdelibs4 removed
Owner: changed from macports-tickets@… to snc@…
Port: kdelibs4 kdebase4-runtime added; port: 1 removed
Priority: HighNormal
Summary: Unable to upgrade to kdelibs4kdelibs4 conflicts with 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 13 years ago by nerdling (Jeremy Lavergne)

Resolution: wontfix
Status: newclosed

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 13 years ago by nerdling (Jeremy Lavergne)

Resolution: wontfix
Status: closedreopened

comment:4 Changed 13 years ago by nerdling (Jeremy Lavergne)

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 13 years ago by nerdling (Jeremy Lavergne)

Attachment: kdelibs4-Portfile.diff added

detect kdebase4-runtime < 4.6.0

comment:5 Changed 13 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: reopenedclosed

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

comment:6 in reply to:  description Changed 13 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.