06-15-2010
Yum update/install script
Any one know of a way to do a yum -install and draw the argument of what to install from a text file?
I have a huge list of rpms that I have to install on a bunch of machines and I would like to run one script that goes to each machine and installs all rpms in the list I have.
10 More Discussions You Might Find Interesting
1. Linux
I have a centos 4.x box and for some reason yum is not installed on it.
Is there a howto on how to do this?
thanks! (3 Replies)
Discussion started by: mcraul
3 Replies
2. Linux
Hello
Is there a way to update a package to a specific version with yum?
So, I have version 1 of package A installed. Versions 2 and 3 are available, but I only want to upgrade to version 2. Any assistance would be appreciated.
Thanks! (1 Reply)
Discussion started by: garskoci
1 Replies
3. Red Hat
I am using Cent OS 5 i need to update proxy server address in yum, i don't know where to update and how exactly i need to specify the proxy address can anyone help me in the issue. (2 Replies)
Discussion started by: praneel2k
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does.
Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies
5. Red Hat
I have a server running CentOS 5 and when yum update is run and a new kernel is installed and there are more then 3 kernels installed the oldest ones are removed. Anyway to achieve this with CentOS 4?
Matt (1 Reply)
Discussion started by: lforum
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
working on CentOS 5.7 64 bit. I need to install syslog-ng. First I downloaded syslog-ng RPM. When I install I get many dependencies error messages.
rpm -ivh syslog-ng-3.3.3-1.mga2.x86_64.rpm
warning: syslog-ng-3.3.3-1.mga2.x86_64.rpm: Header V3 RSA/SHA1 signature: NOKEY, key ID... (2 Replies)
Discussion started by: samnyc
2 Replies
7. Shell Programming and Scripting
Hi,
I have an expect script which connects to whatever Ip is passed to it. It performs a variety of tasks, all of which it completes fine except for the yum updates. For some reason it sends commands early, during the yum update. Any ideas?
Thanks. (2 Replies)
Discussion started by: meor
2 Replies
8. Red Hat
Hello All,
I am trying to upgrade redhat from 5.6 to 5.8.
When i use
Code:
yum update -y
it installs 5.9
I dont want 5.9, instead i would like to upgrade to 5.8
is there anyway to specify a version when you are doing
Code:
yum update (4 Replies)
Discussion started by: adam25ca
4 Replies
9. Fedora
Hello,
I issued # yum update and received below error. Any idea?
# yum update
Loaded plugins: fastestmirror, universal-hooks
Setting up Update Process
Loading mirror speeds from cached hostfile
* cpanel-addons-production-feed: 204.10.37.146
* base: mirrors.oit.uci.edu
* extras:... (3 Replies)
Discussion started by: feroccimx
3 Replies
10. UNIX for Beginners Questions & Answers
I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal.
I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies
LEARN ABOUT CENTOS
find-repos-of-install
find-repos-of-install(1) find-repos-of-install(1)
NAME
find-repos-of-install - report which Yum repository a package was installed from
SYNOPSIS
find-repos-of-install [options] package1 [package2...]
DESCRIPTION
find-repos-of-install is a program which reports the Yum repository that a specified package was installed from.
OPTIONS
--version
Report program version and exit.
-h, --help
Display a help message, and then quit.
--repoid=REPOID
Specify repo ids to query, can be specified multiple times (default is all enabled).
--enablerepo=ENABLEREPOS
In addition to the default set, query the given additional repository, even if it is disabled in YUM configuration. Can be used
multiple times.
--disablerepo=DISABLEREPOS
Do not query the given repository, even if it is enabled in YUM configuration. Can be used multiple times.
--repofrompath=REPOID,PATH/URL
Specify a path or url to a repository (same path as in a baseurl) to add to the repositories for this query. This option can be used
multiple times. If you want to view only the pkgs from this repository combine this with --repoid. The repoid for the repository is
specified by REPOID.
-C, --cache
Tells repoquery to run entirely from YUM cache - does not download any metadata or update the cache. Queries in this mode can fail
or give partial/incorrect results if the cache isn't fully populated beforehand with eg "yum makecache".
--tempcache
Use a temp dir for storing/accessing yum-cache.
--sync2yumdb
Sync anything that is found to the yumdb, if available.
SEE ALSO
yum.conf (5)
http://yum.baseurl.org/
AUTHORS
See the Authors file included with this program.
13 January 2013 find-repos-of-install(1)