Skip to content

Instantly share code, notes, and snippets.

@ksalman
Created February 13, 2015 17:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ksalman/96cfa8bf985ea7de7ca2 to your computer and use it in GitHub Desktop.
Save ksalman/96cfa8bf985ea7de7ca2 to your computer and use it in GitHub Desktop.
kernel-devel:
pkg.installed:
- version: 2.6.32-279.11.1.el6
[INFO ] Loading fresh modules for state activity
[INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://rockmachine/kernel.sls'
[INFO ] Running state [kernel-devel] at time 09:49:26.856609
[INFO ] Executing state pkg.installed for kernel-devel
[INFO ] Executing command 'repoquery --plugins --queryformat="%{NAME}_|-%{VERSION}_|-%{RELEASE}_|-%{ARCH}_|-%{REPOID}" --all --pkgnarrow=installed' in directory '/root'
[INFO ] Executing command 'repoquery --plugins --queryformat="%{NAME}_|-%{ARCH}" --pkgnarrow=all --all' in directory '/root'
[INFO ] Executing command 'repoquery --plugins --queryformat="%{NAME}_|-%{VERSION}_|-%{RELEASE}_|-%{ARCH}_|-%{REPOID}" --all --quiet --whatprovides kernel-devel' in directory '/root'
[INFO ] Executing command 'yum -q clean expire-cache && yum -q check-update ' in directory '/root'
[INFO ] Executing command 'yum -y downgrade "kernel-devel-2.6.32-279.11.1.el6"' in directory '/root'
[INFO ] Executing command 'repoquery --plugins --queryformat="%{NAME}_|-%{VERSION}_|-%{RELEASE}_|-%{ARCH}_|-%{REPOID}" --all --pkgnarrow=installed' in directory '/root'
[ERROR ] The following packages failed to install/update: kernel-devel=2.6.32-279.11.1.el6.
[INFO ] Completed state [kernel-devel] at time 09:49:35.445650
local:
----------
ID: kernel-devel
Function: pkg.installed
Result: False
Comment: The following packages failed to install/update: kernel-devel=2.6.32-279.11.1.el6.
Started: 09:49:26.856609
Duration: 8589.041 ms
Changes:
Summary
------------
Succeeded: 0
Failed: 1
------------
Total states run: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment