-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Description
Issue Title
Following the january update dotnet/core#4119 the installation of dotnetcore runtime 2.1 doesn't work anymore on Centos7
yum install dotnet-runtime-2.1
fails
yum install dotnet-runtime-3.1
works fine
General
Protocol for reproducing with this procedure: https://docs.microsoft.com/fr-fr/dotnet/core/install/linux-package-manager-centos7
PS C:\Dev\docker-mldev> docker pull centos:centos7
centos7: Pulling from library/centos
Digest: sha256:4a701376d03f6b39b8c2a8f4a8e499441b0d567f9ab9d58e4991de4472fb813c
Status: Image is up to date for centos:centos7
PS C:\Dev\docker-mldev> docker run -it centos:centos7 /bin/bash
[root@661122bbcced /]# rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
Retrieving https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
Preparing... ################################# [100%]
Updating / installing...
1:packages-microsoft-prod-1.0-1 ################################# [100%]
[root@661122bbcced /]# yum install dotnet-runtime-2.1
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
* base: miroir.univ-paris13.fr
* extras: centos.mirror.fr.planethoster.net
* updates: centos.mirror.fr.planethoster.net
base | 3.6 kB 00:00:00
extras | 2.9 kB 00:00:00
packages-microsoft-com-prod | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/5): extras/7/x86_64/primary_db | 153 kB 00:00:00
(2/5): base/7/x86_64/group_gz | 165 kB 00:00:00
(3/5): packages-microsoft-com-prod/primary_db | 108 kB 00:00:00
(4/5): base/7/x86_64/primary_db | 6.0 MB 00:00:00
(5/5): updates/7/x86_64/primary_db | 5.9 MB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package dotnet-runtime-2.1.x86_64 0:2.1.15-1 will be installed
--> Processing Dependency: dotnet-runtime-deps-2.1 >= 2.1.15 for package: dotnet-runtime-2.1-2.1.15-1.x86_64
--> Processing Dependency: dotnet-hostfxr-2.1 >= 2.1.15 for package: dotnet-runtime-2.1-2.1.15-1.x86_64
--> Running transaction check
---> Package dotnet-hostfxr-2.1.x86_64 0:2.1.15-1 will be installed
--> Processing Dependency: dotnet-host >= 2.1.15 for package: dotnet-hostfxr-2.1-2.1.15-1.x86_64
---> Package dotnet-runtime-2.1.x86_64 0:2.1.15-1 will be installed
--> Processing Dependency: dotnet-runtime-deps-2.1 >= 2.1.15 for package: dotnet-runtime-2.1-2.1.15-1.x86_64
--> Running transaction check
---> Package dotnet-host.x86_64 0:3.1.1-1 will be installed
---> Package dotnet-runtime-2.1.x86_64 0:2.1.15-1 will be installed
--> Processing Dependency: dotnet-runtime-deps-2.1 >= 2.1.15 for package: dotnet-runtime-2.1-2.1.15-1.x86_64
--> Finished Dependency Resolution
Error: Package: dotnet-runtime-2.1-2.1.15-1.x86_64 (packages-microsoft-com-prod)
Requires: dotnet-runtime-deps-2.1 >= 2.1.15
Available: dotnet-runtime-deps-2.1-2.1.10-1.x86_64 (packages-microsoft-com-prod)
dotnet-runtime-deps-2.1 = 2.1.10-1
Available: dotnet-runtime-deps-2.1-2.1.11-1.x86_64 (packages-microsoft-com-prod)
dotnet-runtime-deps-2.1 = 2.1.11-1
Available: dotnet-runtime-deps-2.1-2.1.12-1.x86_64 (packages-microsoft-com-prod)
dotnet-runtime-deps-2.1 = 2.1.12-1
Available: dotnet-runtime-deps-2.1-2.1.13-1.x86_64 (packages-microsoft-com-prod)
dotnet-runtime-deps-2.1 = 2.1.13-1
Available: dotnet-runtime-deps-2.1-2.1.14-1.x86_64 (packages-microsoft-com-prod)
dotnet-runtime-deps-2.1 = 2.1.14-1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@661122bbcced /]# yum install -y dotnet-runtime-3.1
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
* base: miroir.univ-paris13.fr
* extras: centos.mirror.fr.planethoster.net
* updates: centos.mirror.fr.planethoster.net
Resolving Dependencies
--> Running transaction check
---> Package dotnet-runtime-3.1.x86_64 0:3.1.1-1 will be installed
--> Processing Dependency: dotnet-hostfxr-3.1 >= 3.1.1 for package: dotnet-runtime-3.1-3.1.1-1.x86_64
--> Processing Dependency: dotnet-runtime-deps-3.1 >= 3.1.1 for package: dotnet-runtime-3.1-3.1.1-1.x86_64
--> Running transaction check
---> Package dotnet-hostfxr-3.1.x86_64 0:3.1.1-1 will be installed
--> Processing Dependency: dotnet-host >= 3.1.1 for package: dotnet-hostfxr-3.1-3.1.1-1.x86_64
---> Package dotnet-runtime-deps-3.1.x86_64 0:3.1.1-1 will be installed
--> Processing Dependency: libicu for package: dotnet-runtime-deps-3.1-3.1.1-1.x86_64
--> Running transaction check
---> Package dotnet-host.x86_64 0:3.1.1-1 will be installed
---> Package libicu.x86_64 0:50.2-3.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================
Package Arch Version Repository Size
========================================================================================================================
Installing:
dotnet-runtime-3.1 x86_64 3.1.1-1 packages-microsoft-com-prod 29 M
Installing for dependencies:
dotnet-host x86_64 3.1.1-1 packages-microsoft-com-prod 39 k
dotnet-hostfxr-3.1 x86_64 3.1.1-1 packages-microsoft-com-prod 148 k
dotnet-runtime-deps-3.1 x86_64 3.1.1-1 packages-microsoft-com-prod 2.8 k
libicu x86_64 50.2-3.el7 base 6.9 M
Transaction Summary
========================================================================================================================
Install 1 Package (+4 Dependent packages)
Total download size: 36 M
Installed size: 53 M
Downloading packages:
warning: /var/cache/yum/x86_64/7/packages-microsoft-com-prod/packages/dotnet-hostfxr-3.1.1-x64.rpm: Header V4 RSA/SHA256 Signature, key ID be1229cf: NOKEY
Public key for dotnet-hostfxr-3.1.1-x64.rpm is not installed
(1/5): dotnet-hostfxr-3.1.1-x64.rpm | 148 kB 00:00:00
(2/5): dotnet-host-3.1.1-x64.rpm | 39 kB 00:00:00
(3/5): dotnet-runtime-deps-3.1.1-centos.7-x64.rpm | 2.8 kB 00:00:00
warning: /var/cache/yum/x86_64/7/base/packages/libicu-50.2-3.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for libicu-50.2-3.el7.x86_64.rpm is not installed
(4/5): libicu-50.2-3.el7.x86_64.rpm | 6.9 MB 00:00:00
(5/5): dotnet-runtime-3.1.1-x64.rpm | 29 MB 00:00:00
------------------------------------------------------------------------------------------------------------------------
Total 30 MB/s | 36 MB 00:00:01
Retrieving key from https://packages.microsoft.com/keys/microsoft.asc
Importing GPG key 0xBE1229CF:
Userid : "Microsoft (Release signing) <[email protected]>"
Fingerprint: bc52 8686 b50d 79e3 39d3 721c eb3e 94ad be12 29cf
From : https://packages.microsoft.com/keys/microsoft.asc
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <[email protected]>"
Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
Package : centos-release-7-7.1908.0.el7.centos.x86_64 (@CentOS)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : libicu-50.2-3.el7.x86_64 1/5
Installing : dotnet-runtime-deps-3.1-3.1.1-1.x86_64 2/5
Installing : dotnet-host-3.1.1-1.x86_64 3/5
Installing : dotnet-hostfxr-3.1-3.1.1-1.x86_64 4/5
Installing : dotnet-runtime-3.1-3.1.1-1.x86_64 5/5
Verifying : dotnet-host-3.1.1-1.x86_64 1/5
Verifying : dotnet-runtime-deps-3.1-3.1.1-1.x86_64 2/5
Verifying : libicu-50.2-3.el7.x86_64 3/5
Verifying : dotnet-hostfxr-3.1-3.1.1-1.x86_64 4/5
Verifying : dotnet-runtime-3.1-3.1.1-1.x86_64 5/5
Installed:
dotnet-runtime-3.1.x86_64 0:3.1.1-1
Dependency Installed:
dotnet-host.x86_64 0:3.1.1-1 dotnet-hostfxr-3.1.x86_64 0:3.1.1-1 dotnet-runtime-deps-3.1.x86_64 0:3.1.1-1
libicu.x86_64 0:50.2-3.el7
Complete!
[root@661122bbcced /]#
Metadata
Metadata
Assignees
Labels
No labels