Skip to content

Instantly share code, notes, and snippets.

@miah
Created May 6, 2019 20:09
Show Gist options
  • Save miah/72298ea844240a31673f505f38535060 to your computer and use it in GitHub Desktop.
Save miah/72298ea844240a31673f505f38535060 to your computer and use it in GitHub Desktop.
[root@localhost ~]# yum --enablerepo=chef-stable clean metadata
Loaded plugins: fastestmirror
Cleaning repos: base chef-stable extras updates
14 metadata files removed
7 sqlite files removed
0 metadata files removed
[root@localhost ~]# yum install inspec-3.9.3
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.san.fastserv.com
* extras: repos-lax.psychz.net
* updates: repos-lax.psychz.net
base | 3.6 kB 00:00:00
chef-stable | 1.4 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/5): base/7/x86_64/group_gz | 166 kB 00:00:00
(2/5): extras/7/x86_64/primary_db | 201 kB 00:00:00
(3/5): updates/7/x86_64/primary_db | 4.2 MB 00:00:03
(4/5): chef-stable/x86_64/primary | 4.9 MB 00:00:08
(5/5): base/7/x86_64/primary_db | 6.0 MB 00:00:09
chef-stable 693/693
Resolving Dependencies
--> Running transaction check
---> Package inspec.x86_64 0:3.9.3-1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================================================================
Installing:
inspec x86_64 3.9.3-1.el7 chef-stable 25 M
Transaction Summary
==================================================================================================================================================================================
Install 1 Package
Total download size: 25 M
Installed size: 155 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
inspec-3.9.3-1.el7.x86_64.rpm FAILED
https://packages.chef.io/repos/yum/stable/el/7/x86_64/inspec-3.9.3-1.el7.x86_64.rpm: [Errno 14] HTTPS Error 416 - Requested Range Not Satisfiable 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
Error downloading packages:
inspec-3.9.3-1.el7.x86_64: [Errno 256] No more mirrors to try.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment