#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)
Change History (8)
Changed 14 years ago by ron@…
comment:1 Changed 14 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: | High → Normal |
Summary: | Unable to upgrade to kdelibs4 → kdelibs4 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 14 years ago by nerdling (Jeremy Lavergne)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
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 14 years ago by nerdling (Jeremy Lavergne)
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
comment:4 Changed 14 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 14 years ago by nerdling (Jeremy Lavergne)
Attachment: | kdelibs4-Portfile.diff added |
---|
detect kdebase4-runtime < 4.6.0
comment:5 Changed 14 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Patch to attempt deactivate of old kdebase4-runtime: r75570.
comment:6 Changed 14 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.........
Main.Log File