Yum issues..

Kam Leo kam.leo at gmail.com
Thu Apr 2 07:41:01 UTC 2009


On Wed, Apr 1, 2009 at 4:39 AM,  <dcooke at efn.org> wrote:
>
>
>>
>> On Tue, Mar 31, 2009 at 9:21 AM,  <dcooke at efn.org> wrote:
>>
>>>
>>> Does Yum also update the old baseurl's in /etc/yum.repos.d when
>>> you get the first new one to work?
>>>
>>> My Yum keeps looking for core 5.
>>>
>>>
>>> http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386
>>> /os/FC10/repodata/repomd.xml: [Errno 14] HTTP Error 404: Date:
>>> Tue,
>>> 31 Mar 2009 01:26:15 GMT
>>>
>>>
>>> Can someone send a recent baseurl for use?
>>>
>>>
>>>  in /etc/yum.repos.d, Here's what's listed...
>>> ]# ls
>>>
>>>
>>> adobe-linux-i386.repo     fedora-rawhide.repo
>>> fedora-updates-testing.repo dries.repo                fedora.repo
>>>          freshrpms.repo
>>> fedora-core.repo.rpmsave  fedora-updates.repo  macromedia.repo
>>>
>>> I will send you any of their contents if needed...or build
>>> something anew?
>>>
>>> Yum wants to point to dries so I copied this one found here on
>>> the list..
>>>
>>> ftp://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fe
>>> dora /i386/os/Packages/fedora-release-*noarch.rpm
>>>
>>>
>>> copied this one to a repos.d file
>>> http://download.fedora.redhat.com/pub/fedora/linux/core/10/i386/
>>> FC10/repodata/repomd.xml:
>>> [Errno 14] HTTP Error 404: Date: Tue, 31 Mar 2009 15:39:51 GMT
>>>
>>>
>>> or Cannot open/read repomd.xml file for repository: dries
>>> failure: repodata/repomd.xml from dries: [Errno 256] No more
>>> mirrors to try. Cannot open/read repomd.xml file for repository:
>>> dries  repomd.xml broken?
>>>
>>>
>>> [root at boatbuyer yum.repos.d]# yum update
>>> Options Error: Error parsing 'baseurl': URL must be http, ftp,
>>> file or https not ""  su -c yum --disablerepo=* install
>>> libX11-1.1.5-2.fc10.i386.rpm libX11-devel-1.1.5-2.fc10.i386.rpm
>>> su: unrecognized option `--disablerepo=*

[snip]

>>>
>>> I'm copying examples, don't know what I'm doing and not getting
>>> anywhere..need some..yelp.
>>>

[snip]

>>>
>>> David..
>>>
>>
>> 1. Don't use yum to install the package. Try using "rpm -Uvh
>> ftp://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedor
>> a/i386/os/Packages/fedora-release-10.1.noarch.rpm"
>>
>
> Have been trying various commands, this one is from an example here
> on the list..
>
>
> [root at boatbuyer etc]# rpm -Uhv
> ftp://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-*noarch.rpm
> Retrieving
> ftp://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-10-1.noarch.rpm
> Retrieving
> ftp://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-notes-10.0.0-1.noarch.rpm
> warning: /var/tmp/rpm-xfer.q97BGx: Header V3 DSA signature: NOKEY,
> key ID 4ebfc273
> Preparing...
> ########################################### [100%]
>        package fedora-release-notes-10.0.0-1 is already installed
>        package fedora-release-10-1 is already installed


PACKAGE FEDORA-RELEASE-10-1 IS ALREADY INSTALLED ---^



> And your suggestion..
>
> [root at boatbuyer etc]# rpm -Uvh
> ftp://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-10.1.noarch.rpm
> Retrieving
> ftp://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-10.1.noarch.rpm
> error: skipping
> ftp://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-10.1.noarch.rpm
> - transfer failed - Unknown or unexpected error

Sorry, typo on my part. Should be  fedora-release-10-1.noarch.rpm.


> Also put baseurl's into /etc/yum.repos.d/fedora.repo
> enable=1
> Is this where Yum looks? Because they don't seem to match?

Not a surprise. The url was also incorrect or not working for Fedora
9.  Go with the default, i.e. mirrorslist, or visit
http://mirrors.fedoraproject.org/publiclist, select a mirror (hope
it's a fast one) close to your location, and enter its url in place of
the fedora server.

>> 2. Using yum to upgrade versions that far a part is not
>> recommended. You are better off upgrading via a network install or
>> using a CD/DVD. However, if you go this route verify that all the
>> .repo files point to
>> F10 repositories, upgrade yum before installing any other F10
>> packages.
>>


Since you have fedora-release-10-1 installed try upgrading yum.


>>
> 1. My larger problem is that named, messagebus and nfs [FAILED] or
> don't work correctly?
>
> 2. There are many broken links, most of them within /etc? Should I
> delete them? Start over?
>
> 3. Unable to do ISO; DVD and USB are no longer readable in 'gui'?
> Not network connected.
>
> OR
>
> Can I use any of these recently downloaded files?
>
> kernel-2.6.27.5-117.fc10.src.rpm
> rpmfusion-free-stable.noarch.rpm
> xine-lib-extras-freeworld-1.1.16.2-1.fc10.i386.rpm

No.

> Would like to update by Yum but perhaps other options are
> available?
>
> Is is possible to build and implement kernel 10 overwriting the
> broken links and getting services working again? simple?
>
> Reluctant to shut down the machine...can someone help??
>
> Thanks,
> David..

Go read up on installation methods here:
http://docs.fedoraproject.org/install-guide/f10/en_US/ch-other-install-methods.html

See if the section on "Installation from a hard drive" might work for you.




More information about the fedora-list mailing list