You are not logged in.
Somethings strange happened.
As I fail to update gradle7 with yay, I tried to remove it. But I can not uninstall gradle7 with "error: target not found: gradle7" .
I have installed gradle8 successfully. Now how can I remove gradle7, so that I do not have to update it every time I make an upgrade??
Last edited by feng823 (2023-05-05 00:04:33)
Offline
Why do you think you have gradle7 installed?
Offline
Why do you think you have gradle7 installed?
Thank you for your reply.
Firstly, I did installed gradle ever before.
Secondly, when I run yay -Syu, it come with the following message.
:: 2 Packages to upgrade/install.
2 aur/gradle7 -> 7.6-1
(Make Dependency of java11-openjfx)
1 aur/java11-openjfx 11.0.18.u1-1 -> 11.0.19.u1-2
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
-> Excluding packages may cause partial upgrades and break systems
Now my problem is I can not update gradle7 , also can not uninstall it
Offline
You can't uninstall it because it's not installed. That's why there is no version number before '->". It's trying to pull it in because java11-openjfx needs it.
Offline
When I performed update, it ended with the following message.
> Configure project :
Invalid Java installation found at '/usr/lib/jvm/java-11-openjfx' (Common Linux Locations). It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details.FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':reporting:reportResources'.
> Could not resolve all task dependencies for configuration ':reporting:implementationResources'.
> Could not resolve jquery:jquery.min:3.5.1.
Required by:
project :reporting
> Could not resolve jquery:jquery.min:3.5.1.
> Could not get resource 'https://ajax.googleapis.com/ajax/libs/j … ery.min.js'.
> Could not HEAD 'https://ajax.googleapis.com/ajax/libs/j … ery.min.js'.
> Connect to ajax.googleapis.com:443 [ajax.googleapis.com/0.0.0.0] failed: Connection refused (Connection refused)* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.6/userguide/c … e_warnings
BUILD FAILED in 1m
219 actionable tasks: 88 executed, 131 from cacheA build scan was not published as you have not authenticated with server 'ge.gradle.org'.
For more information, please see https://gradle.com/help/gradle-authenti … enterprise.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: gradle7-exit status 4
==> Making package: java11-openjfx 11.0.19.u1-2 (Thu 04 May 2023 05:00:00 PM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
-> gradle7
==> ERROR: Could not resolve all dependencies.
-> error making: java11-openjfx-exit status 8
-> Failed to install the following packages. Manual intervention is required:
gradle7 - exit status 4
Offline
You can't uninstall it because it's not installed. That's why there is no version number before '->". It's trying to pull it in because java11-openjfx needs it.
Thank you for your help, proble solved after I removed java11-openjfx.
Offline
So your real problem is in building the gradle7 package because of a problem with java11-openjfx. I would suggest building it in a clean chroot: https://wiki.archlinux.org/title/Develo … ean_chroot
Offline
So your real problem is in building the gradle7 package because of a problem with java11-openjfx. I would suggest building it in a clean chroot: https://wiki.archlinux.org/title/Develo … ean_chroot
Thank you for your suggestion. I will try to build it further when it is needed.
Offline
Why do you think you have gradle7 installed?
I take gnuclad for gradle by mistake
Last edited by feng823 (2023-05-05 04:07:23)
Offline