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/3...8-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. antxx

    antxx Guest

    0
     
    I succeeded in making the update. 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 the .conf and it went well. Yum rocks :) ! At least, i restarted apache after update, just to be sure, but i had absolutely no problems. In the last 10 months on dedicated servers, this is the very first software that truly impress me.

    Oh and sorry to the moderators, for the post in your Plesk 7.5reloaded forum main index...Truly, i don't know how i managed to do that. But then women oftenly says i am magic...
     
Loading...