title: Error installing dotnet "Requires openssl-libs"
body: <p>I'm try install dotnet by command for OS Amazon Linux 2 AMI</p>
  
  <pre><code>sudo yum install -y dotnet-sdk-2.1.4
  </code></pre>
  
  <p>And it show for me:</p>
  
  <blockquote>
    <p>Loaded plugins: priorities, update-motd, upgrade-helper</p>
    
    <p>amzn-main          | 2.1 kB  00:00:00</p>
    
    <p>amzn-updates       | 2.5 kB  00:00:00</p>
    
    <p>Resolving Dependencies</p>
    
    <p>--> Running transaction check</p>
    
    <p>---> Package dotnet-sdk-2.1.4.x86_64 0:2.1.4-1 will be installed</p>
    
    <p>--> Processing Dependency: dotnet-runtime-2.0.5 >= 2.0.5 for package: dotnet-sdk-2.1.4-2.1.4-1.x86_64</p>
    
    <p>--> Processing Dependency: aspnetcore-store-2.0.5 >= 2.0.5 for package: dotnet-sdk-2.1.4-2.1.4-1.x86_64</p>
    
    <p>--> Running transaction check</p>
    
    <p>---> Package aspnetcore-store-2.0.5.x86_64 0:2.0.5-1 will be installed</p>
    
    <p>--> Processing Dependency: aspnetcore-store-2.0.3 >= 2.0.3 for package: aspnetcore-store-2.0.5-2.0.5-1.x86_64</p>
    
    <p>---> Package dotnet-runtime-2.0.5.x86_64 0:2.0.5-1 will be installed</p>
    
    <p>--> Processing Dependency: openssl-libs for package: dotnet-runtime-2.0.5-2.0.5-1.x86_64</p>
    
    <p>--> Processing Dependency: dotnet-hostfxr-2.0.5 for package: dotnet-runtime-2.0.5-2.0.5-1.x86_64</p>
    
    <p>--> Running transaction check</p>
    
    <p>---> Package aspnetcore-store-2.0.3.x86_64 0:2.0.3-1 will be installed</p>
    
    <p>--> Processing Dependency: aspnetcore-store-2.0.0 >= 2.0.0 for package: aspnetcore-store-2.0.3-2.0.3-1.x86_64</p>
    
    <p>---> Package dotnet-hostfxr-2.0.5.x86_64 0:2.0.5-1 will be installed</p>
    
    <p>--> Processing Dependency: dotnet-host >= 2.0.5 for package: dotnet-hostfxr-2.0.5-2.0.5-1.x86_64</p>
    
    <p>---> Package dotnet-runtime-2.0.5.x86_64 0:2.0.5-1 will be installed</p>
    
    <p>--> Processing Dependency: openssl-libs for package: dotnet-runtime-2.0.5-2.0.5-1.x86_64</p>
    
    <p>--> Running transaction check</p>
    
    <p>---> Package aspnetcore-store-2.0.0.x86_64 0:2.0.0-1 will be installed</p>
    
    <p>---> Package dotnet-host.x86_64 0:2.1.0-1 will be installed</p>
    
    <p>---> Package dotnet-runtime-2.0.5.x86_64 0:2.0.5-1 will be installed</p>
    
    <p>--> Processing Dependency: openssl-libs for package: dotnet-runtime-2.0.5-2.0.5-1.x86_64</p>
    
    <p>--> Finished Dependency Resolution
    Error: Package: dotnet-runtime-2.0.5-2.0.5-1.x86_64 (packages-microsoft-com-prod)</p>
    
    <p>Requires: openssl-libs</p>
    
    <p>You could try using --skip-broken to work around the problem</p>
    
    <p>You could try running: rpm -Va --nofiles --nodigest</p>
  </blockquote>
  
  <p>I enter</p>
  
  <pre><code> sudo yum list
  </code></pre>
  
  <p>And i can't found openssl-libs in result.</p>
  
  <p>Also i installed openssl-devel, but result is same.</p>
  
  <p><strong>Update:</strong>
  I compared the used repositories to another server. There it was installed successfully.</p>
  
  <p><em>First server repository</em> repository: !amzn-main/latest, os version: "Amazon Linux AMI 2018.03"</p>
  
  <p><em>Second server repository (with installed dotnet)</em> repository: !amzn2-core/2017.12/x86_64, os version: "Amazon Linux 2 (2017.12) LTS Release Candidate"</p>
  
  <p>I think yum cannot get openssl-libs from repository. How can I install this package?</p>