Skip to content

Instantly share code, notes, and snippets.

@sammcj
Created June 29, 2015 23:52
Show Gist options
  • Save sammcj/871f4932ce247b5077e6 to your computer and use it in GitHub Desktop.
Save sammcj/871f4932ce247b5077e6 to your computer and use it in GitHub Desktop.
wtf yum
[root@int-build-samm ~]# yum upgrade python
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.as24220.net
* centosplus: mirror.as24220.net
* elrepo: mirror.ventraip.net.au
* elrepo-SRPMS: mirror.ventraip.net.au
* elrepo-extras: mirror.ventraip.net.au
* elrepo-kernel: mirror.ventraip.net.au
* epel: mirror.as24220.net
* extras: mirror.optus.net
* fasttrack: mirror.as24220.net
* updates: mirror.as24220.net
Resolving Dependencies
--> Running transaction check
---> Package python.x86_64 0:2.7.5-16.el7 will be updated
---> Package python.x86_64 0:2.7.5-18.el7_1.1 will be an update
--> Processing Dependency: python-libs(x86-64) = 2.7.5-18.el7_1.1 for package: python-2.7.5-18.el7_1.1.x86_64
--> Running transaction check
---> Package python-libs.x86_64 0:2.7.5-16.el7 will be updated
---> Package python-libs.x86_64 0:2.7.5-18.el7_1.1 will be an update
--> Processing Dependency: /bin/python for package: cluster-glue-1.0.12-1.16.1.x86_64
--> Finished Dependency Resolution
Error: Package: cluster-glue-1.0.12-1.16.1.x86_64 (@suse-centos7-haclustering)
Requires: /bin/python
Removing: python-2.7.5-16.el7.x86_64 (@anaconda)
Not found
Updated By: python-2.7.5-18.el7_1.1.x86_64 (updates)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@int-build-samm ~]# yum remove cluster-glue
Loaded plugins: fastestmirror, langpacks
Resolving Dependencies
--> Running transaction check
---> Package cluster-glue.x86_64 0:1.0.12-1.16.1 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================================================================
Removing:
cluster-glue x86_64 1.0.12-1.16.1 @suse-centos7-haclustering 887 k
Transaction Summary
================================================================================================================================================================================================================
Remove 1 Package
Installed size: 887 k
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : cluster-glue-1.0.12-1.16.1.x86_64 1/1
Verifying : cluster-glue-1.0.12-1.16.1.x86_64 1/1
Removed:
cluster-glue.x86_64 0:1.0.12-1.16.1
Complete!
[root@int-build-samm ~]# yum upgrade python
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.as24220.net
* centosplus: mirror.as24220.net
* elrepo: mirror.ventraip.net.au
* elrepo-SRPMS: mirror.ventraip.net.au
* elrepo-extras: mirror.ventraip.net.au
* elrepo-kernel: mirror.ventraip.net.au
* epel: mirror.as24220.net
* extras: mirror.optus.net
* fasttrack: mirror.as24220.net
* updates: mirror.as24220.net
Resolving Dependencies
--> Running transaction check
---> Package python.x86_64 0:2.7.5-16.el7 will be updated
---> Package python.x86_64 0:2.7.5-18.el7_1.1 will be an update
--> Processing Dependency: python-libs(x86-64) = 2.7.5-18.el7_1.1 for package: python-2.7.5-18.el7_1.1.x86_64
--> Running transaction check
---> Package python-libs.x86_64 0:2.7.5-16.el7 will be updated
---> Package python-libs.x86_64 0:2.7.5-18.el7_1.1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================================================================
Updating:
python x86_64 2.7.5-18.el7_1.1 updates 86 k
Updating for dependencies:
python-libs x86_64 2.7.5-18.el7_1.1 updates 5.6 M
Transaction Summary
================================================================================================================================================================================================================
Upgrade 1 Package (+1 Dependent package)
Total download size: 5.7 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs reduced 5.7 M of updates to 564 k (90% saved)
(1/2): python-2.7.5-16.el7_2.7.5-18.el7_1.1.x86_64.drpm | 58 kB 00:00:00
(2/2): python-libs-2.7.5-16.el7_2.7.5-18.el7_1.1.x86_64.drpm | 506 kB 00:00:00
Finishing delta rebuilds of 1 package(s) (5.6 M)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 117 kB/s | 564 kB 00:00:04
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : python-libs-2.7.5-18.el7_1.1.x86_64 1/4
Updating : python-2.7.5-18.el7_1.1.x86_64 2/4
Cleanup : python-2.7.5-16.el7.x86_64 3/4
Cleanup : python-libs-2.7.5-16.el7.x86_64 4/4
Verifying : python-2.7.5-18.el7_1.1.x86_64 1/4
Verifying : python-libs-2.7.5-18.el7_1.1.x86_64 2/4
Verifying : python-libs-2.7.5-16.el7.x86_64 3/4
Verifying : python-2.7.5-16.el7.x86_64 4/4
Updated:
python.x86_64 0:2.7.5-18.el7_1.1
Dependency Updated:
python-libs.x86_64 0:2.7.5-18.el7_1.1
Complete!
[root@int-build-samm ~]# yum install cluster-glue
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.as24220.net
* centosplus: mirror.as24220.net
* elrepo: mirror.ventraip.net.au
* elrepo-SRPMS: mirror.ventraip.net.au
* elrepo-extras: mirror.ventraip.net.au
* elrepo-kernel: mirror.ventraip.net.au
* epel: mirror.as24220.net
* extras: mirror.optus.net
* fasttrack: mirror.as24220.net
* updates: mirror.as24220.net
Resolving Dependencies
--> Running transaction check
---> Package cluster-glue.x86_64 0:1.0.12-1.16.1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================================================================
Installing:
cluster-glue x86_64 1.0.12-1.16.1 network_ha-clustering_Stable 275 k
Transaction Summary
================================================================================================================================================================================================================
Install 1 Package
Total download size: 275 k
Installed size: 887 k
Is this ok [y/d/N]: y
Downloading packages:
cluster-glue-1.0.12-1.16.1.x86_64.rpm | 275 kB 00:00:06
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : cluster-glue-1.0.12-1.16.1.x86_64 1/1
Verifying : cluster-glue-1.0.12-1.16.1.x86_64 1/1
Installed:
cluster-glue.x86_64 0:1.0.12-1.16.1
Complete!
@sammcj
Copy link
Author

sammcj commented Dec 14, 2015

root@int-log-04:~ 1 # yum clean all
Loaded plugins: fastestmirror, rpm-warm-cache, versionlock
Cleaning repos: base centosplus elrepo elrepo-extras elrepo-kernel epel extras ixa logstash mrmondo_pacemaker puppetlabs-deps puppetlabs-products updates
Cleaning up everything
Cleaning up list of fastest mirrors
root@int-log-04:~  # yum update
Loaded plugins: fastestmirror, rpm-warm-cache, versionlock
base                                                                                                                                                       | 3.6 kB  00:00:00
centosplus                                                                                                                                                 | 3.4 kB  00:00:00
elrepo                                                                                                                                                     | 2.9 kB  00:00:00
elrepo-extras                                                                                                                                              | 2.9 kB  00:00:00
elrepo-kernel                                                                                                                                              | 2.9 kB  00:00:00
epel                                                                                                                                                       | 4.3 kB  00:00:00
extras                                                                                                                                                     | 3.4 kB  00:00:00
ixa                                                                                                                                                        |  951 B  00:00:00
logstash                                                                                                                                                   |  951 B  00:00:00
mrmondo_pacemaker                                                                                                                                          | 1.0 kB  00:00:00
puppetlabs-deps                                                                                                                                            | 2.5 kB  00:00:00
puppetlabs-products                                                                                                                                        | 2.5 kB  00:00:00
updates                                                                                                                                                    | 3.4 kB  00:00:00
(1/13): base/7/x86_64/group_gz                                                                                                                             | 155 kB  00:00:00
(2/13): centosplus/7/x86_64/primary_db                                                                                                                     | 730 kB  00:00:00
(3/13): elrepo-extras/7/x86_64/primary_db                                                                                                                  | 4.2 kB  00:00:00
(4/13): base/7/x86_64/primary_db                                                                                                                           | 5.3 MB  00:00:00
(5/13): epel/7/x86_64/group_gz                                                                                                                             | 169 kB  00:00:01
(6/13): extras/7/x86_64/primary_db                                                                                                                         |  90 kB  00:00:00
(7/13): elrepo/7/x86_64/primary_db                                                                                                                         | 320 kB  00:00:01
(8/13): puppetlabs-deps/7/x86_64/primary_db                                                                                                                | 8.4 kB  00:00:00
(9/13): updates/7/x86_64/primary_db                                                                                                                        | 935 kB  00:00:00
(10/13): epel/7/x86_64/updateinfo                                                                                                                          | 432 kB  00:00:01
(11/13): puppetlabs-products/7/x86_64/primary_db                                                                                                           |  63 kB  00:00:01
(12/13): elrepo-kernel/7/x86_64/primary_db                                                                                                                 | 831 kB  00:00:03
(13/13): epel/7/x86_64/primary_db                                                                                                                          | 3.7 MB  00:00:01
(1/3): ixa/primary                                                                                                                                         | 4.5 kB  00:00:00
(2/3): logstash/primary                                                                                                                                    | 3.7 kB  00:00:00
(3/3): mrmondo_pacemaker/primary                                                                                                                           | 5.6 kB  00:00:02
Determining fastest mirrors
ixa                                                                                                                                                                           9/9
logstash                                                                                                                                                                      7/7
mrmondo_pacemaker                                                                                                                                                           18/18
Resolving Dependencies
--> Running transaction check
---> Package cluster-glue.x86_64 0:1.0.12-1.16.1 will be updated
---> Package cluster-glue.x86_64 0:1.0.12.1-1.16.1 will be an update
---> Package cluster-glue-libs.x86_64 0:1.0.12-1.16.1 will be updated
---> Package cluster-glue-libs.x86_64 0:1.0.12.1-1.16.1 will be an update
---> Package python.x86_64 0:2.7.5-18.el7_1.1 will be updated
---> Package python.x86_64 0:2.7.5-34.el7 will be an update
---> Package python-libs.x86_64 0:2.7.5-18.el7_1.1 will be updated
---> Package python-libs.x86_64 0:2.7.5-34.el7 will be an update
---> Package sqlite.x86_64 0:3.7.17-6.el7_1.1 will be updated
---> Package sqlite.x86_64 0:3.7.17-8.el7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================================================================
 Package                                       Arch                               Version                                     Repository                                     Size
==================================================================================================================================================================================
Updating:
 cluster-glue                                  x86_64                             1.0.12.1-1.16.1                             mrmondo_pacemaker                             274 k
 cluster-glue-libs                             x86_64                             1.0.12.1-1.16.1                             mrmondo_pacemaker                             135 k
 python                                        x86_64                             2.7.5-34.el7                                base                                           88 k
 python-libs                                   x86_64                             2.7.5-34.el7                                base                                          5.6 M
 sqlite                                        x86_64                             3.7.17-8.el7                                base                                          393 k

Transaction Summary
==================================================================================================================================================================================
Upgrade  5 Packages

Total download size: 6.5 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for mrmondo_pacemaker
No Presto metadata available for base
(1/5): python-2.7.5-34.el7.x86_64.rpm                                                                                                                      |  88 kB  00:00:00
(2/5): sqlite-3.7.17-8.el7.x86_64.rpm                                                                                                                      | 393 kB  00:00:00
(3/5): python-libs-2.7.5-34.el7.x86_64.rpm                                                                                                                 | 5.6 MB  00:00:00
(4/5): cluster-glue-libs-1.0.12.1-1.16.1.x86_64.rpm                                                                                                        | 135 kB  00:00:03
(5/5): cluster-glue-1.0.12.1-1.16.1.x86_64.rpm                                                                                                             | 274 kB  00:00:03
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                             1.8 MB/s | 6.5 MB  00:00:03
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : cluster-glue-libs-1.0.12.1-1.16.1.x86_64                                                                                                                      1/10
  Updating   : sqlite-3.7.17-8.el7.x86_64                                                                                                                                    2/10
  Updating   : python-libs-2.7.5-34.el7.x86_64                                                                                                                               3/10
  Updating   : python-2.7.5-34.el7.x86_64                                                                                                                                    4/10
  Updating   : cluster-glue-1.0.12.1-1.16.1.x86_64                                                                                                                           5/10
  Cleanup    : cluster-glue-1.0.12-1.16.1.x86_64                                                                                                                             6/10
  Cleanup    : python-2.7.5-18.el7_1.1.x86_64                                                                                                                                7/10
  Cleanup    : python-libs-2.7.5-18.el7_1.1.x86_64                                                                                                                           8/10
  Cleanup    : sqlite-3.7.17-6.el7_1.1.x86_64                                                                                                                                9/10
  Cleanup    : cluster-glue-libs-1.0.12-1.16.1.x86_64                                                                                                                       10/10
  Verifying  : sqlite-3.7.17-8.el7.x86_64                                                                                                                                    1/10
  Verifying  : cluster-glue-1.0.12.1-1.16.1.x86_64                                                                                                                           2/10
  Verifying  : python-2.7.5-34.el7.x86_64                                                                                                                                    3/10
  Verifying  : python-libs-2.7.5-34.el7.x86_64                                                                                                                               4/10
  Verifying  : cluster-glue-libs-1.0.12.1-1.16.1.x86_64                                                                                                                      5/10
  Verifying  : python-libs-2.7.5-18.el7_1.1.x86_64                                                                                                                           6/10
  Verifying  : python-2.7.5-18.el7_1.1.x86_64                                                                                                                                7/10
  Verifying  : cluster-glue-1.0.12-1.16.1.x86_64                                                                                                                             8/10
  Verifying  : sqlite-3.7.17-6.el7_1.1.x86_64                                                                                                                                9/10
  Verifying  : cluster-glue-libs-1.0.12-1.16.1.x86_64                                                                                                                       10/10

Updated:
  cluster-glue.x86_64 0:1.0.12.1-1.16.1 cluster-glue-libs.x86_64 0:1.0.12.1-1.16.1 python.x86_64 0:2.7.5-34.el7 python-libs.x86_64 0:2.7.5-34.el7 sqlite.x86_64 0:3.7.17-8.el7

Complete!

@sammcj
Copy link
Author

sammcj commented Dec 15, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment