질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

yum 업데이트 설치 중에 전기가 나가 버려서 이후로 yum 업데이트가

작성자 정보

  • 원준 작성
  • 작성일

컨텐츠 정보

본문

센트 4.5 이고요
yum update 로 패키지 업데이트 하던중에
yum 으로 쭈욱 진행되다가 전기가 나가 버려서
다시 부팅 후에
yum update 해보니깐
에러가 납니다.
도무지 어떻게 해야 되는지 방법을 모르겠네요
아시는분 도움을 바랍니다
감사 합니다.

에러메세지 내용

[abc@hana ~]# yum update
Setting up Update Process
Setting up repositories
not using ftp, http[s], or file for repos, skipping -             <html>                               <head>                <meta http-equiv="Refresh" content="1; URL=https://tae                   gu.megapass.net:7003/index.html?sso=121.181.160.101&no=8403&origin=http://mirror                   list.centos.org/?release=4&arch=i386&repo=updates">                <meta http-eq                   uiv="pragma" content="no-cache">            </head>            <body>                               </body>            </html>
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update

[abc@hana ~]#  yum list
Setting up repositories
not using ftp, http[s], or file for repos, skipping -             <html>            <head>                <meta http-equiv="Refresh" content="1; URL=https://taegu.megapass.net:7003/index.html?sso=121.181.160.101&no=8403&origin=http://mirrorlist.centos.org/?release=4&arch=i386&repo=updates">                <meta http-equiv="pragma" content="no-cache">            </head>            <body>            </body>            </html>
Cannot find a valid baseurl for repo: update

vi /etc/yum.repos.d/CentOS-Base.repo
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=1
protect=1

#released updates
[update]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=1
protect=1
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=1
protect=1

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=1
protect=1

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=2
protect=1
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=2
protect=1



관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,303 명
  • 현재 강좌수 :  36,968 개
  • 현재 접속자 :  432 명