SCIENTIFIC-LINUX-DEVEL Archives

January 2011

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Tue, 11 Jan 2011 02:48:27 +0000
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (5 kB) , signature.asc (5 kB)
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

[did not copy errors for hdb10 to hda1]


on hda1;

$ pwd
/etc/yum.repos.d

total 252
-rw-r--r-- 1 root root  179 Jul 25  2007 adobe-linux-i386.repo
-rw-r--r-- 1 root root  179 Jul 25  2007 \
     adobe-linux-i386.repo.org.2007.0725.2045
-rw-r--r-- 1 root root  238 Oct 19  2009 adobe.repo
-rw-r--r-- 1 root root  238 Oct 19  2009 adobe.repo.org.2009.1019.2108
-rw-r--r-- 1 root root  404 Oct 19  2009 atrpms.repo
-rw-r--r-- 1 root root  404 Oct 19  2009 atrpms.repo.org.2009.1019.2108
-rw-r--r-- 1 root root  420 Oct 19  2009 dag.repo
-rw-r--r-- 1 root root  420 Oct 19  2009 dag.repofile
-rw-r--r-- 1 root root  420 Oct 19  2009 dag.repofile.org.2009.1019.2108
-rw-r--r-- 1 root root  762 Mar 24  2009 elrepo.repo
-rw-r--r-- 1 root root  762 Mar 24  2009 elrepo.repo.orf.2009.0324.2210
-rw-rw-r-- 1 root root  986 Sep 18 13:17 epel.repo
-rw-rw-r-- 1 root root  986 Sep 18 13:17 epel.repo.2010.0918.1316
-rw-r--r-- 1 root root  990 Jun 23  2008 epel.repo.org.2008.0623.2003
-rw-rw-r-- 1 root root 1094 Sep 18 13:13 epel-testing.repo
-rw-rw-r-- 1 root root 1094 Sep 18 13:13 epel-testing.repo.2010.0918.1312
-rw-r--r-- 1 root root 1090 Jun 23  2008 pel-testing.repo.org.2008.0623.2003
-rw-r--r-- 1 root root  733 Oct 19  2009 sl-contrib.repo
-rw-r--r-- 1 root root  733 Oct 19  2009 sl-contrib.repo.org.2009.1019.2108
-rw-r--r-- 1 root root  738 Oct 19  2009 sl-debuginfo.repo
-rw-r--r-- 1 root root  738 Oct 19  2009 l-debuginfo.repo.org.2009.1019.2108
-rw-r--r-- 1 root root  846 Oct 19  2009 sl-fastbugs.repo
-rw-r--r-- 1 root root  846 Oct 19  2009 sl-fastbugs.repo.org.2009.1019.2108
-rw-r--r-- 1 root root  773 Oct 19  2009 sl.repo
-rw-r--r-- 1 root root  773 Oct 19  2009 sl.repo.org.2009.1019.2108
-rw-r--r-- 1 root root  849 Oct 19  2009 sl-security.repo
-rw-r--r-- 1 root root  849 Oct 19  2009 sl-security.repo.org.2009.1019.2108
-rw-r--r-- 1 root root  690 Oct 19  2009 sl-srpms.repo
-rw-r--r-- 1 root root  690 Oct 19  2009 sl-srpms.repo.org.2009.1019.2108
-rw-r--r-- 1 root root  757 Oct 19  2009 sl-testing.repo
-rw-r--r-- 1 root root  757 Oct 19  2009 sl-testing.repo.org.2009.1019.2108
-rw-r--r-- 1 root root    0 Oct 30 01:29 yum.repos.d-hda1.0001
+++

on hdb10;

$ pwd
/etc/yum.repos.d

total 116
-rw-r--r-- 1 root root  179 Jul 25  2007 adobe-linux-i386.repo
-rw-r--r-- 1 root root  238 Oct 19  2009 adobe.repo
-rw-r--r-- 1 root root  404 Oct 19  2009 atrpms.repo
-rw-r--r-- 1 root root  420 Oct 19  2009 dag.repo
-rw-r--r-- 1 root root  420 Oct 19  2009 dag.repofile
-rw-r--r-- 1 root root  954 Apr 25  2008 epel.repo
-rw-r--r-- 1 root root 1054 Apr 25  2008 epel-testing.repo
-rw-r--r-- 1 root root  733 Oct 19  2009 sl-contrib.repo
-rw-r--r-- 1 root root  738 Oct 19  2009 sl-debuginfo.repo
-rw-r--r-- 1 root root  846 Oct 19  2009 sl-fastbugs.repo
-rw-r--r-- 1 root root  773 Oct 19  2009 sl.repo
-rw-r--r-- 1 root root  849 Oct 19  2009 sl-security.repo
-rw-r--r-- 1 root root  690 Oct 19  2009 sl-srpms.repo
-rw-r--r-- 1 root root  757 Oct 19  2009 sl-testing.repo
-rw-r--r-- 1 root root    0 Oct 30 01:29 yum.repos.d-hdb10.0001
+++


what "yum" or "rpm" command do i need to use to update repo list?

tia.

-- 

peace out.

tc.hago,

g
.

****
in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today.
**
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/
****



ATOM RSS1 RSS2