Skip to content

Instantly share code, notes, and snippets.

@ThatLadyDev
Last active January 4, 2022 19:42
Show Gist options
  • Save ThatLadyDev/48fed0f1869280a51eec865fe03783cc to your computer and use it in GitHub Desktop.
Save ThatLadyDev/48fed0f1869280a51eec865fe03783cc to your computer and use it in GitHub Desktop.
How to install supervisor on CentOS 7
## yum install supervisor
The above command gave an error at first, the error is found below:
======================================================================================
- Loaded plugins: fastestmirror, universal-hooks
- Loading mirror speeds from cached hostfile
* EA4: 104.219.172.10
* cpanel-addons-production-feed: 104.219.172.10
* cpanel-plugins: 104.219.172.10
* base: mirrors.sonic.net
* extras: centos-distro.cavecreek.net
* updates: mirrors.raystedman.org
- No package supervisor available.
- Error: Nothing to do
======================================================================================
To fix this, Supervisor needs a dependency package before it can be installed.
The dependency package I installed was epel release via the command below:
## yum install epel-release
After running the above command, then I ran the command to install supervisor which is:
## yum install supervisor
===========================================================================================
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
* EA4: 104.219.172.10
* cpanel-addons-production-feed: 104.219.172.10
* cpanel-plugins: 104.219.172.10
* base: mirrors.sonic.net
* epel: sjc.edge.kernel.org
* extras: centos-distro.cavecreek.net
* updates: mirrors.raystedman.org
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package supervisor.noarch 0:3.4.0-1.el7 will be installed
--> Processing Dependency: python-meld3 >= 0.6.5 for package: supervisor-3.4.0-1.el7.noarch
--> Running transaction check
---> Package python-meld3.x86_64 0:0.6.10-1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================
Package Arch Version Repository Size
======================================================================================================================
Installing:
supervisor noarch 3.4.0-1.el7 epel 498 k
Installing for dependencies:
python-meld3 x86_64 0.6.10-1.el7 epel 73 k
Transaction Summary
======================================================================================================================
Install 1 Package (+1 Dependent package)
Total size: 571 k
Total download size: 498 k
Installed size: 2.9 M
Is this ok [y/d/N]: y
Downloading packages:
epel/x86_64/prestodelta | 431 B 00:00:00
warning: /var/cache/yum/x86_64/7/epel/packages/supervisor-3.4.0-1.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, keyID 352c64e5: NOKEY
Public key for supervisor-3.4.0-1.el7.noarch.rpm is not installed
supervisor-3.4.0-1.el7.noarch.rpm | 498 kB 00:00:00
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
Userid : "Fedora EPEL (7) <epel@fedoraproject.org>"
Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
Package : epel-release-7-11.noarch (@extras)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : python-meld3-0.6.10-1.el7.x86_64 1/2
Installing : supervisor-3.4.0-1.el7.noarch 2/2
Verifying : python-meld3-0.6.10-1.el7.x86_64 1/2
Verifying : supervisor-3.4.0-1.el7.noarch 2/2
Installed:
supervisor.noarch 0:3.4.0-1.el7
Dependency Installed:
python-meld3.x86_64 0:0.6.10-1.el7
Complete!
====================================================================================================
And Voila!
It installed with zero issues!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment