On Mon, 25 Aug 2003 13:32:10 +0200 "Mohan, Raj" <[EMAIL PROTECTED]> wrote:
> > Hello, > > I have a RedHat 6.2 installation that I would like to upgrade with the > RedHat 8.0 system libraries (glibc etc.). I tried the following steps: > > o Saved the existing RedHat 6.2 /bin, /sbin. /lib to the following > directories respectively: > /RH62/bin, > /RH62/sbin. > /usr/i486-linux-libc5 > > o Changed the symbolic links in /lib to point to /usr/i486-linux-libc5. > o Copied over the RedHat 8.0 /bin, /sbin and /lib on to my RedHat 6.2 > machine. > o Tested the commands from /RH62/bin. They work. > o Created new links in /lib to point to the new RedHat 8.0 libraries. > o Executed ldconfig. > o Now when I try any of the commands from /bin I get the error "ILLEGAL > INSTRUCTION". > o I cannot recover back my system anymore. > > Questions: > 1. What am I doing wrong ? > 2. Is it possible to update system libraries this way ? > 3. The RedHat 6.2 machine is remotely located and can only be updated via > a server machine due to security considerations. > > > I could create a custom kernel on my RedHat 8.0 machine and install it on > the RedHat 6.2 machine. This works without any problem. > > Since I have the RedHat 8.0 kernel on my RedHat 6.2 machine now, I would > also like to upgrade the libraries to RedHat 8.0 > Hi Raj, On a Redhat system, it's best to let rpm do the upgrade for you with the -U option. Now, no commands will work on your system because they were linked against the old libraries and can no longer find them. You'll need to boot from the CDROM and restore the old libraries. Actually, if you have a working NFS or SAMBA mount you can restore your libraries that way too. Once you've fixed your system, try upgrading with the rpm command. Good luck, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list