Red Hat General - FC2 -> FC3 yum Problems

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat General > May 2005 > FC2 -> FC3 yum Problems





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author FC2 -> FC3 yum Problems
Danny M.

2005-05-22, 5:49 pm

Hi,

I'm trying to upgrade from FC 2 to 3 using these instructions:
http://www.brandonhutchinson.com/Up...x_with_yum.html . I
have done everything it says up to part 4. When I type "yum" anything, it
gives me:

Code:
root@tagging [~]# yum
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
Warning: No module named yum

Any help or ideas will be greatly appretiated! Thanks!

yum works fine when I revert to FC 2 yum and fedora-release rpms


Paul

2005-05-23, 2:48 am

Danny M. wrote:
> Hi,
>
> I'm trying to upgrade from FC 2 to 3 using these instructions:
> http://www.brandonhutchinson.com/Up...x_with_yum.html . I
> have done everything it says up to part 4. When I type "yum" anything, it
> gives me:
>
> Code:
> root@tagging [~]# yum
> 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
> Warning: No module named yum
>
> Any help or ideas will be greatly appretiated! Thanks!
>
> yum works fine when I revert to FC 2 yum and fedora-release rpms
>
>

Is yum installed in FC3 - this usually happens if the yum is not
installed or it has some missing files ( yummain.py - I deleted these
files once and got this answer ).

Install the yum RPM under FC3 this might help ??
Danny M.

2005-05-23, 5:59 pm

"Paul" <none@none> wrote in message
news:42915400$0$10302$afc38c87@news.optusnet.com.au...
> Danny M. wrote:
> Is yum installed in FC3 - this usually happens if the yum is not installed
> or it has some missing files ( yummain.py - I deleted these files once and
> got this answer ).
>
> Install the yum RPM under FC3 this might help ??


I'm using FC2, not FC3. I'm trying to upgrade to FC3.



Paul

2005-05-24, 8:37 am

Danny M. wrote:
> "Paul" <none@none> wrote in message
> news:42915400$0$10302$afc38c87@news.optusnet.com.au...
>
>
>
> I'm using FC2, not FC3. I'm trying to upgrade to FC3.
>
>
>

OK !! Same answer reinstall yum on FC2.

I tried to find the yummain.py file and just load that but found it
easier to just re-install the whole RPM.

Can you "locate yummain.py" ??? On FC3 its in "/usr/share/yum" - not
sure about the "yum-cli" - have a look at "/etc/yum.conf".

What exactly do you mean by "yum works fine when I revert to FC 2 yum
and fedora-release rpms" ??


Tommy Reynolds

2005-05-24, 6:04 pm

On Sun, 22 May 2005 23:10:01 +0000, Danny M. wrote:

> Any help or ideas will be greatly appretiated! Thanks!


I recommend against upgrading this way. Some folk have gotten it to work,
others have not, but it's always a shaky process.

In theory, it should be doable but sometimes RPM packages don't
properly indicate their dependencies or don't recognize the
"obsoleted" packages (package "foo" is now called "bar").

Just my $2e-02

Cheers

Danny M.

2005-05-25, 6:02 pm

"Danny M." <yo@momma.com> wrote in message
news:dj8ke.5960$uR4.1981@newsread2.news.atl.earthlink.net...
> Hi,
>
> I'm trying to upgrade from FC 2 to 3 using these instructions:
> http://www.brandonhutchinson.com/Up...x_with_yum.html . I
> have done everything it says up to part 4. When I type "yum" anything, it
> gives me:
>
> Code:
> root@tagging [~]# yum
> 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
> Warning: No module named yum
>
> Any help or ideas will be greatly appretiated! Thanks!
>
> yum works fine when I revert to FC 2 yum and fedora-release rpms
>


This may explain it better:
http://www.neowin.net/forum/index.php?showtopic=323742


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com