Re: using rex (rexify) soes not do a command properly...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/17/2016 11:53 AM, dwoody5654 wrote:
On 05/17/2016 12:54 PM, Rick Stevens wrote:
On 05/17/2016 10:43 AM, dwoody5654 wrote:
I use Rex to maintain remote servers. Using Rex to do a upgrade on the
remote server using the following commands does not work:

yum -y upgrade vim-X11-2:7.4.1718-1.fc22
yum -y upgrade vim-common-2:7.4.1718-1.fc22
yum -y upgrade vim-enhanced-2:7.4.1718-1.fc22
yum -y upgrade vim-minimal-2:7.4.1718-1.fc22

Rex does a sudo for each command.
Also logging in to the remote server and doing the above upgrades work
as it should.
I manage remote systems with both F22 and F23 and each has the same
failure.
All other upgrades are done correctly, it is just the ones related to
vim that fail.

All other commands work correctly.

Any ideas on how to troubleshoot this?

It would be nice for you to tell us _what_ the failure is. What errors
are shown?
My bad. I forgot that I keep a log of the upgrades on the remote server.
In looking at the log I found that if all four are not ungraded at the
same time. (or maybe in the correct order) there is a conflict and none
get upgraded.

Thanks for your response, I had forgotten that I create a upgrade log
file on the remote server. No telling when I would have remembered it
was there.

Glad you got that sorted. Technically, for F21 and later, you should use
"dnf" and not "yum". I've also found that, in the cases where
installing (or upgrading) is sequence-sensitive, do it all in one
command:

	dnf -y upgrade vim-X11 vim-common vim-enhanced vim-minimal

or even

	dnf -y upgrade vim*

and let dnf sort out the proper order, dependencies, yadda yadda. Don't
use the wildcard for installs--just updates/upgrades. I also wouldn't
specify version numbers unless you are specifically trying for a given
version.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-    Reality: A crutch for those who can't handle science fiction    -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
http://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux