Opened 12 years ago

Closed 12 years ago

#35074 closed defect (fixed)

liblzma can't be upgraded due to dep of kdelibs4

Reported by: mkae (Marko Käning) Owned by: sharky@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: pixilla (Bradley Giesbrecht), michaelld (Michael Dickens)
Port: kdelibs4, liblzma

Description

--->  Uninstalling ImageMagick @6.7.7-2_0+no_x11+q16
--->  Cleaning ImageMagick
--->  Unable to uninstall liblzma @5.0.3_0, the following ports depend on it:
--->  	kdelibs4 @4.8.3_2
Error: org.macports.uninstall for port liblzma returned: Please uninstall the ports that depend on liblzma first.
Please see the log file for port liblzma for details:
    /opt/macports-test/var/macports/logs/_opt_macports-test_var_macports_registry_portfiles_liblzma_5.0.3_0/liblzma/main.log
Warning: Failed to execute portfile from registry for liblzma @5.0.3_0
--->  Unable to uninstall liblzma @5.0.3_0, the following ports depend on it:
--->  	kdelibs4 @4.8.3_2
Error: port uninstall failed: Please uninstall the ports that depend on liblzma first.

Change History (4)

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

Looks like I have to do this:

$ sudo port uninstall --follow-dependents kdelibs4
$ sudo port install kdelibs4

to fix this issue...

Or, is there another way of telling MacPorts that it should upgrade kdelibs4 and all dependents accordingly?

comment:2 Changed 12 years ago by mkae (Marko Käning)

Cc: pixilla@… added

comment:3 Changed 12 years ago by nerdling (Jeremy Lavergne)

Cc: michaelld@… added
Owner: changed from snc@… to sharky@…

You could tell MacPorts to force uninstall liblzma and then you install the new one.

comment:4 Changed 12 years ago by mkae (Marko Käning)

Resolution: fixed
Status: newclosed

OK. Will try that next time. :)

Note: See TracTickets for help on using tickets.