I am trying to install a package using a YUM repository I have set up on my local server but I am getting the error
root@lab4#>yum install xorg-x11-apps
Loaded plugins: refresh-packagekit, security
Setting up Install Process
No package xorg-x11-apps available.
Error: Nothing to do
root@lab4#>yum search xorg-x11-apps
Loaded plugins: refresh-packagekit, security
Warning: No matches found for: xorg-x11-apps
No Matches found
My /etc/yum.repos.d/oracle.repo is quite simple
[ol6_u5_base]
name=Oracle Linux Update 5 installation media copy
baseurl=file:/home/media/Linux6-5/Server/
enabled=0
gpgcheck=0
Q1. Is my choice of name oracle.repos ok ?
/home/media/Linux6-5/Server
shows
root@lab4#>ls -l
total 152
-rw-r–r–. 1 root root 139151 Mar 12 14:21 listing
drwxr-xr-x. 2 root root 4096 Mar 12 14:21 oracle_updated
-rw-r–r–. 1 root root 0 Mar 12 14:21 Packages
drwxr-xr-x. 2 root root 4096 Mar 14 10:59 repodata
-rw-r–r–. 1 root root 897 Mar 12 14:21 TRANS.TBL
Q2. Why is Packages 0 bytes ?
/home/media/Linux6-5/Server/repodata
shows
-rw-r–r–. 1 root root 934231 Mar 12 14:21 3c92e7d016322254443f13b51f48e80e214a434bc3d372f1028f595978d6c504-other.xml
-rw-r–r–. 1 root root 3443218 Mar 12 14:21 48dc1d543ec8948e2e0775e4f43cc4155f9cd55f8188bf32a7d9e4b714e5043f-filelists.sqlite.bz2
-rw-r–r–. 1 root root 1435622 Mar 12 14:21 4b6bbf8157c14dfc298b8cce0a0e5d8878cb52e5ebc225c7dc8a778dee36b220-primary.xml.gz
-rw-r–r–. 1 root root 3321769 Mar 12 14:21 64f872fde7eaabb84baee6b612457836cdce6f91b1e4664212f5a00832ce1486-filelists.xml.gz
-rw-r–r–. 1 root root 3141379 Mar 12 14:21 8a5154448bb61d3535bd6b228a86cfaf6de1325142097ebcbbbbef53a87e2135-primary.sqlite.bz2
-rw-r–r–. 1 root root 1335926 Mar 12 14:21 928e89f2310cd8b00998369d9346c8729ba84e2d883180337fbaad349aabbf73-other.sqlite.bz2
-rw-r–r–. 1 root root 207533 Mar 12 14:21 a5ab978abd30c319056028e220545fe6e78dd179d1370331231ba8e240ee9d56-comps-rhel6-Server.xml.gz
-rw-r–r–. 1 root root 1127970 Mar 12 14:21 d085c284f2a5e5563820cd60b552a5cecef09e2ee7337e030c8a2a2252e4d929-comps-rhel6-Server.xml
-rw-r–r–. 1 root root 3825 Mar 12 14:21 repomd.xml
-rw-r–r–. 1 root root 2581 Mar 12 14:21 TRANS.TBL
/home/media/Linux6-5/Packages
holds all the packages from the distribution media, including the one I am trying to load
-rw-r–r–. 1 root root 282496 Mar 12 14:21 xorg-x11-apps-7.6-6.el6.x86_64.rpm
Any ideas on this problem would be greatly appreciated,
Jim