Not the answer you need?
Register and ask your own question!
Many Forum changes were implemented on Tue 22 Sep. Read about new Ranks, Scoring, and Reactions.
Email [email protected] for any comments or concerns.

Add a 6.3 link in centos repo ?

fprudhomfprudhom EntrantCurrent User Role Beginner
Hi all,

Centos 6.4 is released... and the first thing i want is to... wait ! :)
So, my yum update is done with a --releasever=6.3... but it seems you don't have the right directory :
<cite>Quote:</cite>
yum --releasever=6.3 check-update
(...)
http [URL="://repo.percona.com/centos/6.3/os/x86_64/repodata/repomd.xml:"] ://repo.percona.com/centos/6.3/os/x86_64/repodata/repomd.xml :[/URL] [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"

Can you make the good link in your repos ?

Thanks in advance :)

Comments

  • niljoshiniljoshi MySQL Sage Inactive User Role Beginner
    Hi,

    There is no like centos/6.3/os/x86_64/repodata/ directory. Here is the right location. http://repo.percona.com/centos/
    yum config file usually contains something like $version variable instead of hard-coded values. so, it can be redefined in commandline.

    If you don't want to upgrade CentOS to 6.4 then you can use following.

    yum check-update. OR, for percona repo only - yum --disablerepo=* --enablerepo=percona check-update

    OR

    yum --releasever=6.3 --disablerepo=percona check-update (for Centos only)
  • fprudhomfprudhom Entrant Current User Role Beginner
    Hi,

    Thanks for your answer.
    Actually, your repository configuration is :
    [percona]
    name = CentOS $releasever - Percona
    baseurl=http [URL]://repo.percona.com/centos/$releasever/os/$basearch/[/URL]
    enabled = 1
    gpgkey = file [URL]:///etc/pki/rpm-gpg/RPM-GPG-KEY-percona[/URL]
    gpgcheck = 1

    My solution is to replace the "$releasever" with "latest"... and yes, i know using a hard coded value is bad... but percona is the only repository configured on my servers not compatible with a --releasever (i'm using yum-cron, which can take args, but not multiple commands)...
    My message here was essentially to find a correction. It's a bit frustrating to see a percona answer resolving the problem with a "--disablerepo=percona"... no ?

    Have a good day anyway and thx again :)
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.