You are not logged in.
Pages: 1
Topic closed
I've just installed eclipse, which depends on openjdk6, so I removed jre so that i wouldn't get broken packages or some other problem. Openjdk isn't good enough for normal use (web applets etc.), so I want to install jre instead. How do I remove openjdk without "breaking" anything and install jre?
output when trying to remove openjdk6:
error: failed to prepare transaction (could not satisfy dependencies)
:: eclipse: requires java-environment>=6Offline
pacman -Rd openjdk6
pacman -S jre jdk (note eclipse needs both...)
Offline
nice! that did the trick
thank you!
Maybe the remove dependency command should be mentioned in the wiki... (Couldn't find it on the Pacman page)
Last edited by mapster (2009-06-10 00:36:41)
Offline
It is definitely in the man page and probably should not be recommended for general use... I am happy with it not being in the wiki.
Offline
And it's not a "remove dependency command". As recommended, read the man page.
Offline
Sorry to bump an old thread, but these commands aren't working for me now. I'm trying to replace openjdk6 with jre. When I run:
pacman -Rd openjdk6I get:
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)According to the man page shouldn't that be "Remove" with "Skip dependency version checks"? Is there a better way to install jre without uninstalling everything else first?
Offline
Sorry to bump an old thread, but these commands aren't working for me now. I'm trying to replace openjdk6 with jre. When I run:
pacman -Rd openjdk6I get:
checking dependencies... error: failed to prepare transaction (could not satisfy dependencies)According to the man page shouldn't that be "Remove" with "Skip dependency version checks"? Is there a better way to install jre without uninstalling everything else first?
Read the man page again, '-Rd' is not enough. It says "Skip dependency version checks" so it doesn't care if you're using version 3 or 6 - that's different from skipping dependency check altogether.
Last edited by karol (2011-09-05 01:29:17)
Offline
Hello ioos, a command in this thread no longer applies and will not work. That's what you get for reading a two year old thread and not doing your homework. ![]()
Please read: https://wiki.archlinux.org/index.php/Fo … Bumping.27
Closing.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Pages: 1
Topic closed