#################### REPOSITORIES USED ######################################### [root@egicentos7 yum.repos.d]# cat UMD-4-untested.repo [UMD-4-untested] name=UMD 4 untested (CentOS 7) baseurl=http://repository.egi.eu/sw/untested/umd/4/centos7/$basearch protect=1 enabled=0 # To use priorities you must have yum-priorities installed priority=1 gpgcheck=1 gpgkey=http://repository.egi.eu/sw/production/umd/UMD-RPM-PGP-KEY ######################### PACKAGE INSTALLATION #################################### [root@egicentos7 yum.repos.d]# yum install lcg-info --enablerepo=UMD-4-untested Loaded plugins: fastestmirror, priorities, protectbase Determining fastest mirrors epel/x86_64/metalink | 25 kB 00:00:00 * base: centos.mirror.ptisp.pt * epel: mirrors.up.pt * extras: centos.mirror.ptisp.pt * updates: centos.mirror.ptisp.pt UMD-4-base | 1.9 kB 00:00:00 UMD-4-untested | 1.9 kB 00:00:00 UMD-4-updates | 1.9 kB 00:00:00 base | 3.6 kB 00:00:00 epel | 5.3 kB 00:00:00 extras | 3.4 kB 00:00:00 updates | 3.4 kB 00:00:00 (1/7): base/7/x86_64/group_gz | 166 kB 00:00:00 (2/7): epel/x86_64/group_gz | 88 kB 00:00:00 (3/7): base/7/x86_64/primary_db | 6.0 MB 00:00:00 (4/7): epel/x86_64/updateinfo | 993 kB 00:00:00 (5/7): extras/7/x86_64/primary_db | 205 kB 00:00:00 (6/7): updates/7/x86_64/primary_db | 6.5 MB 00:00:00 (7/7): epel/x86_64/primary_db | 6.8 MB 00:00:02 (1/3): UMD-4-untested/x86_64/primary_db | 32 kB 00:00:00 (2/3): UMD-4-base/x86_64/primary_db | 53 kB 00:00:00 (3/3): UMD-4-updates/x86_64/primary_db | 655 kB 00:00:01 340 packages excluded due to repository priority protections 0 packages excluded due to repository protections Resolving Dependencies --> Running transaction check ---> Package lcg-info.noarch 0:1.12.4-1.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================== Package Arch Version Repository Size ============================================================================================================================================================================================== Installing: lcg-info noarch 1.12.4-1.el7 UMD-4-untested 12 k Transaction Summary ============================================================================================================================================================================================== Install 1 Package Total download size: 12 k Installed size: 38 k Is this ok [y/d/N]: y Downloading packages: lcg-info-1.12.4-1.el7.noarch.rpm | 12 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : lcg-info-1.12.4-1.el7.noarch 1/1 Verifying : lcg-info-1.12.4-1.el7.noarch 1/1 Installed: lcg-info.noarch 0:1.12.4-1.el7 Complete! ###################### RPM files checking ####################################### [root@egicentos7 yum.repos.d]# rpm -ql lcg-info.noarch /usr/bin/lcg-info /usr/share/man/man1/lcg-info.1 ###################### RPM basic tests ####################################### [root@egicentos7 yum.repos.d]# lcg-info lcg-info: use one an only one option among: --list-ce, --list-se, --list-service, --list-site, --list-attrs, --help Usage: lcg-info --list-ce [--bdii bdii] [--vo vo] [--sed] [--debug] [--query query] [--attrs list] lcg-info --list-se [--bdii bdii] [--vo vo] [--sed] [--debug] [--query query] [--attrs list] lcg-info --list-service [--bdii bdii] [--vo vo] [--sed] [--debug] [--query query] [--attrs list] lcg-info --list-site [--bdii bdii] [--vo vo] [--sed] [--debug] [--query query] [--attrs list] lcg-info --list-attrs lcg-info --help [root@egicentos7 yum.repos.d]# lcg-info -V Option vo requires an argument lcg-info: wrong arguments. Usage: lcg-info --list-ce [--bdii bdii] [--vo vo] [--sed] [--debug] [--query query] [--attrs list] lcg-info --list-se [--bdii bdii] [--vo vo] [--sed] [--debug] [--query query] [--attrs list] lcg-info --list-service [--bdii bdii] [--vo vo] [--sed] [--debug] [--query query] [--attrs list] lcg-info --list-site [--bdii bdii] [--vo vo] [--sed] [--debug] [--query query] [--attrs list] lcg-info --list-attrs lcg-info --help ###################### RPM removal ####################################### [root@egicentos7 yum.repos.d]# lcg-info --help [root@egicentos7 yum.repos.d]# yum remove lcg-info.noarch Loaded plugins: fastestmirror, priorities, protectbase Resolving Dependencies --> Running transaction check ---> Package lcg-info.noarch 0:1.12.4-1.el7 will be erased --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================== Package Arch Version Repository Size ============================================================================================================================================================================================== Removing: lcg-info noarch 1.12.4-1.el7 @UMD-4-untested 38 k Transaction Summary ============================================================================================================================================================================================== Remove 1 Package Installed size: 38 k Is this ok [y/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Erasing : lcg-info-1.12.4-1.el7.noarch 1/1 Verifying : lcg-info-1.12.4-1.el7.noarch 1/1 Removed: lcg-info.noarch 0:1.12.4-1.el7 Complete!