similar to: one-shot yum command to match rpms between systems?

Displaying 20 results from an estimated 10000 matches similar to: "one-shot yum command to match rpms between systems?"

2016 May 18
1
one-shot yum command to match rpms between systems?
On Wed, 18 May 2016 13:32:36 -0400 Matthew Miller wrote: > ( rpm -qa --qf '%{name}.%{arch}\n' | sort | diff --old-line-format='install % > L' --new-line-format='remove %L' -unchanged-line-format='' list.txt - ; echo > run ) | yum shell This looks pretty much like what I had in mind. Great! Thanks! -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~
2016 May 18
0
one-shot yum command to match rpms between systems?
On Wed, May 18, 2016 at 12:54:51AM -0600, Frank Cox wrote: > Given a list of rpms on one system (rpm -qa > list.txt), is there a > one-shot command that I can run on another system to remove all of > the rpms not listed and add any that are on the list and not present > on the second system? I'd probably turn it into a puppet manifest or ansible playbook, and use that to
2017 Nov 15
6
run bash <filename> from cron
This might be a bit OT, but I've never had to do this before and what I've googled doesn't seem to be working. I have an ansible playbook that I'm working on that I want to run as a cronjob.? One task I'm having trouble with is where I have a text file with lines like: rd.pl "blah blah" rd.pl "blah blah blah" This text file has to be 'executed'
2016 May 18
3
one-shot yum command to match rpms between systems?
On Wed, 18 May 2016 09:30:54 +0100 James Hogarth wrote: > And of course as will be pointed out by many the only right answer is yum > update anyway given cherry picking updates is not supported. The objective is not to cherry pick updates, but rather to install a second system with packages that match the first system. After fine-tuning the installed packages and stripping out the
2016 May 18
0
one-shot yum command to match rpms between systems?
> On May 18, 2016, at 2:54 AM, Frank Cox <theatre at melvilletheatre.com> wrote: > > Given a list of rpms on one system (rpm -qa > list.txt), is there a one-shot command that I can run on another system to remove all of the rpms not listed and add any that are on the list and not present on the second system? It wouldn?t be a one liner except in the most general sense that you
2016 May 18
0
one-shot yum command to match rpms between systems?
On Wed, May 18, 2016 at 12:54:51AM -0600, Frank Cox wrote: > Given a list of rpms on one system (rpm -qa > list.txt), is there a > one-shot command that I can run on another system to remove all of > the rpms not listed and add any that are on the list and not present > on the second system? I think you can pull this off with `yum shell`. First, though, don't do `rpm -qa` as
2016 May 18
1
one-shot yum command to match rpms between systems?
On Wed, 18 May 2016 18:17:10 +0100 James Hogarth wrote: > Well if you're planning on doing a yum update anyway just cat rpmlist | > xargs yum -y install That wouldn't remove the unneeded packages on the second system. -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
2017 Nov 15
1
run bash <filename> from cron
> On Nov 15, 2017, at 11:48 AM, m.roth at 5-cent.us wrote: > > Mark Haney wrote: >> This might be a bit OT, but I've never had to do this before and what >> I've googled doesn't seem to be working. >> >> I have an ansible playbook that I'm working on that I want to run as a >> cronjob. One task I'm having trouble with is where I have a
2016 May 18
0
one-shot yum command to match rpms between systems?
On 18 May 2016 07:55, "Frank Cox" <theatre at melvilletheatre.com> wrote: > > Given a list of rpms on one system (rpm -qa > list.txt), is there a one-shot command that I can run on another system to remove all of the rpms not listed and add any that are on the list and not present on the second system? > If you had an internal repo of these packages you could yum
2016 May 18
0
one-shot yum command to match rpms between systems?
On 18 May 2016 17:57, "Frank Cox" <theatre at melvilletheatre.com> wrote: > > On Wed, 18 May 2016 09:30:54 +0100 > James Hogarth wrote: > > > And of course as will be pointed out by many the only right answer is yum > > update anyway given cherry picking updates is not supported. > > The objective is not to cherry pick updates, but rather to install a
2009 Mar 04
3
Why are multiple architecture rpms installed?
Hello, I noticed, that whenever I install a package on CentOS 5.x, rpms for multiple architectures are installed: yum install sqlite-devel Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * base: centos.intergenia.de * updates: centos.intergenia.de * addons: centos.intergenia.de * extras: centos.intergenia.de base 100%
2013 Aug 29
1
list installed packaged, without formatting overhead
Hi all, In order to make the same installation on two servers where all was installed via yum/rpm, I want to dump a list of all installed packages on the first server. My problem is if I just "yum list installed", some weird formatting prints packages information on 2 lines... I have to # yum list installed | awk '{print $1}' \ | grep -v '@' | grep -vE
2006 Jan 27
5
md5sum rpms >> list
Does anyone know in centos how to create an md5sum list based on the current rpms that I have installed right now on my box? I tried something like rpm -q -v | md5sum >> list but didnt work. Andrew
2009 Oct 12
2
CentOS 5.3 on X86_64: yum installs both i386 and x86_64 packages
Hello, Is it advisable to clean up the system by deleting the i386 rpms? If so how do you know which ones to remove and which ones CentOS or RHEL require to be installed? You can use ?yum list installed \*.i386? to list all of the i386 rpms installed on your x86_64 system and I assume you could use ?yum remove installed \*.i386? to remove them all. If there were a few which were necessary to
2020 Jan 24
2
Centos 7 Lyx - installing templates and class files
I'm not kind of an expert using Lyx, but I occasionally do some "structured writing" and on those occasions I've really enjoyed using Lyx; the workflow and the output just can't be beat. I'm enough of a novice with it that I've never used anything other than the "Article (Standard Class)" document class. I wrote a short paper using Lyx and the
2016 Aug 08
4
Eclipse rpms
On 08/08/2016 03:25 PM, Gordon Messmer wrote: > # yum install centos-release-scl > # yum list devtoolset-4-eclipse\* Of course, the next question is: Is it possible to install Eclipse in a way that doesn't require users to run "scl enable devtoolset-4 bash" in a terminal? Or can selected software collections be enabled by default in new sessions?
2015 Feb 25
4
Easy way to strip down CentOS?
Le 25/02/2015 19:36, John R Pierce a ?crit : > I install from the 'minimum' ISO, and get that off the bat, then just > install the packages I need with yum I do the same, but my question is: how to do that the other way around? Let's say you start from the base system, then install a couple dozen command-line utilities from cowsay to whois, then you install the "X Window
2012 Nov 07
5
forwarding all calls to cells
Hello everybody, A client wants to install a FreePBX infrastructure, but have all calls forward to their cell phones rather than buying VoIP phones. They would be doing SIP trunks over a Comcast business line. Probably maximum 6 simultaneous calls. Any gotchas we should warn them about? Thanks! noam Noam Birnbaum El Presidente http://www.desksidemanner.com 415-854-0885 x89 tweet @noamb
2015 Dec 10
2
when RedHat makes patches for only some versions
> On Dec 10, 2015, at 10:40 AM, Leon Fauster <leonfauster at googlemail.com> wrote: > > Am 10.12.2015 um 16:16 schrieb Noam Bernstein <noam.bernstein at nrl.navy.mil>: >> I guess this is really a RedHat, not CentOS question, but I?m hoping that someone here will be familiar enough with the upstream policy to have some useful information. >> >> How does
2017 Jun 05
2
C7 ansible 2.3 become_method: su not working
I just don't know what else to try. I've beat my head on this for 3 days now and it's becoming obvious that either Ansible 2.3 is a complete disaster, or the CentOS 7 package is a complete cluster. Here's my problem. I am working on getting an ansible server to manage about 100 or so CentOS 6 servers. All have an unprivileged user account setup (up to 3 years before I got