RHEL4 에 YUM 을 설치했습니다. repo.d 설정 도와주세요~

망치의 이미지

centos4 껄 그냥 복사해다 쓰면 되는건가요?
아니면 설정을 달리해줘야하는 건가요?

제가 설치한게 아니라 누군가가 설치해둔걸 원격으로 관리해야 하는 상황인데..
패키지좀 추가하려고 yum 실행시켰더니

Quote:

Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update

라는 메세지가 뜨길래 yum.repo.d 디렉토리를 봤더니 ULN-Base.repo 파일 달랑 하나 있고 내용은

# Oracle-Base.repo
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#
 
[base]
name=Oracle-$releasever - Base
mirrorlist=http://mirrorlist.oss.oracle.com/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.oss.oracle.com/Oracle/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.oss.oracle.com/Oracle/RPM-GPG-KEY-oracle
 
#released updates 
[update]
name=Oracle-$releasever - Updates
mirrorlist=http://mirrorlist.oss.oracle.com/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.oss.oracle.com/Oracle/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.oss.oracle.com/Oracle/RPM-GPG-KEY-oracle
 
#packages used/produced in the build but not released
[addons]
name=Oracle-$releasever - Addons
mirrorlist=http://mirrorlist.oss.oracle.com/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.oss.oracle.com/Oracle/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.oss.oracle.com/Oracle/RPM-GPG-KEY-oracle
 
#additional packages that may be useful
[extras]
name=Oracle-$releasever - Extras
mirrorlist=http://mirrorlist.oss.oracle.com/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.oss.oracle.com/Oracle/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.oss.oracle.com/Oracle/RPM-GPG-KEY-oracle
 
#additional packages that extend functionality of existing packages
[Oracleplus]
name=Oracle-$releasever - Plus
mirrorlist=http://mirrorlist.oss.oracle.com/?release=$releasever&arch=$basearch&repo=Oracleplus
#baseurl=http://mirror.oss.oracle.com/Oracle/$releasever/Oracleplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.oss.oracle.com/Oracle/RPM-GPG-KEY-oracle
 
#contrib - packages by Oracle Users
[contrib]
name=Oracle-$releasever - Contrib
mirrorlist=http://mirrorlist.oss.oracle.com/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.oss.oracle.com/Oracle/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.oss.oracle.com/Oracle/RPM-GPG-KEY-oracle

가.. 있습니다. 왠 오라클.....

망치의 이미지

기존에 CentOS4 에 있는 설정을 가져와서 RHEL4 에 적용해봤습니다.

그랬떠니 다음과 같은 에러가 납니다.

# yum list
Repository update is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Setting up repositories
not using ftp, http[s], or file for repos, skipping - Null is not a valid release or hasnt been released yet
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update

릴리즈 버젼을 제대로 인식하지 못하는것같습니다..

---------------------------------------
http://www.waitfor.com/
http://www.textmud.com/

망치의 이미지

참 서버 정보입니다..

# cat redhat-release 
Enterprise Linux Enterprise Linux AS release 4 (October Update 5)
 
# uname -a
Linux *** 2.6.9-55.0.0.0.2.ELsmp #1 SMP Wed May 2 14:59:56 PDT 2007 i686 i686 i386 GNU/Linux

---------------------------------------
http://www.waitfor.com/
http://www.textmud.com/

mirr의 이미지

대체 어디서 가져온 yum 인가요...RHEL4 를 센트로 엎고싶으신거면
CentOS 용을 가져오셔야죠^^

내 마음속의 악마가 자꾸만 나를 부추겨.
늘 해왔던 것에 만족하지 말고 뭔가 불가능해 보이는 것을 하라고 말야.

내 마음속의 악마가 자꾸만 나를 부추겨.
늘 해왔던 것에 만족하지 말고 뭔가 불가능해 보이는 것을 하라고 말야.

atie의 이미지

이게 설치된 듯 한데 이름대로라면 엎어쓰기 힘들듯... ^^
----
I paint objects as I think them, not as I see them.
atie's minipage

----
I paint objects as I think them, not as I see them.
atie's minipage

glay의 이미지

도데체 용도가 무엇인지 궁금..

그리고 rhel 설치 된것으로 보면 분명 rhel 정품이 맞을듯한데 ( 아니면 불법 !! )

그 경우엔 yum 사용하지 말고 up2date 사용하세요.

왜 일을 어렵게 만들려고 하시는지 ..

만약 불법적으로 사용하고 계신것이라면 ( 오리지날 centos 로 가는것을 추천;; )

제가 알기론 rhel 등록하지 않고 내려받아서 사용하는것도 불법행위로 알고 있습니다 ( 레뎃세미나 가서 들었던듯 )

--------------- 절취선 ------------------------
하늘은 스스로 삽질 하는 자를 삽으로 팬다.

http://glay.pe.kr


--------------- 절취선 ------------------------
하늘은 스스로 삽질하는 자를 삽으로 팬다.

http://glay.pe.kr

망치의 이미지

제가 설치한게 아니라.. 일본에 있는 서버인데 누군가가 설치만 해놓고 간걸 관리해야 하는 상황입니다 ㅡ.,ㅡ;;
가까우면야 제가 가서 당연 CentOS 로 밀어버리고 yum 으로 간편하게 이용할텐데요. 그게 안되서요 ㅡ.,ㅡ;

암튼 현재 상황은 걍 yum 으로 무대뽀 업뎃해버렸더니 잘 되길래 걍 사용중입니다. ㅎㅎ

---------------------------------------
http://www.waitfor.com/
http://www.textmud.com/

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.