Yum

Darren Foster darren at darrenfoster.co.uk
Tue Oct 31 00:47:38 UTC 2006


On Mon, 2006-10-30 at 19:37 -0500, William Hooper wrote:
> Craig White wrote:
> >>> I'm not convinced that this is actually a fedora install.
> >>>
> >>>
> >>> You can replace this by simply (as root)
> >>>
> >>>
> >>> echo "Fedora Core release 5 (Bordeaux)" > /etc/fedora-release ln -s
> >>> /etc/fedora-release /etc/redhat-release
> >>>
> >>>
> >>> but first, let's confirm that this is fedora core 5 install
> >>>
> >>> Craig
> >>>
> >>>
> >>
> >> root at localhost ~]# uname -a Linux localhost.localdomain
> >> 2.6.18-1.2200.fc5 #1 Sat Oct 14 16:59:26 EDT
> >> 2006 i686 athlon i386 GNU/Linux
> >>
> >>
> >> And I've done the below.
> >>
> >>
> >> [root at localhost ~]# echo "Fedora Core release 5 (Bordeaux)"
> >>
> >>> /etc/fedora-release
> >>>
> >> [root at localhost ~]# ln -s /etc/fedora-release /etc/redhat-release
> >>
> >>
> >> Has this made it any clearer to you, because I'm a little lost now.
> >>
> > ----
> > OK - yum should work now
> 
> For the record, this didn't make yum work because yum doesn't look at the
> contents (or existence) of the fedora-release file.  Instead, it looks at
> the RPM db for the version of the package fedora-release (or whatever
> "distroverpkg" is set for).
> 
> -- 
> William Hooper
> 

For the Record... if you continued to see the further posts you will
have noticed it was resolved with the below command.

rpm -ivh --force
ftp://ftp.net.usf.edu/pub/fedora/linux/core/5/i386//os/Fedora/RPMS/fedora-release-5-5.noarch.rpm

(I don't generally like the 'force' option but in this case, it should
be ok)

Courtesy of Craig :-) 




More information about the fedora-list mailing list