[yum-cvs] yum-utils/plugins/versionlock README,NONE,1.1
Panu Matilainen
pmatilai at linux.duke.edu
Tue Jul 3 12:58:11 UTC 2007
Update of /home/groups/yum/cvs/yum-utils/plugins/versionlock
In directory login1.linux.duke.edu:/tmp/cvs-serv13104/plugins/versionlock
Added Files:
README
Log Message:
Add versionlock list format documentation (finally...)
--- NEW FILE README ---
The versionlock list format is NOT compatible with default 'rpm -qa' output.
The locked packages and their versions need to be listed in ENVRA format:
EPOCH:NAME-VERSION-RELEASE.ARCH
That format can be easily generated with repoquery (also part of yum-utils)
with --envra option. If for example you want to lock what's currently on
the system you could use
repoquery --quiet --envra --pkgnarrow=installed -a
If using repoquery isn't an option for whatever reason, the following
queryformat will extract ENVRA format from rpm:
rpm -qa --qf "%|epoch?{%{epoch}}:{0}|:%{name}-%{version}-%{release}.%{arch}\n"
More information about the Yum-cvs-commits
mailing list