Hi I would like to understand how this task failed.
Task Status - Failed
- ‘httpd’ package was not installed from ‘localyum’ yum repository on Backup Server
I created the . repo file:
[clint@stbkp01 ~]$ cat /etc/yum.repos.d/localyum.repo
[Localyum]
name=Localyum
baseurl=file:///packages/downloaded_rpms
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
I query the repolist to ensure it was configured and detected by yum:
[clint@stbkp01 ~]$ sudo yum repolist
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
repo id                                            repo name                                           status
Localyum                                           Localyum                                            55
repolist: 55
I installed the httpd rpm
[clint@stbkp01 ~]$ sudo yum install httpd
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
Resolving Dependencies
 → Running transaction check
—> Package httpd.x86_64 0:2.4.6-90.el7.centos will be installed
 → Processing Dependency: httpd-tools = 2.4.6-90.el7.centos for package: httpd-2.4.6-90.el7.centos.x86_64
 → Processing Dependency: system-logos >= 7.92.1-1 for package: httpd-2.4.6-90.el7.centos.x86_64
 → Processing Dependency: /etc/mime.types for package: httpd-2.4.6-90.el7.centos.x86_64
 → Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-90.el7.centos.x86_64
 → Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-90.el7.centos.x86_64
 → Running transaction check
—> Package apr.x86_64 0:1.4.8-5.el7 will be installed
—> Package apr-util.x86_64 0:1.5.2-6.el7 will be installed
—> Package centos-logos.noarch 0:70.0.6-3.el7.centos will be installed
—> Package httpd-tools.x86_64 0:2.4.6-90.el7.centos will be installed
—> Package mailcap.noarch 0:2.1.41-2.el7 will be installed
 → Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================
Package                   Arch                Version                           Repository             Size
Installing:
httpd                     x86_64              2.4.6-90.el7.centos               Localyum              2.7 M
Installing for dependencies:
apr                       x86_64              1.4.8-5.el7                       Localyum              103 k
apr-util                  x86_64              1.5.2-6.el7                       Localyum               92 k
centos-logos              noarch              70.0.6-3.el7.centos               Localyum               21 M
httpd-tools               x86_64              2.4.6-90.el7.centos               Localyum               91 k
mailcap                   noarch              2.1.41-2.el7                      Localyum               31 k
Transaction Summary
Install 1 Package (+5 Dependent packages)
Total download size: 24 M
Installed size: 31 M
Is this ok [y/d/N]: y
Downloading packages:
Total                                                                        248 MB/s |  24 MB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : apr-1.4.8-5.el7.x86_64                                                                    1/6
Installing : apr-util-1.5.2-6.el7.x86_64                                                               2/6
Installing : httpd-tools-2.4.6-90.el7.centos.x86_64                                                    3/6
Installing : centos-logos-70.0.6-3.el7.centos.noarch                                                   4/6
Installing : mailcap-2.1.41-2.el7.noarch                                                               5/6
Installing : httpd-2.4.6-90.el7.centos.x86_64                                                          6/6
Verifying  : mailcap-2.1.41-2.el7.noarch                                                               1/6
Verifying  : httpd-tools-2.4.6-90.el7.centos.x86_64                                                    2/6
Verifying  : apr-util-1.5.2-6.el7.x86_64                                                               3/6
Verifying  : httpd-2.4.6-90.el7.centos.x86_64                                                          4/6
Verifying  : apr-1.4.8-5.el7.x86_64                                                                    5/6
Verifying  : centos-logos-70.0.6-3.el7.centos.noarch                                                   6/6
Installed:
httpd.x86_64 0:2.4.6-90.el7.centos
Dependency Installed:
apr.x86_64 0:1.4.8-5.el7                              apr-util.x86_64 0:1.5.2-6.el7
centos-logos.noarch 0:70.0.6-3.el7.centos             httpd-tools.x86_64 0:2.4.6-90.el7.centos
mailcap.noarch 0:2.1.41-2.el7
Complete!
But after selecting the finish button the task returned failed??
Please can you advise where it failed and why?
Thanks in advance
Spencer.