LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-28-2007, 11:24 PM   #1
DarkFalcon
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Rep: Reputation: 0
Unhappy Yum screw-up


I am having some problems with yum.

I am using fedora core 7.

All that follows is using the superuser (su command then all this stuff)

When i try to run "software updater" (aka package updater or pup) i gert an error message: "unable to retrieve software information" with "none" in the etails section.

when i try to run "yum update" i recieve this:

Gathering header information file(s) from server(s)
Server: Red Hat Linux 7 - i386 - Base
Error - /var/cache/yum/base/header.info cannot be found
Please ask your sysadmin to update the headers on this system.

When i try to reinsatll yum, using the command "rpm -ivh home/Andrew/Desktop/yum*" i get this:


Preparing... ########################################### [100%]
file /usr/lib/python2.5/site-packages/rpmUtils/__init__.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/rpmUtils/__init__.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/rpmUtils/arch.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/rpmUtils/arch.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/rpmUtils/arch.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/rpmUtils/miscutils.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/rpmUtils/miscutils.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/rpmUtils/miscutils.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/rpmUtils/oldUtils.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/rpmUtils/oldUtils.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/rpmUtils/transaction.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/rpmUtils/transaction.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/rpmUtils/updates.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/rpmUtils/updates.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/rpmUtils/updates.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/Errors.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/Errors.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/Errors.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/__init__.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/__init__.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/__init__.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/comps.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/comps.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/comps.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/config.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/config.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/config.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/constants.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/constants.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/depsolve.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/depsolve.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/depsolve.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/failover.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/failover.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/logginglevels.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/logginglevels.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/logginglevels.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/mdparser.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/mdparser.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/misc.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/misc.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/misc.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/packageSack.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/packageSack.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/packageSack.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/packages.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/packages.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/packages.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/parser.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/parser.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/parser.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/pgpmsg.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/pgpmsg.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/plugins.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/plugins.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/plugins.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/repoMDObject.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/repoMDObject.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/repos.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/repos.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/repos.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/rpmsack.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/rpmsack.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/rpmsack.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/sqlitesack.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/sqlitesack.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/sqlitesack.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/sqlutils.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/sqlutils.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/transactioninfo.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/transactioninfo.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/transactioninfo.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/update_md.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/update_md.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/update_md.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/yumRepo.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/yumRepo.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/lib/python2.5/site-packages/yum/yumRepo.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/man/man5/yum.conf.5.gz from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/man/man8/yum-shell.8.gz from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/man/man8/yum.8.gz from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/callback.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/callback.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/callback.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/cli.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/cli.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/cli.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/i18n.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/i18n.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/i18n.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/output.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/output.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/output.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/progress_meter.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/progress_meter.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/shell.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/shell.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/shell.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/translate.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/translate.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/translate.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/utils.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/utils.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/yumcommands.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/yumcommands.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/yumcommands.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/yummain.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/yummain.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/yummain.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/yumupd.py from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/yumupd.pyc from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
file /usr/share/yum-cli/yumupd.pyo from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7

Sorry about that big thing but i thought it would be more helpful to have the whole thing.

Can anyone help me with this?
 
Old 10-28-2007, 11:59 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Error - /var/cache/yum/base/header.info cannot be found
Try an 'rm -fr /var/cache/yum/base' and then run yum update again.

Quote:
file [xyz] from install of yum-3.2.7-1.fc7 conflicts with file from package yum-3.2.0-1.fc7
Since you are installing yum 3.2.7 then rpm -ivh home/Andrew/Desktop/yum* should probably be

# rpm -Uvh home/Andrew/Desktop/yum*

But you are better off building the database then getting yum to update itself.

Quote:
Sorry about that big thing but i thought it would be more helpful to have the whole thing.
You can put large blocks of code between "code" tags. Then it doesn't loom so much.
 
Old 10-29-2007, 12:06 AM   #3
DarkFalcon
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Please Explain

Could yo please explain how i would "rebuild the database" i am pretty much a linux noob so i dont know what you mean.

i tried the rm command "your forst instruction" and i got a different error when i ran yum update this time:

Code:
Gathering header information file(s) from server(s)
Server: Red Hat Linux 7 - i386 - Base
retrygrab() failed for:
  http://mirror.dulug.duke.edu/pub/yum-repository/redhat/7/i386/headers/header.info
  Executing failover method
failover: out of servers to try
Error getting file http://mirror.dulug.duke.edu/pub/yum-repository/redhat/7/i386/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found
When i tried the second thing you said, (the different rpm command option) i got this message:

Code:
error: Failed dependencies:
        yum = 3.2.0-1.fc7 is needed by (installed) yum-updatesd-3.2.0-1.fc7.noarch

Last edited by DarkFalcon; 10-29-2007 at 12:09 AM. Reason: I tried something different in addition
 
Old 10-29-2007, 03:20 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Code:
Error getting file http://mirror.dulug.duke.edu/pub/yum-repository/redhat/7/i386/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found
Error 404 usually means that the page dosn't exist or the server is down.

Heading over to Duke and having a look, I see that http://mirror.dulug.duke.edu/pub/yum-repository/redhat/ only has directories

Parent Directory/ - Directory
7.3/ 2003-Feb-15 16:10:25 - Directory
9/ 2003-Apr-04 00:46:13 - Directory
updates/ 2004-Jan-03 11:12:22 - Directory

i.e. the page doesn't exist. That would explain the error.

Now... here's what is puzzling me: the mirror you've accessed is for Red Hat Linux and not Fedora Core.

Possibly you need to be using the fedora branch?
http://mirror.dulug.duke.edu/pub/fedora ... somthing.

... look to your yum.conf
 
Old 10-29-2007, 03:37 AM   #5
DarkFalcon
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Original Poster
Rep: Reputation: 0
I tried reinstallind yum using a tar.gz "make, make install" and a whoe binch of stuff came up, now when i run yum update i get this:

Traceback (most recent call last):
File "/usr/bin/yum", line 28, in <module>
import yummain
File "/usr/share/yum-cli/yummain.py", line 29, in <module>
import cli
File "/usr/share/yum-cli/cli.py", line 27, in <module>
import output
File "/usr/share/yum-cli/output.py", line 31, in <module>
from rpmUtils.miscutils import checkSignals
ImportError: cannot import name checkSignals
 
Old 10-29-2007, 06:22 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
STOPP! Reread post #4 and address the issues raised therein please.
 
  


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
i screw something up with cedega bookgekgom Linux - Games 1 01-06-2007 08:41 AM
Looking for help on my screw up. Tink Linux - General 2 03-19-2004 05:55 AM
you know what screw it? unimaginative General 7 01-06-2004 02:28 PM
Did I screw up? Aktionman Slackware 7 11-18-2003 04:33 PM
What to do if I screw up Linux ??? glenn69 Linux - Newbie 1 09-27-2003 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:29 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