Why do I get an error when try to install groovy on Fedora 31:
sudo dnf install groovy
Last metadata expiration check: 0:17:13 ago on Thu 12 Dec 2019 12:50:18 PM CET.
Error:
Problem: package groovy-2.4.8-10.fc31.noarch requires groovy-groovysh = 2.4.8-10.fc31, but none of the providers can be installed
package groovy-groovysh-2.4.8-10.fc31.noarch requires mvn(jline:jline), but none of the providers can be installed
conflicting requests
package jline-2.14.6-4.module_f31+6165+9b01e00c.noarch is filtered out by modular filtering
package jline-2.14.6-4.module_f31+6519+12cd0b27.noarch is filtered out by modular filtering
package jline-2.14.6-4.module_f31+6793+1c93c38e.noarch is filtered out by modular filtering
package jline-2.14.6-5.fc31.noarch is filtered out by modular filtering
(try to add ‘–skip-broken’ to skip uninstallable packages)
I tried to install this package on a fresh Fedora 31 installation, and I didn’t encounter any conflict or unresolved dependency.
I think that there is some mess. You upgraded your system from F30 to F31, right?
Indeed in a fresh F30 installation we have:
dnf info jline
...
Name : jline
Version : 2.14.6
Release : 2.module_1889+fac7270b
Repository : fedora-modular
...
While in F31 we have:
dnf info jline
...
Name : jline
Version : 2.14.6
Release : 5.fc31
Repository : fedora
...
So in F30 such package was in the modular repository, while in F31 it is in the regular one. In your case, dnf is still trying to grab the package from the modular repository ?
Did you try to issue these commands prior to install groovy? sudo dnf clean all sudo dnf update --refresh
@alciregi are you sure? I’m on 31 and This what i get, and also I don’t have any problem:
dnf info jline
Available Packages
Name : jline
Version : 2.14.6
Release : 4.module_f31+6793+1c93c38e
Architecture : noarch
Size : 151 k
Source : jline-2.14.6-4.module_f31+6793+1c93c38e.src.rpm
Repository : updates-modular
Summary : JLine is a Java library for handling console input
URL : https://github.com/jline/jline2
License : BSD
Description : JLine is a Java library for handling console input. It is similar
: in functionality to BSD editline and GNU readline. People familiar
: with the readline/editline capabilities for modern shells (such as
: bash and tcsh) will find most of the command editing features of
: JLine to be familiar.