[NTLUG:Discuss] What designates what version you're running?
Wayne Dahl
w.dahl4 at verizon.net
Sat Feb 12 13:12:33 CST 2005
I had problems with this upgrade...find my input below...
On Sat, 2005-02-05 at 20:41, Paul Ingendorf wrote:
> YMMV on this but here goes I decided now was a good time to upgrade a box I
> am running here to fc3 using the following steps I took from
> http://www.linux.duke.edu/~skvidal/misc/fc2-fc3-update-with-yum.txt I have
> annotated the areas that did not work and put in the extra commands I needed
> to do in order to make it work.
>
> from http://www.linux.duke.edu/~skvidal/misc/fc2-fc3-update-with-yum.txt
> BACKUP YOUR DATA
>
> - run rpm -q kernel kernel-smp
> compare the results to the kernel you are running (uname -r).
> run 'rpm -e' for each of the kernels that you are not using
> ex:
> rpm -e kernel-2.6.5-1.358 kernel-smp-2.6.5-1.358
>
> This will make things a lot easier on you, trust me, and it frees up a
> HUGE
> amount of disk space.
>
> - clean up your yum dirs:
> yum clean all
>
> - download yum from the fedora core 3 tree and update it:
> rpm -Uvh yum-2.1.11-3.noarch.rpm
>
> - download fedora-release from the fedora core 3 tree and update it:
> rpm -Uvh fedora-release-3-8.i386.rpm
Everything worked great up to this point with the exception that when I
attempted to update fedora-release, I got a complaint that it conflicted
with up2date, so I downloaded the FC3 up2date and up2date-gnome,
upgraded them with rpm, then did the rpm upgrade of fedora-release.
> [pauldy]
> mv /etc/yum.conf /etc/yum.conf-old
> mv /etc/yum.conf.rpmnew /etc/yum.conf
> [/pauldy]
At this next step...I get this error...
> - run a yum list updates to get the metadata and make sure everything is
> working:
> yum list updates
> you should see a lot of packages from that output.
[root at tuxie New]# yum list updates
Traceback (most recent call last):
File "/usr/bin/yum", line 6, in ?
import yummain
File "/usr/share/yum-cli/yummain.py", line 23, in ?
import yum
ImportError: No module named yum
> [pauldy]
> rpm --import /usr/share/doc/fedora-release-3/RPM-GPG-KEY
> rpm --import /usr/share/doc/fedora-release-3/RPM-GPG-KEY-fedora
> [/pauldy]
I went ahead and did this step since I didn't see how it could hurt
anything, but I haven't gone any further than the last step. Any ideas
why I would get those errors? Especially the last one..ImportError: No
module named yum ?
> - Now you're ready to run the update:
> yum upgrade
>
> - Let yum do it's thing (confirming when prompted, of course).
>
> - For gnome users you will want to run:
> yum groupupdate "GNOME Desktop Environment"
> to get the latest set of packages for GNOME.
>
> - Then reboot your system and make sure you select the new kernel as the
> default.
>
> [pauldy]
> After all this I had to reconfigure a lot of files about 5 hours. What I
> did was go through and see which ones had rpmsave instead of rpmnew I then
> checked out the differences in each of these files and incorporated them
> together doing the same for rpmnew afterwards.
> [/pauldy]
>
>
>
More information about the Discuss
mailing list