You are not logged in.
$ sudo pacman -Sf jre7-openjdk
resolving dependencies...
looking for inter-conflicts...
:: jre7-openjdk-headless and openjdk6 are in conflict. Remove openjdk6? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: clojure: requires java-environment
:: eclipse: requires java-environment
:: libreoffice-extension-diagram: requires java-environment
:: libreoffice-extension-google-docs: requires java-environment
:: libreoffice-extension-nlpsolver: requires java-environment
:: libreoffice-extension-presenter-screen: requires java-environment
:: libreoffice-extension-report-builder: requires java-environment
:: libreoffice-extension-scripting-beanshell: requires java-environment
:: libreoffice-extension-scripting-javascript: requires java-environment
:: libreoffice-extension-validator: requires java-environment
:: libreoffice-extension-watch-window: requires java-environment
:: libreoffice-extension-wiki-publisher: requires java-environmentHow can I replace openjdk6 by 7?
Why does pacman ignore the "-f" force option that should omit checks?
Last edited by Jindur (2012-07-23 21:35:59)
Offline
pacman -Rdd openjdk6 &&
pacman -S jre7-openjdk
Offline
The -f option is only useful to bypass file conflict checks - ie it will overwrite any conflicting files. It is recommended to never use this option.
Use -d to skip dependency version checks, and -dd to skip all dependency checks.
(from man pacman)
Offline
1. Never use --force unless the news says differently.
2. I think that the short -f switch was removed some time ago so that you see what you are doing (forcing something which should not be forced).
3. --force only applies to file conflicts and not to dependencies. Use -d (or -dd) to ignore dependencies when updating.
4. Since version 7, the name of the actual jdk is jdk7-openjdk,
Offline
Why does pacman ignore the "-f" force option that should omit checks?
It was removed to protect people from themselves...
Dave, Ionuț, and I are getting a bit fed up with people abusing this option and
not realizing it skips a lot more than they think- if files move between
packages, using this option will likely leave your system in a state you did
not expect.Removing the short option for it at least makes people read the word "force"
and maybe they will have some sense to step back and think about what they are
doing first.
Offline
Thanks, -Rdd worked well.
There is no -f option
Well, "man pacman" is out of date then I guess. ![]()
Offline