On Mon, Jan 10, 2011 at 6:48 PM, g <[log in to unmask]> wrote:
> greetings,
>
> i am still having problems getting my head in to operations of yum
> am need help with updating and setting up repos list.
>
> system specifics:
>
> +++
> $ cat /etc/redhat-release
> Scientific Linux SL release 5.4 (Boron)
>
> $ uname -a
> Linux 2.6.18-194.11.3.el5 #1 SMP Mon Aug 30 11:47:33 EDT 2010
> i686 i686 i386 GNU/Linux
> +++
>
> i have 2 installs of sl5.4, minimal on hda1 for internet [using now],
> and more filled on hdb10 for personal accounting, and electronic design.
>
> when i tried to update recently, i ran into similar problems, in that
> both bomb due to incorrectness of repo settings.
>
> on hda1;
>
> # yum update
> Loaded plugins: aliases, changelog, downloadonly, fastestmirror, filter-data,
> : kernel-module, keys, kmod, list-data, merge-conf, priorities,
> : protect-packages, protectbase, refresh-updatesd, rhnplugin,
> : security, tmprepo, tsflags, upgrade-helper, verify, versionlock
> This system is not registered with RHN.
> RHN support will be disabled.
> Determining fastest mirrors
> Could not retrieve mirrorlist \
> http://mirrors.redhat.com/mirrorlist?repo=epel-5&arch=i386/ error was
> [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
> * sl-base: ftp1.scientificlinux.org
> * sl-security: ftp1.scientificlinux.org
> adobe-linux-i386 | 951 B 00:00
> adobe-linux-i386/primary | 12 kB 00:00
> adobe-linux-i386 18/18
> http://download.redhat.com/pub/epel/5/i386/repodata/repomd.xml: [Errno 4] \
> IOError: <urlopen error (-2, 'Name or service not known')>
> Trying other mirror.
> Error: Cannot retrieve repository metadata (repomd.xml) for \
> repository: epel. Please verify its path and try again
First of all, you seem to have rhn-related packages on your system.
Try finding them by:
rpm -qa | grep rhn
and remove them all.
Second, you are getting some errors with the epel repo. I suggest you
reinstall it.
Finally, the following command will display all the repos:
yum repolist all
Akemi
|