missing yum
Rick Stevens
rstevens at vitalstream.com
Tue Aug 16 15:52:21 UTC 2005
Ted Potter wrote:
> On Tue, 2005-08-16 at 14:46 +1000, Graeme Nichols wrote:
>
>>Ted Potter wrote:
>>
>>
>>>Greetings,
>>>
>>>I took the plunge and upgrade from RH9 to FC4. All seems well but I was
>>>concerned that there were no updates indicated by up2date.
>>>
>>>I tried this
>>>
>>># up2date
>>>An error has occurred:
>>>exceptions.ImportError
>>>See /var/log/up2date for more information
>>>
>>>/var/log/up2date says this:
>>>
>>>[Mon Aug 15 12:36:19 2005] up2date File "/usr/sbin/up2date", line
>>>1265, in ?
>>> sys.exit(main() or 0)
>>> File "/usr/sbin/up2date", line 328, in main
>>> sources = sourcesConfig.getSources()
>>> File "/usr/share/rhn/up2date_client/sourcesConfig.py", line 263, in
>>>getSource s
>>> scfg = SourcesConfigFile(filename="/etc/sysconfig/rhn/sources")
>>> File "/usr/share/rhn/up2date_client/sourcesConfig.py", line 42, in
>>>__init__
>>> self.load()
>>> File "/usr/share/rhn/up2date_client/sourcesConfig.py", line 85, in
>>>load
>>> self.parseRepomd(line)
>>> File "/usr/share/rhn/up2date_client/sourcesConfig.py", line 219, in
>>>parseRepo md
>>> from repoBackends import yumBaseRepo
>>> File "/usr/share/rhn/up2date_client/repoBackends/yumBaseRepo.py",
>>>line 14, in ?
>>> import yum
>>>
>>>
>>
>>>from poking around I can find no program called yum. from the fedora
>>
>>>website should I not
>>>at least have a /etc/yum.conf file ?
>>>
>>>anyway any pointers or whatever to get me the ability to do updates
>>>would be greatly
>>>appreciated.
>>>
>>>
>>>PS FC4 seems to rock !
>>>
>>>Thank you.
>>>
>>>
>>>
>>
>>Hello Ted, look in the attached pdf file towards the end. Search for
>>'yum' (without the quotes). All the info you need to get up2date and
>>yum working, Remember!!! you need to configure TWO files to get it
>>working correctly.
>>
>>HTH
>
>
>
> Thank you Graeme this does help, however I have no yum.conf file or any
> file by the name of yum. I do have an
>
> /etc/yum.repos.d directory with:
>
> -rw-r--r-- 1 root root 1123 Jun 3 11:12 fedora-devel.repo
> -rw-r--r-- 1 root root 312 Jun 3 11:12 fedora-extras-devel.repo
> -rw-r--r-- 1 root root 299 Jun 3 11:12 fedora-extras.repo
> -rw-r--r-- 1 root root 294 Jun 3 11:12 fedora.repo
> -rw-r--r-- 1 root root 330 Jun 3 11:12 fedora-updates.repo
> -rw-r--r-- 1 root root 337 Jun 3 11:12 fedora-updates-testing.repo
> -rw-r--r-- 1 root root 354 Jun 28 11:40 freshrpms.repo
>
> in it.
>
> perhaps I should search my install cd's and search for a yum rpm.... ??
Yes, you should. It should have been installed by default. The yum
executable should be located in /usr/bin.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Grabel's Law: 2 is not equal to 3--not even for large values of 2. -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list