[root@verification-SL6 ~]# yum localinstall umd-release-3.14.3-1.el6.noarch.rpm Loaded plugins: priorities, security Setting up Local Package Process Examining umd-release-3.14.3-1.el6.noarch.rpm: umd-release-3.14.3-1.el6.noarch Marking umd-release-3.14.3-1.el6.noarch.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package umd-release.noarch 0:3.14.3-1.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================ Package Arch Version Repository Size ============================================================================================================================================================ Installing: umd-release noarch 3.14.3-1.el6 /umd-release-3.14.3-1.el6.noarch 14 k Transaction Summary ============================================================================================================================================================ Install 1 Package(s) Total size: 14 k Installed size: 14 k Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : umd-release-3.14.3-1.el6.noarch 1/1 Verifying : umd-release-3.14.3-1.el6.noarch 1/1 Installed: umd-release.noarch 0:3.14.3-1.el6 Complete! [root@verification-SL6 ~]# ls -la /etc/yum.repos.d/ total 48 drwxr-xr-x. 2 root root 4096 Oct 28 15:30 . drwxr-xr-x. 78 root root 4096 Oct 28 15:30 .. -rw-r--r-- 1 root root 292 Oct 12 12:50 EGI-trustanchors.repo -rw-r--r-- 1 root root 292 Jul 1 05:42 EGI-trustanchors.repo.rpmnew -rw-r--r-- 1 root root 290 May 31 2012 EGI-trustanchors.repo.rpmsave -rw-r--r-- 1 root root 351 May 31 2012 epel.repo -rw-r--r-- 1 root root 1056 Nov 5 2012 epel-testing.repo -rw-r--r-- 1 root root 1632 May 31 2012 sl.repo -rw-r--r-- 1 root root 540 Oct 12 12:50 UMD-3-base.repo -rw-r--r-- 1 root root 538 Oct 12 12:50 UMD-3-testing.repo -rw-r--r-- 1 root root 541 Oct 12 12:50 UMD-3-untested.repo -rw-r--r-- 1 root root 549 Oct 12 12:50 UMD-3-updates.repo [root@verification-SL6 ~]# [root@verification-SL6 ~]# cat /etc/yum.repos.d/UMD-3-base.repo [UMD-3-base] name=UMD 3 base (SL6) baseurl=http://repository.egi.eu/sw/production/umd/3/sl6/$basearch/base protect=1 enabled=1 # To use priorities you must have yum-priorities installed priority=1 gpgcheck=1 gpgkey=http://emisoft.web.cern.ch/emisoft/dist/EMI/3/RPM-GPG-KEY-emi http://repo-rpm.ige-project.eu/RPM-GPG-KEY-IGE http://repository.egi.eu/sw/production/umd/UMD-RPM-PGP-KEY http://apps.man.poznan.pl/qcg-packages/sl6/RPM-GPG-KEY-QCG http://download.nordugrid.org/RPM-GPG-KEY-nordugrid http://fedoraproject.org/static/0608B895.txt [root@verification-SL6 ~]# cat /etc/yum/pluginconf.d/priorities.conf [main] # added by the umd-release package check_obsoletes = 1 enabled = 1 [root@verification-SL6 ~]# yum remove umd-release Loaded plugins: priorities, security Setting up Remove Process Resolving Dependencies --> Running transaction check ---> Package umd-release.noarch 0:3.14.3-1.el6 will be erased --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================ Package Arch Version Repository Size ============================================================================================================================================================ Removing: umd-release noarch 3.14.3-1.el6 @/umd-release-3.14.3-1.el6.noarch 14 k Transaction Summary ============================================================================================================================================================ Remove 1 Package(s) Installed size: 14 k Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Erasing : umd-release-3.14.3-1.el6.noarch 1/1 Verifying : umd-release-3.14.3-1.el6.noarch 1/1 Removed: umd-release.noarch 0:3.14.3-1.el6 Complete! [root@verification-SL6 ~]# cat /etc/yum/pluginconf.d/priorities.conf [main] enabled = 1 ### Installation of a previous version: ``` [root@verification-SL6 ~]# yum localinstall umd-release-3.14.2-1.el6.noarch.rpm Loaded plugins: priorities, security Setting up Local Package Process Examining umd-release-3.14.2-1.el6.noarch.rpm: umd-release-3.14.2-1.el6.noarch Marking umd-release-3.14.2-1.el6.noarch.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package umd-release.noarch 0:3.14.2-1.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================ Package Arch Version Repository Size ============================================================================================================================================================ Installing: umd-release noarch 3.14.2-1.el6 /umd-release-3.14.2-1.el6.noarch 14 k Transaction Summary ============================================================================================================================================================ Install 1 Package(s) Total size: 14 k Installed size: 14 k Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : umd-release-3.14.2-1.el6.noarch 1/1 Verifying : umd-release-3.14.2-1.el6.noarch 1/1 Installed: umd-release.noarch 0:3.14.2-1.el6 Complete! After the installation we check the contents of the `/etc/yum.repos.d/` folder: [root@verification-SL6 ~]# ls -la /etc/yum.repos.d/ total 48 drwxr-xr-x. 2 root root 4096 Oct 28 15:23 . drwxr-xr-x. 78 root root 4096 Oct 28 15:23 .. -rw-r--r-- 1 root root 292 Jul 1 05:42 EGI-trustanchors.repo -rw-r--r-- 1 root root 292 Jul 1 05:42 EGI-trustanchors.repo.rpmnew -rw-r--r-- 1 root root 290 May 31 2012 EGI-trustanchors.repo.rpmsave -rw-r--r-- 1 root root 351 May 31 2012 epel.repo -rw-r--r-- 1 root root 1056 Nov 5 2012 epel-testing.repo -rw-r--r-- 1 root root 1632 May 31 2012 sl.repo -rw-r--r-- 1 root root 540 Jul 1 05:42 UMD-3-base.repo -rw-r--r-- 1 root root 538 Jul 1 05:42 UMD-3-testing.repo -rw-r--r-- 1 root root 541 Jul 1 05:42 UMD-3-untested.repo -rw-r--r-- 1 root root 549 Jul 1 05:42 UMD-3-updates.repo [root@verification-SL6 ~]# cat /etc/yum.repos.d/UMD-3-base.repo [UMD-3-base] name=UMD 3 base (SL6) baseurl=http://repository.egi.eu/sw/production/umd/3/sl6/$basearch/base protect=1 enabled=1 # To use priorities you must have yum-priorities installed priority=1 gpgcheck=1 gpgkey=http://emisoft.web.cern.ch/emisoft/dist/EMI/3/RPM-GPG-KEY-emi http://repo-rpm.ige-project.eu/RPM-GPG-KEY-IGE http://repository.egi.eu/sw/production/umd/UMD-RPM-PGP-KEY http://apps.man.poznan.pl/qcg-packages/sl6/RPM-GPG-KEY-QCG http://download.nordugrid.org/RPM-GPG-KEY-nordugrid http://fedoraproject.org/static/0608B895.txt We now check the contents of the `priorities.conf` file: ``` # cat /etc/yum/pluginconf.d/priorities.conf [main] # added by the umd-release package check_obsoletes = 1 enabled = 1 Everything seems ok. We now upgrade to the latest version available: ## Updating [root@verification-SL6 ~]# yum update umd-release-3.14.3-1.el6.noarch.rpm Loaded plugins: priorities, security Setting up Update Process Examining umd-release-3.14.3-1.el6.noarch.rpm: umd-release-3.14.3-1.el6.noarch Marking umd-release-3.14.3-1.el6.noarch.rpm as an update to umd-release-3.14.2-1.el6.noarch UMD-3-base | 1.9 kB 00:00 UMD-3-base/primary_db | 228 kB 00:00 UMD-3-updates | 1.9 kB 00:00 UMD-3-updates/primary_db | 1.2 MB 00:01 601 packages excluded due to repository priority protections Resolving Dependencies --> Running transaction check ---> Package umd-release.noarch 0:3.14.2-1.el6 will be updated ---> Package umd-release.noarch 0:3.14.3-1.el6 will be an update --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================ Package Arch Version Repository Size ============================================================================================================================================================ Updating: umd-release noarch 3.14.3-1.el6 /umd-release-3.14.3-1.el6.noarch 14 k Transaction Summary ============================================================================================================================================================ Upgrade 1 Package(s) Total size: 14 k Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : umd-release-3.14.3-1.el6.noarch 1/2 Cleanup : umd-release-3.14.2-1.el6.noarch 2/2 Verifying : umd-release-3.14.3-1.el6.noarch 1/2 Verifying : umd-release-3.14.2-1.el6.noarch 2/2 Updated: umd-release.noarch 0:3.14.3-1.el6 Complete! Check the contents of the `prioirities.conf` file: [root@verification-SL6 ~]# cat /etc/yum/pluginconf.d/priorities.conf [main] enabled = 1 We note that there is a problem is the `priorities.conf` file, in that the `check_obsoletes` flag has been removed. *This should not have happened.* To work around it site administrators will need to be cautious not to upgrade the file but rather to uninstall the old version and then install the latest one available from `repository.egi.eu`!