LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-04-2004, 10:06 PM   #1
bornhj
Member
 
Registered: Sep 2004
Location: Canberra, Australia
Distribution: Fedora Core 3, Ubuntu Hoary, Slack 10.1
Posts: 120

Rep: Reputation: 15
yum I/O Error


Hi,

I'm using the yum.conf file from fedorafaq, and I am trying to use yum to update. I used it a couple of weeks ago without a hassle, installing the 2.6.8 kernel. Now, whenever I try to use yum, it spits this out:

Code:
[root@James james]# yum list available
Gathering header information file(s) from server(s)
Server: Fedora Core 2 - i386 - Base
Server: Fedora.us Extras (Stable)
Server: Fedora.us Extras (Testing)
Server: Fedora.us Extras (Unstable)
Server: Livna.org - Fedora Compatible Packages (stable)
Server: Livna.org - Fedora Compatible Packages (testing)
Server: Livna.org - Fedora Compatible Packages (unstable)
Server: macromedia.mplug.org - Flash Plugin
Server: Fedora Core 2 - i386 - Released Updates
Finding updated packages
Downloading needed headers
IOError - # 22 - Invalid argument
[root@James james]#
Can anyone tell me how to fix this, and why it is happening all of a sudden?
 
Old 10-05-2004, 06:06 AM   #2
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Not enough details. The contents of /etc/yum.conf would be interesting. A common mistake is to use Red Hat's primary server, which is overloaded at times when it's hit hard. That results in download errors and problems upon accessing the repository. Use a nearby mirror server, also for the fedora.us repository.
 
Old 10-06-2004, 06:11 PM   #3
bornhj
Member
 
Registered: Sep 2004
Location: Canberra, Australia
Distribution: Fedora Core 3, Ubuntu Hoary, Slack 10.1
Posts: 120

Original Poster
Rep: Reputation: 15
my yum.conf file:
Code:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=0
# Added this because some mirrors go down and then retying takes forever.
retries=1

##################
## Basic Fedora ##
##################

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://mirror.hiwaay.net/redhat/fedora/linux/core/$releasever/$basearch/os
  http://rpmfind.net/linux/fedora/core/$releasever/$basearch/os
  http://mirror.clarkson.edu/pub/distr...ra/linux/core/$releasever/$basearch/os
  http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/$releasever/$basearch/RPMS.os
#  http://fedora.redhat.com/releases/fedora-core-$releasever
#gpgcheck=1

#[base-debuginfo]
#name=Fedora Core $releasever - $basearch - Debug Info
#baseurl=http://speakeasy.rpmfind.net/linux/fedora/core/$releasever/$basearch/debug
#  http://distro.ibiblio.org/pub/linux/...ra/linux/core/$releasever/$basearch/debug
#  http://mirror.clarkson.edu/pub/distr...ra/linux/core/$releasever/$basearch/debug
#  http://gulus.usherbrooke.ca/pub/dist...ra/linux/core/$releasever/$basearch/debug
##gpgcheck=1

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://ftp.ens.utulsa.edu/pub/linux/fedora/core/updates/$releasever/$basearch
  http://rpmfind.net/linux/fedora/core/updates/$releasever/$basearch
  http://mirror.clarkson.edu/pub/distr.../core/updates/$releasever/$basearch
  http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/$releasever/$basearch/RPMS.updates
#  http://fedora.redhat.com/updates/released/fedora-core-$releasever
#gpgcheck=1

#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/$releasever/$basearch/yum/updates-testing
#  http://distro.ibiblio.org/pub/linux/...dates/testing/$releasever/$basearch
#  http://mirror.clarkson.edu/pub/distr...dates/testing/$releasever/$basearch
#  http://gulus.usherbrooke.ca/pub/dist...dates/testing/$releasever/$basearch
##  http://fedora.redhat.com/updates/testing/fedora-core-$releasever
##gpgcheck=1

###################
## Fedora Extras ##
###################

[fedora-stable]
name=Fedora.us Extras (Stable)
baseurl=http://mirrors.kernel.org/fedora.us/fedora/fedora/$releasever/$basearch/RPMS.stable
  http://fedora.quicknet.nl/fedora/fedora/$releasever/$basearch/RPMS.stable
  http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/$releasever/$basearch/RPMS.stable
  http://fedora.mirror.sdv.fr/fedora/fedora/$releasever/$basearch/RPMS.stable
  http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS.stable
#gpgcheck=1

[fedora-unstable]
name=Fedora.us Extras (Unstable)
baseurl=http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/$releasever/$basearch/RPMS.unstable
  http://fedora.mirror.sdv.fr/fedora/fedora/$releasever/$basearch/RPMS.unstable
  http://fedora.quicknet.nl/fedora/fedora/$releasever/$basearch/RPMS.unstable
  http://mirrors.kernel.org/fedora.us/fedora/fedora/$releasever/$basearch/RPMS.unstable
  http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS.unstable
#gpgcheck=1

[fedora-testing]
name=Fedora.us Extras (Testing)
baseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS.testing
  http://fedora.quicknet.nl/fedora/fedora/$releasever/$basearch/RPMS.testing
  http://fedora.mirror.sdv.fr/fedora/fedora/$releasever/$basearch/RPMS.testing
  http://mirrors.kernel.org/fedora.us/fedora/fedora/$releasever/$basearch/RPMS.testing
  http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/$releasever/$basearch/RPMS.testing
#gpgcheck=1

###############
## Livna.org ##
###############

[livna-stable]
name=Livna.org - Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/stable
  http://livna.cat.pdx.edu/fedora/$releasever/$basearch/yum/stable
#gpgcheck=1

[livna-unstable]
name=Livna.org - Fedora Compatible Packages (unstable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/unstable
  http://livna.cat.pdx.edu/fedora/$releasever/$basearch/yum/unstable
#gpgcheck=1

[livna-testing]
name=Livna.org - Fedora Compatible Packages (testing)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/testing
  http://livna.cat.pdx.edu/fedora/$releasever/$basearch/yum/testing
#gpgcheck=1


############
# Jpackage #
############

# JPackage is a GREAT repository for Java Software.
# However, you may have to compile some SRPMs to use it,
# so it's commented out by default. See 
# <http://prdownloads.sourceforge.net/j...SRPMS.non-free> 
# For the SRPMs, and <http://www.jpackage.org> for the general details.
#
# Note: JPackage IS compatible with the fedora.us repositories.
# You can use JPackage and fedora.us at the same time, without 
# any trouble.

#[jpackage-generic]
#name=JPackage Cross-Platform Packages
#baseurl=http://aleron.dl.sourceforge.net/sourceforge/jpackage/direct_download/1.5/generic/free
#  http://heanet.dl.sourceforge.net/sou...5/generic/free
#  http://umn.dl.sourceforge.net/source...5/generic/free
#failovermethod=priority
##gpgcheck=1

#[jpackage-fedora]
#name=JPackage Fedora Packages
#baseurl=http://aleron.dl.sourceforge.net/sourceforge/jpackage/direct_download/1.5/fedora-$releasever/free
#  http://heanet.dl.sourceforge.net/sou...ad/1.5/fedora-$releasever/free
#  http://umn.dl.sourceforge.net/source...ad/1.5/fedora-$releasever/free
#failovermethod=priority
##gpgcheck=1

############################
## Alternate Repositories ##
############################

# Uncomment these to use them -- note that some packages
# from these repositories may conflict with the fedora.us
# packages. If you use these repositories, you may wish to 
# comment-out the fedora.us and livna.org repositories.

#[freshrpms]
#name=FreshRPMs
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
#  http://ftp.us2.freshrpms.net/linux/f.../fedora/linux/$releasever/$basearch/freshrpms/
##gpgcheck=1

#[dag]
#name=Dag APT Repository
#baseurl=http://dag.freshrpms.net/fedora/$releasever/en/$basearch/dag
#  http://dag.atrpms.net/fedora/$releasever/en/$basearch/dag/
#  http://ftp.heanet.ie/pub/freshrpms/pub/dag/fedora/$releasever/en/$basearch/dag
##gpgcheck=1

#[dries]
#name=Dries APT/YUM Repository
#baseurl=http://dries.studentenweb.org/yum/fedora/linux/$releasever/$basearch/dries
##gpgcheck=1

#[spc-production]
#name=Subpop.net (Production)
#baseurl=http://rpms.subpop.net/fedora/linux/$releasever/$basearch/production
##gpgcheck=1

#[newrpms]
#name=NewRPMs
#baseurl=http://newrpms.sunsite.dk/apt/redhat/en/$basearch/fc$releasever
#  http://newrpms.atrpms.net/apt/redhat/en/$basearch/fc$releasever
##gpgcheck=1

#[atrpms-stable]
#name=ATrpms - Stable (Most Stable)
#baseurl=http://apt.physik.fu-berlin.de/fedora/$releasever/en/$basearch/at-stable
#  http://ftp-stud.fht-esslingen.de/atr...ms.net/fedora/$releasever/en/$basearch/at-stable
#  http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-stable
##gpgcheck=1

#[atrpms-good]
#name=ATrpms - Good (2nd Most Stable)
#baseurl=http://ftp-stud.fht-esslingen.de/atrpms/download.atrpms.net/fedora/$releasever/en/$basearch/at-good
#  http://apt.physik.fu-berlin.de/fedora/$releasever/en/$basearch/at-good
#  http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-good
##gpgcheck=1

#[atrpms-testing]
#name=ATrpms - Testing (3rd Most Stable)
#baseurl=http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-testing
#  http://apt.physik.fu-berlin.de/fedora/$releasever/en/$basearch/at-testing
#  http://ftp-stud.fht-esslingen.de/atr...ms.net/fedora/$releasever/en/$basearch/at-testing
##gpgcheck=1

#[atrpms-bleeding]
#name=ATrpms - Bleeding (Least Stable)
#baseurl=http://apt.physik.fu-berlin.de/fedora/$releasever/en/$basearch/at-bleeding
#  http://ftp-stud.fht-esslingen.de/atr...ms.net/fedora/$releasever/en/$basearch/at-bleeding
#  http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-bleeding
##gpgcheck=1

###################
## Miscellaneous ##
###################

[macromedia.mplug.org]
name=macromedia.mplug.org - Flash Plugin
baseurl=http://macromedia.mplug.org/apt/fedora/$releasever
  http://sluglug.ucsc.edu/macromedia/apt/fedora/$releasever
  http://ruslug.rutgers.edu/macromedia/apt/fedora/$releasever
  http://macromedia.rediris.es/apt/fedora/$releasever
#gpgcheck=1
 
Old 10-07-2004, 05:27 AM   #4
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
It's nuts to disable the GPG checks for all repositories. That's a security risk. All packages must be signed and pass the GPG check.

With regard to your I/O error, you have enabled so many different repositories, it would be time-consuming to see whether any of them offers something broken or causes problems. Reduce your yum.conf to a smaller set and test with that. If the problem persists, remove downloads cached by Yum with the right command-line options or by emptying directories in /var/cache/yum.
 
  


Reply



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
Having [Config Error] while using YUM conellylg Fedora 7 09-17-2010 09:37 AM
error with yum install niadanac Linux - Software 14 09-20-2005 10:06 PM
Yum Error Servius Linux - Newbie 2 04-28-2005 08:25 PM
error when using yum Paintball_Star7 Fedora 2 03-08-2005 01:14 PM
yum error message buffed317 Fedora 1 07-27-2004 09:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:51 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration