LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 07-09-2004, 05:28 AM   #1
glider7rgs
LQ Newbie
 
Registered: Jul 2004
Location: Victoria BC, Canada
Distribution: Fedora Core release 1 (Yarrow)
Posts: 3

Rep: Reputation: 0
yum update not working, fedora core 1


Hi there,

Yum isn't working and I don't understand the error message. The first time I ran yum with the command yum check-update and it returned a long list of packages that could be updated. I then rand the command yum update and I got the following error message:

. Gathering header information file(s) from server(s)
. Server: Fedora Core 1 - i386 - Base
. Traceback (most recent call last):
. File "/usr/bin/yum", line 60, in ?
. yummain.main(sys.argv[1:])
. File "yummain.py", line 188, in main
. File "clientStuff.py", line 766, in get_package_info_from_servers
. File "clientStuff.py", line 103, in HeaderInfoNevralLoad
. ValueError: unpack list of wrong size
. [root@localhost root]#

I then tried running the update command with specific packages and kept getting the same error message. When I try and use yum check-update again it also returns the same error message.

My yum.conf file looks like this:

. [main]
. cachedir=/var/cache/yum
. debuglevel=2
. logfile=/var/log/yum.log
. pkgpolicy=newest
. distroverpkg=fedora-release
. tolerant=1
. exactarch=1
.
. [base]
. name=Fedora Core $releasever - $basearch - Base
. baseurl=//fedora.redhat.com/releases/fedora-core-$releasever
.
. [updates-released]
. name=Fedora Core $releasever - $basearch - Released Updates
. baseurl=//fedora.redhat.com/updates/released/fedora-core-$releasever
.
. #[updates-testing]
. #name=Fedora Core $releasever - $basearch - Unreleased Updates
. #baseurl=//fedora.redhat.com/updates/testing/fedora-core-$releasever

* Note: http: is after each baseurl=. I had to nix it because this is my first post.

I'm running a fully installed version of Fedora Core realease 1 (Yarrow) on a PIII 600 Mhz with 128 MB Ram. The reason I'm trying to update using Yum is because up2date won't work. Red Hat Network has no channel for Fedora Core 1 being run on an i686. (I'm quite new with Linux, only bought the computer about a month ago).

Thanks.
 
Old 07-09-2004, 10:29 PM   #2
Harryc
Member
 
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Rep: Reputation: 32
I couldn't get the URL's in your yum.conf to work. Try mine. It is FC2 but should work for FC1 just fine.

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/

#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/

#[development]
#name=Fedora Core $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/

#[macromedia.mplug.org]
#name=macromedia.mplug.org
#baseurl=http://macromedia.mplug.org/apt/fedora/$releasever/
#gpgcheck=1

[freshrpms]
name=Fedora Linux $releasever - $basearch - freshrpms
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
gpgcheck=1

[dag]
name=Dag RPM Repository for Fedora Core
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag/
gpgcheck=1

#[mozilla-seamonkey]
#name=Mozilla SeaMonkey Releases
#baseurl=http://ftp.mozilla.org/pub/mozilla.org/mozilla/yum/SeaMonkey/releases/current/redhat/$releasever

Last edited by Harryc; 07-09-2004 at 10:31 PM.
 
Old 07-11-2004, 02:41 AM   #3
glider7rgs
LQ Newbie
 
Registered: Jul 2004
Location: Victoria BC, Canada
Distribution: Fedora Core release 1 (Yarrow)
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks very much. It worked out great, though I did need to comment out the DAG repository to avoid the GPG check stuff. Something I'll look into in the next while.

One last question is about architechture. Does anyone know if I ought to set exactarch to exactarch=0 given that I'm running Core 1 from an i686? Would I have to worry about yum updating beyond an i686 down the road and thus causing problems?

glider7rgs
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Yum update problem klnasveschuk Fedora 3 10-11-2005 06:26 AM
yum update stopped working hakukani Fedora 3 10-09-2005 05:25 AM
YUM repositories in Fedora Core 3 not working morrolan Linux - Software 10 03-10-2005 06:13 AM
Yum update site for Fedora Core 2 raynet Fedora 4 02-14-2005 01:47 AM
Update Core 2 to Core 3 with yum fhol Fedora - Installation 2 01-02-2005 10:52 PM


All times are GMT -5. The time now is 04:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration