runtime icon indicating copy to clipboard operation
runtime copied to clipboard

8.0.16 runtime installation via dnf (Rocky)

Open r-cass opened this issue 1 year ago • 2 comments

Description

Tried to install both dotnet-runtime-8.0 (8.0.16) and aspnetcore-runtime-8.0 via dnf, none of them worked, common dependency dotnet-runtime-deps-8.0 resolves to 8.0.0-8.0.15, so packages installation is broken. Also I tried to install the 8.0.15 by using package manager step by step: 1st host (fxr?) package 2nd runtime packages But runtime packages triggers the update of the host package to 8.0.16.

Reproduction Steps

Run the command :

sudo dnf install dotnet-runtime-8.0 aspnetcore-runtime-8.0

Expected behavior

Packages to be installed

Actual behavior

Failed to resolve dotnet-runtime-deps-8.0 package >= 8.0.0-8.0.16 , actual >= 8.0.0-8.0.15

Regression?

No response

Known Workarounds

Install the dotnet-sdk-8.0 which install the 8.0.15 runtime

Configuration

OS: Rocky Linux 9

Other information

No response

r-cass avatar May 14 '25 16:05 r-cass

I assume you've added a feed to install Microsoft .NET packages?

.NET packages that come with Rocky Linux 9 install fine for me:

$ podman run rockylinux:9 dnf install -y dotnet-runtime-8.0 aspnetcore-runtime-8.0
Rocky Linux 9 - BaseOS                          3.1 MB/s | 2.3 MB     00:00    
Rocky Linux 9 - AppStream                       6.1 MB/s | 8.4 MB     00:01    
Rocky Linux 9 - Extras                           32 kB/s |  16 kB     00:00    
Dependencies resolved.
================================================================================
 Package                    Arch       Version              Repository     Size
================================================================================
Installing:
 aspnetcore-runtime-8.0     x86_64     8.0.15-1.el9_5       appstream     8.0 M
 dotnet-runtime-8.0         x86_64     8.0.15-1.el9_5       appstream      23 M
Installing dependencies:
 dotnet-host                x86_64     9.0.4-1.el9_5        appstream     213 k
 dotnet-hostfxr-8.0         x86_64     8.0.15-1.el9_5       appstream     145 k
 libicu                     x86_64     67.1-9.el9           baseos        9.6 M

Transaction Summary
================================================================================
Install  5 Packages

Total download size: 41 M
Installed size: 123 M
Downloading Packages:
(1/5): dotnet-hostfxr-8.0-8.0.15-1.el9_5.x86_64 594 kB/s | 145 kB     00:00    
(2/5): libicu-67.1-9.el9.x86_64.rpm             3.0 MB/s | 9.6 MB     00:03    
(3/5): aspnetcore-runtime-8.0-8.0.15-1.el9_5.x8 2.7 MB/s | 8.0 MB     00:02    
(4/5): dotnet-host-9.0.4-1.el9_5.x86_64.rpm     2.5 MB/s | 213 kB     00:00    
(5/5): dotnet-runtime-8.0-8.0.15-1.el9_5.x86_64 5.8 MB/s |  23 MB     00:04    
--------------------------------------------------------------------------------
Total                                           9.1 MB/s |  41 MB     00:04     
Rocky Linux 9 - BaseOS                          1.7 MB/s | 1.7 kB     00:00    
Importing GPG key 0x350D275D:
 Userid     : "Rocky Enterprise Software Foundation - Release key 2022 <[email protected]>"
 Fingerprint: 21CB 256A E16F C54C 6E65 2949 702D 426D 350D 275D
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : dotnet-host-9.0.4-1.el9_5.x86_64                       1/5 
  Installing       : dotnet-hostfxr-8.0-8.0.15-1.el9_5.x86_64               2/5 
  Installing       : libicu-67.1-9.el9.x86_64                               3/5 
  Installing       : dotnet-runtime-8.0-8.0.15-1.el9_5.x86_64               4/5 
  Installing       : aspnetcore-runtime-8.0-8.0.15-1.el9_5.x86_64           5/5 
  Running scriptlet: aspnetcore-runtime-8.0-8.0.15-1.el9_5.x86_64           5/5 
  Verifying        : libicu-67.1-9.el9.x86_64                               1/5 
  Verifying        : dotnet-runtime-8.0-8.0.15-1.el9_5.x86_64               2/5 
  Verifying        : dotnet-hostfxr-8.0-8.0.15-1.el9_5.x86_64               3/5 
  Verifying        : aspnetcore-runtime-8.0-8.0.15-1.el9_5.x86_64           4/5 
  Verifying        : dotnet-host-9.0.4-1.el9_5.x86_64                       5/5 

Installed:
  aspnetcore-runtime-8.0-8.0.15-1.el9_5.x86_64                                  
  dotnet-host-9.0.4-1.el9_5.x86_64                                              
  dotnet-hostfxr-8.0-8.0.15-1.el9_5.x86_64                                      
  dotnet-runtime-8.0-8.0.15-1.el9_5.x86_64                                      
  libicu-67.1-9.el9.x86_64                                                      

Complete!

tmds avatar May 16 '25 06:05 tmds

Yes indeed, I will try without then, thanks for answer

Edit: It works well without the microsoft repo 👍

r-cass avatar May 16 '25 07:05 r-cass