home

 

Public Yum Server -http://public-yum.oracle.com/

# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-el5.repo

basic yum commands

 

oracle-validated

ULN Steps for Linux 5.5:

#up2date --register channel:ol5_x86_64_latest

#up2date --nox --show-channels

#up2date --nox --install oracle-validated

Make sure the Linux firewall is turned off

 

Get A Package

# up2date --get <package>-<version>-<release>[.<arch>]

For example:

# up2date --get kernel-devel-2.6.18-164.2.1.0.1.el5.x86_64

This downloads the rpm to /var/spool/up2date

Note that up2date stores package metadata in /var/spool/up2date where you can search for specific package versions, for example el5_x86_64_latest-all.* 

 

To get the extra packages from here

http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux/


 

 

 

 

ULN

Steps for Linux 5.5: 
#up2date --register
channel:ol5_x86_64_latest

#up2date --nox --show-channels
#up2date --nox --install oracle-validated

To register the box on ULN login to the Linux box and either use the gui for Unbreakable Linux Network or the command line below.

Then run oracle-validated to update the packages you need for the database installation.


#up2date --register 

follow the prompts 

then after it's registered did the following:

[root@r410i scripts]# up2date --nox --show-channels
ol5_i386_latest
ol5_x86_64_latest

#up2date --nox --install oracle-validated

There was a package dependency problem. The message was:

Unresolvable chain of dependencies:
glibc-headers 2.5-58 requires kernel-headers
glibc-headers-2.5-58 requires kernel-headers >= 2.2.1
oracle-validated 1.0.0-24.el5 requires kernel-headers
oracle-validated-1.1.0-7.el5 requires kernel-uek >= 2.6.32
oracle-validated 1.1.0-7.el5 requires kernel-uek-headers
python-libs-2.4.3-43.el5 conflicts with python < 2.4.3-32.el5

so I ran

"up2date --configure" and 
select option "pkgSkipList" (typically this is option 19). 
Follow the instructions to clear the list and save the changes
Then I ran up2date oracle-validated again:


[root@r410i scripts]# up2date --nox --show-channels
el5_i386_latest
el5_x86_64_latest


#up2date --nox --install oracle-validated



Unresolvable chain of dependencies:
python-libs-2.4.3-43.el5 conflicts with python < 2.4.3-32.el5

Removed the channel el5_i386_latest


[root@r410i scripts]# up2date --nox --show-channels
ol5_x86_64_latest

up2date --nox --install oracle-validated

The following packages were added to your selection to satisfy dependencies:

Name Version Release
--------------------------------------------------------------
compat-db 4.2.52 5.1
compat-gcc-34 3.4.6 4.1
compat-gcc-34-c++ 3.4.6 4.1
cpp 4.1.2 50.el5
device-mapper-multipath 0.4.9 23.0.8.el5
device-mapper-multipath-libs 0.4.9 23.0.8.el5
elfutils-libelf-devel 0.137 3.el5
elfutils-libelf-devel-static 0.137 3.el5
gcc 4.1.2 50.el5
gcc-c++ 4.1.2 50.el5
gdb 7.0.1 32.el5
glibc 2.5 58
glibc 2.5 58
glibc-common 2.5 58
glibc-devel 2.5 58
glibc-devel 2.5 58
glibc-headers 2.5 58
irqbalance 0.55 16.el5
iscsi-initiator-utils 6.2.0.872 6.0.2.el5
kernel-uek 2.6.32 100.26.2.el5
kernel-uek-firmware 2.6.32 100.26.2.el5
kernel-uek-headers 2.6.32 100.26.2.el5
kexec-tools 1.102pre 126.0.1.el5_6.4
kpartx 0.4.9 23.0.8.el5
libaio-devel 0.3.106 5
libaio-devel 0.3.106 5
libgcc 4.1.2 50.el5
libgcc 4.1.2 50.el5
libgomp 4.4.4 13.el5
libstdc++ 4.1.2 50.el5
libstdc++ 4.1.2 50.el5
libstdc++-devel 4.1.2 50.el5
mkinitrd 5.1.19.6 68.0.1.el5
mkinitrd 5.1.19.6 68.0.1.el5
nash 5.1.19.6 68.0.1.el5
oraclelinux-release 5 6.0.1
python 2.4.3 43.el5
python-libs 2.4.3 43.el5
ql2xxx-firmware 1.01.01 0.2.el5
sysstat 7.0.2 3.el5_5.1
unixODBC 2.2.11 7.1
unixODBC 2.2.11 7.1
unixODBC-devel 2.2.11 7.1
unixODBC-devel 2.2.11 7.1
util-linux 2.13 0.56.0.2.el5
libbdevid-python 5.1.19.6 68.0.1.el5
nscd 2.5 58

 

Run "up2date --configure" and select option "pkgSkipList" (typically this is option 19). Follow the instructions to clear the list and save the changes

Install kernel - I did this when I registered my server. It gave me the option to install it then. When i did the command below it said it was already installed.

1.mount Oracle Enterprise Linux 5.3 CD 1 or DVD
2.copy the rpms from <mount_point>/Server/oracle_updated to your system
3.install the required kernel using the rpm command, e.g:

# rpm -ihv kernel-2.6.18-128.0.0.0.1.el5.x86_64.rpm





i turned off the Firewall and the packages installed

Up2Date Output

[root@vicr410 software]# ./up2dateOracle

Fetching Obsoletes list for channel: el5_x86_64_addons...

Fetching Obsoletes list for channel: el5_x86_64_latest...
########################################

Fetching Obsoletes list for channel: ol5_x86_64_latest...

Fetching Obsoletes list for channel: el5_x86_64_oracle...
########################################

Fetching rpm headers...
########################################

Name Version Rel
----------------------------------------------------------
oracle-validated 1.1.0 6.el5 x86_64

Testing package set / solving RPM inter-dependencies...
There was a package dependency problem. The message was:

Unresolvable chain of dependencies:
glibc-headers 2.5-49.el5_5.7 requires kernel-headers
glibc-headers-2.5-49.el5_5.7 requires kernel-headers >= 2.2.1
oracle-validated 1.1.0-6.el5 requires kernel-headers

The following packages were added to your selection to satisfy dependencies:
Package Required by
----------------------------------------------------------------------------
elfutils-libelf-devel-0.137-3.el5.x86_64oracle-validated-1.1.0-6.el5 elfutils-libelf-devel
gcc-4.1.2-48.el5.x86_64 oracle-validated-1.1.0-6.el5 gcc
gcc-c++-4.1.2-48.el5.x86_64 oracle-validated-1.1.0-6.el5 gcc-c++
libaio-devel-0.3.106-5.x86_64 oracle-validated-1.1.0-6.el5 libaio-devel
libgomp-4.4.0-6.el5.x86_64 gcc-4.1.2-48.el5 libgomp
unixODBC-devel-2.2.11-7.1.x86_64 oracle-validated-1.1.0-6.el5 unixODBC-devel

./up2dateOracle: line 3: Testing: command not found
./up2dateOracle: line 4: There: command not found
./up2dateOracle: line 6: Unresolvable: command not found
./up2dateOracle: line 7: glibc-headers: command not found
./up2dateOracle: line 8: glibc-headers-2.5-49.el5_5.7: command not found
./up2dateOracle: line 9: oracle-validated-1.1.0-6.el5: command not found
./up2dateOracle: line 10: oracle-validated: command not found
./up2dateOracle: line 13: The: command not found
./up2dateOracle: line 15: Package: command not found
./up2dateOracle: line 16: ----------------------------------------------------------------------------: command not found
./up2dateOracle: line 17: elfutils-libelf-devel-0.137-3.el5.x86_64oracle-validated-1.1.0-6.el5: command not found
./up2dateOracle: line 18: gcc-4.1.2-48.el5.x86_64: command not found
./up2dateOracle: line 19: gcc-c++-4.1.2-48.el5.x86_64: command not found
./up2dateOracle: line 20: glibc-2.5-49.el5_5.7.i686: command not found
./up2dateOracle: line 21: glibc-2.5-49.el5_5.7.i686: command not found

Fetching Obsoletes list for channel: el5_x86_64_addons...

Fetching Obsoletes list for channel: el5_x86_64_latest...

Fetching Obsoletes list for channel: ol5_x86_64_latest...

Fetching Obsoletes list for channel: el5_x86_64_oracle...

Fetching rpm headers...
########################################

Name Version Rel
----------------------------------------------------------
oracle-validated 1.1.0 6.el5 x86_64

Testing package set / solving RPM inter-dependencies...
There was a package dependency problem. The message was:

Unresolvable chain of dependencies:
glibc-headers 2.5-49.el5_5.7 requires kernel-headers
glibc-headers-2.5-49.el5_5.7 requires kernel-headers >= 2.2.1
oracle-validated 1.1.0-6.el5 requires kernel-headers


The following packages were added to your selection to satisfy dependencies:
Package Required by
----------------------------------------------------------------------------
elfutils-libelf-devel-0.137-3.el5.x86_64oracle-validated-1.1.0-6.el5 elfutils-libelf-devel
gcc-4.1.2-48.el5.x86_64 oracle-validated-1.1.0-6.el5 gcc
gcc-c++-4.1.2-48.el5.x86_64 oracle-validated-1.1.0-6.el5 gcc-c++
libaio-devel-0.3.106-5.x86_64 oracle-validated-1.1.0-6.el5 libaio-devel
libgomp-4.4.0-6.el5.x86_64 gcc-4.1.2-48.el5 libgomp
unixODBC-devel-2.2.11-7.1.x86_64 oracle-validated-1.1.0-6.el5 unixODBC-devel

oracle-valdate

[root@r410 R12]# up2date --nox --update oracle-validated

Fetching Obsoletes list for channel: ol5_x86_64_latest...

Fetching rpm headers...
########################################

Name Version Rel
----------------------------------------------------------
oracle-validated 1.1.0 10.el5 x86_64

Testing package set / solving RPM inter-dependencies...
########################################
compat-db-4.2.52-5.1.x86_64 ########################## Done.
compat-gcc-34-3.4.6-4.1.x86 ########################## Done.
compat-gcc-34-c++-3.4.6-4.1 ########################## Done.
cpp-4.1.2-50.el5.x86_64.rpm ########################## Done.
device-mapper-multipath-0.4 ########################## Done.
device-mapper-multipath-lib ########################## Done.
elfutils-libelf-devel-0.137 ########################## Done.
elfutils-libelf-devel-stati ########################## Done.
gcc-4.1.2-50.el5.x86_64.rpm ########################## Done.
gcc-c++-4.1.2-50.el5.x86_64 ########################## Done.
gdb-7.0.1-32.el5_6.2.x86_64 ########################## Done.
glibc-2.5-58.el5_6.3.i686.r ########################## Done.
glibc-2.5-58.el5_6.3.x86_64 ########################## Done.
glibc-common-2.5-58.el5_6.3 ########################## Done.
glibc-devel-2.5-58.el5_6.3. ########################## Done.
glibc-devel-2.5-58.el5_6.3. ########################## Done.
glibc-headers-2.5-58.el5_6. ########################## Done.
irqbalance-0.55-16.el5.x86_ ########################## Done.
iscsi-initiator-utils-6.2.0 ########################## Done.
kernel-uek-2.6.32-100.36.1. ########################## Done.
kernel-uek-firmware-2.6.32- ########################## Done.
kexec-tools-1.102pre-126.0. ########################## Done.
kpartx-0.4.9-23.0.8.el5.x86 ########################## Done.
libXp-1.0.0-8.1.el5.i386.rp ########################## Done.
libaio-devel-0.3.106-5.i386 ########################## Done.
libaio-devel-0.3.106-5.x86_ ########################## Done.
libgcc-4.1.2-50.el5.i386.rp ########################## Done.
libgcc-4.1.2-50.el5.x86_64. ########################## Done.
libgomp-4.4.4-13.el5.x86_64 ########################## Done.
libstdc++-4.1.2-50.el5.i386 ########################## Done.
libstdc++-4.1.2-50.el5.x86_ ########################## Done.
libstdc++-devel-4.1.2-50.el ########################## Done.
mkinitrd-5.1.19.6-68.0.2.el ########################## Done.
mkinitrd-5.1.19.6-68.0.2.el ########################## Done.
nash-5.1.19.6-68.0.2.el5_6. ########################## Done.
oracle-validated-1.1.0-10.e ########################## Done.
oraclelinux-release-5-6.0.1 ########################## Done.
ql2xxx-firmware-1.01.01-0.2 ########################## Done.
sysstat-7.0.2-3.el5_5.1.x86 ########################## Done.
unixODBC-2.2.11-7.1.i386.rp ########################## Done.
unixODBC-2.2.11-7.1.x86_64. ########################## Done.
unixODBC-devel-2.2.11-7.1.i ########################## Done.
unixODBC-devel-2.2.11-7.1.x ########################## Done.
util-linux-2.13-0.56.0.2.el ########################## Done.
libbdevid-python-5.1.19.6-6 ########################## Done.
nscd-2.5-58.el5_6.3.x86_64. ########################## Done.
Preparing ########################################### [100%]

Installing...
1:glibc-common ########################################### [100%]
2:oraclelinux-release ########################################### [100%]
3:nash ########################################### [100%]
4:ql2xxx-firmware ########################################### [100%]
5:libaio-devel ########################################### [100%]
6:libaio-devel ########################################### [100%]
7:kernel-uek-firmware ########################################### [100%]
8:libgcc ########################################### [100%]
9:libgcc ########################################### [100%]
10:glibc ########################################### [100%]
11:kpartx ########################################### [100%]
12:util-linux ########################################### [100%]
13:iscsi-initiator-utils ########################################### [100%]
14:cpp ########################################### [100%]
15:gdb ########################################### [100%]
16:irqbalance ########################################### [100%]
17:kexec-tools ########################################### [100%]
18:libgomp ########################################### [100%]
19:sysstat ########################################### [100%]
20:nscd ########################################### [100%]
21:glibc ########################################### [100%]
22:libstdc++ ########################################### [100%]
23:unixODBC ########################################### [100%]
24:libstdc++ ########################################### [100%]
25:unixODBC ########################################### [100%]
26:compat-db ########################################### [100%]
27:device-mapper-multipath########################################### [100%]
28:device-mapper-multipath########################################### [100%]
29:mkinitrd ########################################### [100%]
30:mkinitrd ########################################### [100%]
31:libXp ########################################### [100%]
32:libbdevid-python ########################################### [100%]
33:glibc-headers ########################################### [100%]
34:glibc-devel ########################################### [100%]
35:compat-gcc-34 ########################################### [100%]
36:libstdc++-devel ########################################### [100%]
37:glibc-devel ########################################### [100%]
38:kernel-uek ########################################### [100%]
Modulefile is /etc/modprobe.conf
WARNING: No module ehci-hcd found for kernel 2.6.32-100.36.1.el5uek, continuing anyway
39:unixODBC-devel ########################################### [100%]
40:unixODBC-devel ########################################### [100%]
41:gcc ########################################### [100%]
42:gcc-c++ ########################################### [100%]
43:compat-gcc-34-c++ ########################################### [100%]
44:elfutils-libelf-devel ########################################### [100%]
45:elfutils-libelf-devel-s########################################### [100%]
46:oracle-validated ########################################### [100%]
Attempting to restore /etc/multipath.conf from backup
No backup copy available, please create a multipath.conf
The following packages were added to your selection to satisfy dependencies:

Name Version Release
--------------------------------------------------------------
compat-db 4.2.52 5.1
compat-gcc-34 3.4.6 4.1
compat-gcc-34-c++ 3.4.6 4.1
cpp 4.1.2 50.el5
device-mapper-multipath 0.4.9 23.0.8.el5
device-mapper-multipath-libs 0.4.9 23.0.8.el5
elfutils-libelf-devel 0.137 3.el5
elfutils-libelf-devel-static 0.137 3.el5
gcc 4.1.2 50.el5
gcc-c++ 4.1.2 50.el5
gdb 7.0.1 32.el5_6.2
glibc 2.5 58.el5_6.3
glibc 2.5 58.el5_6.3
glibc-common 2.5 58.el5_6.3
glibc-devel 2.5 58.el5_6.3
glibc-devel 2.5 58.el5_6.3
glibc-headers 2.5 58.el5_6.3
irqbalance 0.55 16.el5
iscsi-initiator-utils 6.2.0.872 6.0.2.el5
kernel-uek 2.6.32 100.36.1.el5uek
kernel-uek-firmware 2.6.32 100.36.1.el5uek
kexec-tools 1.102pre 126.0.1.el5_6.6
kpartx 0.4.9 23.0.8.el5
libXp 1.0.0 8.1.el5
libaio-devel 0.3.106 5
libaio-devel 0.3.106 5
libgcc 4.1.2 50.el5
libgcc 4.1.2 50.el5
libgomp 4.4.4 13.el5
libstdc++ 4.1.2 50.el5
libstdc++ 4.1.2 50.el5
libstdc++-devel 4.1.2 50.el5
mkinitrd 5.1.19.6 68.0.2.el5_6.1
mkinitrd 5.1.19.6 68.0.2.el5_6.1
nash 5.1.19.6 68.0.2.el5_6.1
oraclelinux-release 5 6.0.1
ql2xxx-firmware 1.01.01 0.2.el5
sysstat 7.0.2 3.el5_5.1
unixODBC 2.2.11 7.1
unixODBC 2.2.11 7.1
unixODBC-devel 2.2.11 7.1
unixODBC-devel 2.2.11 7.1
util-linux 2.13 0.56.0.2.el5
libbdevid-python 5.1.19.6 68.0.2.el5_6.1
nscd 2.5 58.el5_6.3