LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't update with yum or up2date. (https://www.linuxquestions.org/questions/linux-newbie-8/cant-update-with-yum-or-up2date-334296/)

peterxparker 06-16-2005 02:28 PM

Can't update with yum or up2date.
 
I've been using Fedora Core 3 for 2 or 3 days now. This is my first linux install. I'm having problems getting yum to work with updating and getting new packages. It doesn't matter what repos I use in yum.conf. I always get the same thing when running yum.

Code:

# yum update
Setting up Update Process
Setting up repositories
development              100% |=========================| 1.1 kB    00:00
htp://rpm.livna.org/fedora/3.92/i386/RPMS.stable/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Thu, 16 Jun 2005 19:23:28 GMT
Server: Apache/2.0.51 (Fedora)
Content-Length: 327
Connection: close
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
Cannot open/read repomd.xml file for repository: livna-stable
failure: repodata/repomd.xml from livna-stable: [Errno 256] No more mirrors to try.

I've done some research that makes it sound like it might be because of a proxy. I don't know anything about proxy's or how to fix the problem and would appreciate some help. It's hard being a noob and not even being able to install packages.

dinolinux 06-16-2005 03:22 PM

Hi!

Why don't you update to the newly relased Fedora Core 4?

J_K9 06-16-2005 03:31 PM

Quote:

Originally posted by peterxparker
Code:

# yum update
htp://rpm.livna.org/fedora/3.92/i386/RPMS.stable/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Thu, 16 Jun 2005 19:23:28


Did you copy this straight from the terminal, or did you type it out yourself? If you did copy it, then you might have something wrong with your yum.conf file, according to what the error said (look at quote above). Try the following: back up your existing yum.conf file (found in /etc as far as I know, if not just search for it...) to a safe place, and try replacing it with the text here.

If that doesn't work, then you may be behind a proxy. Are you connecting to the internet directly (i.e 56K/Broadband connection) or are you connecting from within a network? If you are within a network, then you may indeed have a proxy problem and I'm sure you can set yum to use it somehow.......

Oh...and updating to Fedora Core 4 may not be such a good idea as it's still unstable...but you can check it out if you want to!

J_K9

WhatsHisName 06-16-2005 04:42 PM

Are you sure you installed FC3, and not FC4T3 (a.k.a. FC3.92)?

The “/3.92/” in the failed line refers to FC4T3.

reddazz 06-17-2005 03:07 AM

Yeah, it seems you are running FC4 Test3 or your yum.conf is configured for FC4 Test3. The best solution to solve your problem is to download an rpm called fedora-release from a Fedora Core 4 mirror, install that and then run "yum update" as root.

WhatsHisName 06-17-2005 08:57 AM

Wouldn’t it be better to run “yum upgrade” instead of “yum update” after installing FC4 fedora-release, since “upgrade” deals with the obsoletes (if there are any going from FC4T3 to FC4)?

reddazz 06-17-2005 09:22 AM

Quote:

Originally posted by WhatsHisName
Wouldn�t it be better to run �yum upgrade� instead of �yum update� after installing FC4 fedora-release, since �upgrade� deals with the obsoletes (if there are any going from FC4T3 to FC4)?
Either will do, but probably "upgrade" would be better.

Eliyahu Turetsky 06-26-2005 08:14 AM

it is proxy
 
1. This is proxy. I had the same in FC4.

2. Use the form "<http://<host>:<port>"
to declare proxy in yum.conf or in var.-s "http_proxy".
It will never help, but will save your from the other error.

3. I decided not to waste more time on this, but it looks like some
"proxy-<PYTHON release>-<YUM release>" problem.

4. Something like this is going on with UBUNTU (with apt... tools).


All times are GMT -5. The time now is 12:11 AM.