02-18-2016
8 More Discussions You Might Find Interesting
1. Red Hat
Hi, I'm new to the concept of paying for linux, as such I'm not sure what packages I can compile/install while maintaining system integrity in RHEL 5.x.x?
Can someone inform me if installing programs, for example 'irssi', that are not available from RHN will adversely affect the system/package... (1 Reply)
Discussion started by: biorhythm
1 Replies
2. Red Hat
Hi,
Once we get a subscription (activation key), how to register a RHEL machine with RHN?
Which port to be open on my RHEL machine? How exactly it will connect to Red Hat Network?
Please give me some steps.
Regards,
Uday (2 Replies)
Discussion started by: uday123
2 Replies
3. Red Hat
Hi,
I'd like to know more about RHN and their RHN PROXY.
- If I will buy PROXY, do I need to get licenses for all my RHELs to have them updated? What are benefits of proxy?
- If I will buy (doubt it) Satellite, will I be able to connect all my boxes to Satellite and have them upgraded... (5 Replies)
Discussion started by: columb
5 Replies
4. UNIX for Advanced & Expert Users
Friends,
Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ?
For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies
5. Ubuntu
Hi
I would like to ask in ubuntu or linux on how to list all my package or software the i installed via source code( compile installed in dir default is /usr/local) just like i solaris in which if you installed a package in ur choosing default root installation dir you can just issue a command... (2 Replies)
Discussion started by: jao_madn
2 Replies
6. Shell Programming and Scripting
Hi,
I have Redhat 5.6
I would like to have the script that will don a NONE interactive mode to register Linux Redhat to Satellite server without any interaction from user.
i found command but i never get to working:
#rhnreg_ks
i want also to at the same time upload all rpm... (0 Replies)
Discussion started by: lamoul
0 Replies
7. AIX
Hi,
How can I list running services, corresponding package name and status on the AIX host?
On Linux (Centos), I use the below code snippet:-
for i in `chkconfig --list | awk '{ print $1}'`; do
status=`/sbin/service $i status`
packagename=`rpm -qf /etc/init.d/$i`
done
Is there... (2 Replies)
Discussion started by: Vipin Batra
2 Replies
8. HP-UX
Hi,
I am trying to list down list of running services, corresponding package name and status on HP-UX box. The output will be a CSV in a fashion:- Service Name, Package Name, Status.
While working on Linux centos, I used chkconfig to do the same. Below was the snippet:-
for i in `chkconfig... (3 Replies)
Discussion started by: Happy83
3 Replies
LEARN ABOUT CENTOS
yum-versionlock
YUM-VERSIONLOCK(1) User Manuals YUM-VERSIONLOCK(1)
NAME
yum-versionlock - Version lock rpm packages
SYNOPSIS
yum-versionlock [ package-name [ package-name]] ...
DESCRIPTION
yum-versionlock(1) is a Yum plugin that takes a set of name/versions for packages and excludes all other versions of those packages
(including optionally following obsoletes). This allows you to protect packages from being updated by newer versions.
The plugin provides a command "versionlock" which allows you to view and edit the list of locked packages easily.
yum versionlock add <package-wildcard>...
Add a versionlock for all of the packages in the rpmdb matching the given wildcards. yum versionlock exclude <package-wildcard>...
Add a exclude (within versionlock) for the latest versions of the packages in the available repos. matching the given wildcards. yum ver-
sionlock list
List the current versionlock entries. yum versionlock delete <entry-wildcard>...
Remove any matching versionlock entries. yum versionlock clear
Remove all versionlock entries.
FILES
/etc/yum/pluginconf.d/versionlock.conf
The system wide configuration file. See yum-versionlock.conf(5) for more information.
/etc/yum/pluginconf.d/versionlock.list
The default place to put package version lock information (one package and version per. line). The file takes entries in the follow-
ing format EPOCH:NAME-VERSION-RELEASE.ARCH See rpm(8) for more information on custom query formats. If the package does not have an
EPOCH the number will default to 0.
BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if
unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com
for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs.
AVAILABILITY
yum-versionlock is available via:
# yum install yum-versionlock
AUTHORS
Panu Matilainen <pmatilai@laiskiainen.org>
James Antill <james@and.org>
Documentation modified by:
Gerhardus Geldenhuis <gerhardus.geldenhuis@gmail.com>
SEE ALSO
yum(1)
28 December 2009 YUM-VERSIONLOCK(1)