1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

trouble updating mysql with yum

Discussion in 'Plesk for Linux - 8.x and Older' started by antxx, Sep 22, 2005.

  1. antxx

    antxx Guest

    0
     
    I was finnaly able to understand how to install rpm, and setup yum. I am trying to update mysql3.2 to 4 because one of my scripts demands it...

    I got this with yum:

    Setting up Update Process
    Setting up Repo: psa-7.5
    repomd.xml 100% |=========================| 951 B 00:00
    Setting up Repo: base
    repomd.xml 100% |=========================| 951 B 00:00
    Setting up Repo: atomic
    repomd.xml 100% |=========================| 951 B 00:00
    Setting up Repo: atomic-app-vault
    repomd.xml 100% |=========================| 951 B 00:00
    Setting up Repo: updates
    Cannot find a valid baseurl for repo: updates
    [root@rangeproducts at261392]# yum update mysql
    Setting up Update Process
    Setting up Repo: psa-7.5
    repomd.xml 100% |=========================| 951 B 00:00
    Setting up Repo: base
    repomd.xml 100% |=========================| 951 B 00:00
    Setting up Repo: atomic
    repomd.xml 100% |=========================| 951 B 00:00
    Setting up Repo: atomic-app-vault
    repomd.xml 100% |=========================| 951 B 00:00
    Setting up Repo: updates
    Cannot find a valid baseurl for repo: updates
    [root@rangeproducts at261392]# mv yum.conf /etc
    mv: overwrite `/etc/yum.conf'? y
    [root@rangeproducts at261392]# yum update mysql
    Setting up Update Process
    Setting up Repo: psa-7.5
    repomd.xml 100% |=========================| 951 B 00:00
    Setting up Repo: base
    repomd.xml 100% |=========================| 951 B 00:00
    Setting up Repo: atomic
    repomd.xml 100% |=========================| 951 B 00:00
    Setting up Repo: atomic-app-vault
    repomd.xml 100% |=========================| 951 B 00:00
    Setting up Repo: updates
    repomd.xml 100% |=========================| 951 B 00:00
    Reading repository metadata in from local files
    psa-7.5 : ################################################## 104/104
    base : ################################################## 1619/1619
    atomic : ################################################## 167/167
    atomic-app: ################################################## 4/4
    updates : ################################################## 624/624
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Package mysql.i386 0:4.1.12-1.rhfc2.art set to be updated
    --> Running transaction check
    --> Processing Dependency: mysql= 3.23.58 for package: mysql-devel
    --> Processing Dependency: libmysqlclient.so.10 for package: mysql-server
    --> Processing Dependency: libmysqlclient.so.10 for package: libdbi-dbd-mysql
    --> Processing Dependency: mysql= 3.23.58 for package: mysql-server
    --> Processing Dependency: libmysqlclient.so.10 for package: perl-DBD-MySQL
    --> Restarting Dependency Resolution with new changes.
    --> Populating transaction set with selected packages. Please wait.
    ---> Package mysql-devel.i386 0:4.1.12-1.rhfc2.art set to be updated
    ---> Package mysql-server.i386 0:4.1.12-1.rhfc2.art set to be updated
    ---> Downloading header for mysql to pack into transaction set.
    http://3es.atomicrocketturtle.com/3rd-party/updates/2/RPMS/mysql-3.23.58-9.1.i386.rpm: [Errno 4] IOError: HTTP Error 404: Not Found
    Trying other mirror.
    Error: failure: RPMS/mysql-3.23.58-9.1.i386.rpm from updates: [Errno 256] No more mirrors to try.

    Not sure why it can't do anything when it comes to update URL...My yum config is:

    [main]
    cachedir=/var/cache/yum
    debuglevel=2
    logfile=/var/log/yum.log
    pkgpolicy=newest
    distroverpkg=redhat-release
    tolerant=1
    exactarch=1

    [atomic]
    name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
    baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releasever/
    baseurl=http://www.atomicrocketturtle.com/atomic/art/$releasever/

    [atomic-app-vault]
    name=Atomic Rocket Turtle - $releasever - Atomic PSA App Vault RPMS
    baseurl=http://3es.atomicrocketturtle.com/atomic/app-vault/

    [psa-7.5]
    name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.5 RPMS
    baseurl=http://3es.atomicrocketturtle.com/atomic/psa-7.5/$releasever/
    baseurl=http://www.atomicrocketturtle.com/atomic/psa-7.5/$releasever/

    [base]
    name=Atomic Rocket Turtle - $releasever - Base OS RPMS mirror
    baseurl=http://3es.atomicrocketturtle.com/3rd-party/base/$releasever/

    [updates]
    name=Atomic Rocket Turtle - $releasever - OS Update RPMS mirror
    baseurl=http://3es.atomicrocketturtle.com/3rd-party/updates/$releasever/

    so i don't know anymore...
     
  2. phatPhrog

    phatPhrog Guest

    0
     
    ART YUM channels

    You should use the YUM channels for ART that are always up-to-date from

    http://atomicrocketturtle.com/forum/viewtopic.php?p=2609#2609

    or go directly to

    http://www.atomicrocketturtle.com/atomic/

    If you are going to update mysql specifically just run

    yum update mysql

    and it will be performed perfectly and without error.

    Should you experience a problem with mysql restarting after the upgrade just run

    /etc/init.d/httpd restart
    or
    /etc/init.d/mysqld start

    if you get a FAIL on restart
     
  3. antxx

    antxx Guest

    0
     
    it worked, only after i removed:

    [base]
    name=Atomic Rocket Turtle - $releasever - Base OS RPMS mirror
    baseurl=http://3es.atomicrocketturtle.com/3rd-party/base/$releasever/

    [updates]
    name=Atomic Rocket Turtle - $releasever - OS Update RPMS mirror
    baseurl=http://3es.atomicrocketturtle.com/3rd-party/updates/$releasever/

    from my file. Thanks
     
  4. phatPhrog

    phatPhrog Guest

    0
     
    Great

    Not knowing your particulars, I opted not to say which yum.conf lines to remove.

    Glad you got it working.

    In ART we Trust. :)
     
  5. antxx

    antxx Guest

    0
     
    Re: Great

    So Say we all !
     
Loading...