Falha atualização yum

1. Falha atualização yum

Perfil removido
removido

(usa Nenhuma)

Enviado em 03/12/2015 - 13:26h

Prezados,

Não tenho muita vivência na administração do CENTOS, versão:

# cat /etc/*release*
cat: /etc/lsb-release.d: Is a directory
Red Hat Enterprise Linux Server release 5.7 (Tikanga)

Venho aqui perguntar se alguém pode apoiar nesta questão.

Já efetuado o comando: "yum clean all", mas o comando: "yum update", retorna isso.

Por onde devo começar.

# yum update
Loaded plugins: rhnplugin, security
There was an error communicating with RHN.
RHN Satellite or RHN Classic support will be disabled.
Error communicating with server. The message was:

Error Message:
Please run rhn_register as root on this client
Error Class Code: 9
Error Class Info: Invalid System Credentials.
Explanation:
An error has occurred while processing your request. If this problem
persists please enter a bug report at bugzilla.redhat.com.
If you choose to submit the bug report, please be sure to include
details of what you were trying to do when this error occurred and
details on how to reproduce this problem.

YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. 5Server is not a valid and current release or hasnt been released yet/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again


Fui até um dos servidores que funciona e copiei o conteudo deste arquivo: "mirrorlist.txt" e coloquei em: "/var/cache/yum/base"

http://centos.brnet.net.br/centos/5.11/os/x86_64/
http://centos.ufms.br/5.11/os/x86_64/
http://centos.brisanet.com.br/5.11/os/x86_64/
http://mirror.nbtelecom.com.br/centos/5.11/os/x86_64/
http://centos.ufes.br/5.11/os/x86_64/
http://centos.xpg.com.br/5.11/os/x86_64/
http://centos.secrel.com.br/5.11/os/x86_64/
http://mirror.ci.ifes.edu.br/centos/5.11/os/x86_64/
http://mirror.globo.com/centos/5.11/os/x86_64/
http://mirrors.uprm.edu/centos/5.11/os/x86_64/

Após isso o resultado foi o seguinte:

yum update
Loaded plugins: rhnplugin, security
There was an error communicating with RHN.
RHN Satellite or RHN Classic support will be disabled.
Error communicating with server. The message was:

Error Message:
Please run rhn_register as root on this client
Error Class Code: 9
Error Class Info: Invalid System Credentials.
Explanation:
An error has occurred while processing your request. If this problem
persists please enter a bug report at bugzilla.redhat.com.
If you choose to submit the bug report, please be sure to include
details of what you were trying to do when this error occurred and
details on how to reproduce this problem.

base | 1.1 kB 00:00
base/primary | 1.3 MB 00:01
base 3667/3667
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. 5Server is not a valid and current release or hasnt been released yet/
removing mirrorlist with no valid mirrors: /var/cache/yum/extras/mirrorlist.txt
Error: Cannot retrieve repository metadata (repomd.xml) for repository: extras. Please verify its path and try again

Conteudo arquivo: "repomd.xml"

# cat repomd.xml
<?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo">
<data type="other">
<location href="repodata/other.xml.gz"/>
<checksum type="sha">bca367c95e0d17a5a901e1f5bcd6828444dd169f</checksum>
<timestamp>1411394566</timestamp>
<open-checksum type="sha">86e7ba30df65dfabfee87ff87aca1497f508164c</open-checksum>
</data>
<data type="filelists">
<location href="repodata/filelists.xml.gz"/>
<checksum type="sha">11f6cf8c086ae52725846396310cc6010c461d4c</checksum>
<timestamp>1411394566</timestamp>
<open-checksum type="sha">bebc0d69b565f6f73a7487be26a69c94c2bba892</open-checksum>
</data>
<data type="primary">
<location href="repodata/primary.xml.gz"/>
<checksum type="sha">7c84f3dce1b75d2b5bcac8b99399545fc16b786d</checksum>
<timestamp>1411394566</timestamp>
<open-checksum type="sha">298990415b6a574e0e9444a7737bc6953ef85913</open-checksum>
</data>
<data type="group">
<location href="repodata/comps.xml"/>
<checksum type="sha">3ee7d3a7a85c2395bba18b417663a881ec0f31ef</checksum>
<timestamp>1411394181</timestamp>
</data>
</repomd>

Consegui só até este ponto.




  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts