Re: package scala-2.10.6-16.fc31.noarch is filtered out by modular filtering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the hint Ed!

So it seems it's enough to:
dnf module disable scala       # disable the scala module
dnf install scala

And scala-2.10.6-16.fc31.noarch is installed!
So disabling the the scala module will allow you to install scala!
????



On Mon, 6 Jan 2020 at 17:30, Ed Greshko <ed.greshko@xxxxxxxxxxx> wrote:
On 2020-01-06 12:32, Norman Gaywood wrote:
>
> After updating a Fedora 30 system to 31, I can't install scala:
> # dnf module list scala
> Last metadata expiration check: 0:31:21 ago on Mon 06 Jan 2020 13:31:04 AEDT.
> @modulefailsafe
> Name                       Stream                        Profiles                      Summary                                                                    
> scala                      2.10 [e]                      default                       A hybrid functional/object-oriented language for the JVM                    
>
> Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
> # dnf install scala
> Last metadata expiration check: 0:31:32 ago on Mon 06 Jan 2020 13:31:04 AEDT.
> All matches were filtered out by modular filtering for argument: scala
> Error: Unable to find a match: scala
>
> If I try to install a package that depends on scala:
>  # dnf install ant-scala
> Last metadata expiration check: 0:32:13 ago on Mon 06 Jan 2020 13:31:04 AEDT.
> Error:
>  Problem: package ant-scala-2.10.6-16.fc31.noarch requires scala = 2.10.6-16.fc31, but none of the providers can be installed
>   - conflicting requests
>   - package scala-2.10.6-16.fc31.noarch is filtered out by modular filtering
> (try to add '--skip-broken' to skip uninstallable packages)
>
>
> How can I find out why scalar is being "filtered out by modular filtering"?
>
> This is an updated fc30->fc31 system. A clean install of fc31 will install scala OK.
>

It can be accomplished in the follow manner.....  (errors included for clarity)
I upgraded my F30Xfce VM after enable of the scala module.


[root@f30x ~]# dnf module list scala
Last metadata expiration check: 0:01:23 ago on Mon 06 Jan 2020 02:23:56 PM CST.
@modulefailsafe
Name   Stream    Profiles Summary                                                
scala  2.10 [e]  default  A hybrid functional/object-oriented language for the JVM

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

[root@f30x ~]# dnf install ant-scala
Last metadata expiration check: 0:01:30 ago on Mon 06 Jan 2020 02:23:56 PM CST.
Error:
 Problem: package ant-scala-2.10.6-16.fc31.noarch requires scala = 2.10.6-16.fc31, but none of the providers can be installed
  - conflicting requests
  - package scala-2.10.6-16.fc31.noarch is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages)

[root@f30x ~]# dnf module disable scala   <--------DISABLE the module
 
Last metadata expiration check: 0:01:47 ago on Mon 06 Jan 2020 02:23:56 PM CST.
Dependencies resolved.
==================================================================================
 Package            Architecture      Version            Repository          Size
==================================================================================
Disabling modules:
 scala                                                                          

Transaction Summary
==================================================================================

Is this ok [y/N]: y
Complete!

[root@f30x ~]# dnf install ant-scala  
Last metadata expiration check: 0:02:00 ago on Mon 06 Jan 2020 02:23:56 PM CST.
Dependencies resolved.
==================================================================================
 Package            Arch   Version                          Repository       Size
==================================================================================
Installing:
 ant-scala          noarch 2.10.6-16.fc31                   fedora          9.7 k
Installing dependencies:
 ant                noarch 1.10.5-3.module_f28+4207+d722d224
                                                            fedora-modular  192 k
 ant-lib            noarch 1.10.5-3.module_f28+4207+d722d224
                                                            fedora-modular  2.0 M
 hawtjni-runtime    noarch 1.16-2.module_f29+6921+ca3ed728  updates-modular  38 k
 jansi              noarch 1.17.1-1.module_f29+6921+ca3ed728
                                                            updates-modular  75 k
 jansi-native       x86_64 1.7-7.module_f29+6921+ca3ed728   updates-modular  71 k
 java-1.8.0-openjdk x86_64 1:1.8.0.232.b09-0.fc31           updates         281 k
 java-1.8.0-openjdk-headless
                    x86_64 1:1.8.0.232.b09-0.fc31           updates          32 M
 copy-jdk-configs   noarch 3.7-4.fc31                       fedora           24 k
 giflib             x86_64 5.2.1-3.fc31                     fedora           48 k
 javapackages-filesystem
                    noarch 5.3.0-6.fc31                     fedora           11 k
 javapackages-tools noarch 5.3.0-6.fc31                     fedora           32 k
 jline              noarch 2.14.6-5.fc31                    fedora          151 k
 lksctp-tools       x86_64 1.0.16-12.fc31                   fedora           94 k
 lua                x86_64 5.3.5-6.fc31                     fedora          181 k
 lua-posix          x86_64 33.3.1-14.fc31                   fedora          174 k
 scala              noarch 2.10.6-16.fc31                   fedora           22 M
 ttmkfdir           x86_64 3.0.9-57.fc31                    fedora           56 k
 tzdata-java        noarch 2019c-1.fc31                     fedora          157 k
 xorg-x11-fonts-Type1
                    noarch 7.5-23.fc31                      fedora          500 k
Installing weak dependencies:
 java-1.8.0-openjdk-devel
                    x86_64 1:1.8.0.232.b09-0.fc31           updates         9.3 M
Enabling module streams:
 ant                       1.10                                                 
 maven                     3.5                                                  

Transaction Summary
==================================================================================
Install  21 Packages

Total download size: 67 M
Installed size: 190 M
Is this ok [y/N]: n
Operation aborted.


--
The key to getting good answers is to ask good questions.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx


--
Norman Gaywood, Computer Systems Officer
School of Science and Technology
University of New England
Armidale NSW 2351, Australia

ngaywood@xxxxxxxxxx  http://turing.une.edu.au/~ngaywood
Phone: +61 (0)2 6773 2412  Mobile: +61 (0)4 7862 0062

Please avoid sending me Word or Power Point attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux