Update RedHat 9

Amit Bapat amitbapat at verizon.net
Tue Nov 4 05:31:54 UTC 2003


Thanks Ben for your step by step guide to update from redhat 9 to fedora 
core 1.
I followed your directions and have successfully updated.
The only thing you didn't get was the 'rpm --import' problem
What you need to do is:

rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora

and 'rpm' will be happy!

Regards,
amit

Ben Russo wrote:

> Ben Russo wrote:
>
>> Jeff Allison wrote:
>>
>>> Antonio Montagnani wrote:
>>>
>>>> Ben Russo wrote:
>>>>
>>>>> Nowhereman wrote:
>>>>>
>>>>>
>>>>> I essentially did it by adding the RedHat rawhide channel to a 
>>>>> RedHat 9 box,
>>>>> eventually the redhat-release package got updated and my universe 
>>>>> suddenly
>>>>> transformed from REDHAT to FEDORA.
>>>>>
>>>>> Ben
>>>>
>>>>
>>>>
>>>> How did you go through procedure?? please will you post 
>>>> step-by-step instructions??
>>>>
>>>> Tnx
>>>>
>>>> Antonio
>>>>
>>> Or at least some hints
>>>
>>> Jeff
>>
>>
>>
>>
>> Well, it is a little diffferent now then it was when I did it several 
>> weeks ago
>> because the packages have changed and the redhat ftp site paths have 
>> changed.
>>
>> But, I have an RH9 box here, so what the heck....
>>
>> wget 
>> http://ftp.redhat.com/pub/redhat/linux/rawhide/i386/Fedora/RPMS/fedora-release-1-1.i386.rpm 
>>
>> rpm -Uvh fedora-release-1-1.i386.rpm
>> [root at loon root]# rpm -qa | grep release
>> fedora-release-1-1
>>                   ################## NOTE, "redhat-release" isn't 
>> there any more.
>>
>>
>> [root at loon root]# wget 
>> http://ftp.redhat.com/pub/redhat/linux/rawhide/i386/Fedora/RPMS/up2date-4.1.14-2.i386.rpm 
>>
>> [root at loon root]# wget 
>> http://ftp.redhat.com/pub/redhat/linux/rawhide/i386/Fedora/RPMS/rhnlib-1.4-1.noarch.rpm 
>>
>> [root at loon root]# rpm -Uvh rhnlib-1.4-1.noarch.rpm 
>> up2date-4.1.14-2.i386.rpm
>> [root at loon root]# rpm --import /usr/share/rhn/RPM-GPG-KEY
>>
>>                    I don't know if you will have to re-do this on 
>> your machine, but I had to do it on mine...
>>    rhnreg_ks --force --username=MYRHNID --profilename=Bens-Home-WS  
>> --password=RHNPASS --useNoSSLForPackages --email=ben at e-mail.domain.com
>>
>> [root at loon root]# wget 
>> http://ftp.redhat.com/pub/redhat/linux/rawhide/i386/Fedora/RPMS/rpm-build-4.2.1-0.30.i386.rpm 
>>
>> [root at loon root]# wget 
>> http://ftp.redhat.com/pub/redhat/linux/rawhide/i386/Fedora/RPMS/rpm-devel-4.2.1-0.30.i386.rpm 
>>
>> [root at loon root]# wget 
>> http://ftp.redhat.com/pub/redhat/linux/rawhide/i386/Fedora/RPMS/rpm-python-4.2.1-0.30.i386.rpm 
>>
>> [root at loon root]# wget 
>> http://ftp.redhat.com/pub/redhat/linux/rawhide/i386/Fedora/RPMS/beecrypt-3.0.1-0.20030630.1.i386.rpm 
>>
>> [root at loon root]# wget 
>> http://ftp.redhat.com/pub/redhat/linux/rawhide/i386/Fedora/RPMS/popt-1.8.1-0.30.i386.rpm 
>>
>> [root at loon root]# rpm -Uvh rpm-4.2.1-0.30.i386.rpm 
>> rpm-build-4.2.1-0.30.i386.rpm rpm-devel-4.2.1-0.30.i386.rpm 
>> rpm-python-4.2.1-0.30.i386.rpm beecrypt-3.0.1-0.20030630.1.i386.rpm 
>> popt-1.8.1-0.30.i386.rpm
>>
>>
>> No matter what I did up2date said I had to rpm --import 
>> /usr/share/rhn/RPM-GPG-KEY
>> I also did /usr/bin/gpg --import /usr/share/rhn/RPM-GPG-KEY
>> That didn't completely solve the problem.
>> first,  edited /etc/sysconfig/rhn/up2date  and set usegpg=0
>>    even on clean installs of Fedora I have found that the up2date 
>> processes
>>    seem to have lot's of problems with package signatures.
>> and I also set the     gpgKeyRing=/root/.gnupg/pubring.gpg
>>
>> Then I went to init 3, shutdown xfs, xinetd, portmap, sendmail, gpm, 
>> syslog...
>> basically everything that isn't necessary for up2date.
>>
>> Then I ran "up2date -u"
>>
>> [root at loon root]# up2date -u
>>
>> Fetching package list for channel: fedora-core-1...
>>
>> Fetching 
>> http://fedora.redhat.com/releases/fedora-core-1/headers/header.info...
>> ########################################
>>
>> Fetching package list for channel: updates-released...
>>
>> Fetching 
>> http://fedora.redhat.com/updates/released/fedora-core-1/headers/header.
>> info...
>> ########################################
>>
>> Fetching Obsoletes list for channel: fedora-core-1...
>>
>> Fetching Obsoletes list for channel: updates-released...
>>
>> Fetching rpm headers...
>> ########################################
>>
>> ....
>> ((((  and it went on and on for HOURS )))).
>>
>
>
>
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> http://www.redhat.com/mailman/listinfo/fedora-list
>






More information about the fedora-list mailing list