Updating rpms

Backup any personal data to an external hard drive or to another machine.If there is some unrecoverable error that requires a fresh install, you don't want to lose any data.However, if you have to upgrade My SQL using the RPM packages downloaded directly from the My SQL Developer Zone (see Section 7.5, “Installing My SQL on Linux Using RPM Packages from Oracle” for information on the packages), go to the folder that contains all the downloaded packages (and, preferably, no other RPM packages with similar names), and issue the following command: instead makes the installation process more prone to failure, due to potential dependency issues the installation process might run into.For an upgrade installation using RPM packages, the My SQL server is automatically restarted at the end of the installation if it was running when the upgrade installation began.- rpm -i My SQL-3.23.18-1.i386- rpm -i My SQL-client-3.23.18-1.i386The files install, /var/lib/mysql is created, the server starts, putting the value 2836 into /var/lib/mysql/As the first thing after the install and 'cat /var/lib/mysql/mysqld.pid', i do: --- bash# mysqladmin ping Number of processes running now: 1 mysqladmin: connect to My SQL server at 'localhost' failed error: 'lost connection to My SQL server during query' bash# mysqld process hanging, pid 2836 - killed mysqld restarted on Sun Jun 18 CEST 2000 --- - this repeats for each 'mysqladmin ping' that I attempt.On the good side, I did manage to get 3.22.25 up and running again using this procedure.When I tried to use Amarok on this installation I got no sound, even though the soundcard appeared to be working (it sounds at startup, for instance).I noticed a new version on a newer DVD so I have tried to install it through Yast.

updating rpms-20updating rpms-11updating rpms-15

Finished Dependency Resolution Dependencies Resolved =========================================================================== Package Arch Version Repository Size =========================================================================== Updating: udev x86_64 147-2.15.el6 rhel 337 k Transaction Summary =========================================================================== Install 0 Package(s) Upgrade 1 Package(s) Total download size: 337 k Is this ok [y/N]:, which Yum uses to perform changes to the system, provides a mechanism for ensuring their integrity.

Yum performs automatic dependency resolution on packages you are updating, installing, or removing, and thus is able to automatically determine, fetch, and install all available dependent packages.

The following sections assume your system was registered with Red Hat Subscription Management during installation as described in the Red Hat Enterprise Linux 6 Installation Guide.

See Section B.2.2, “Installing and Upgrading” for details on how to manage changes to configuration files across package upgrades.

It is preferable to use the My SQL Yum repository or My SQL SLES Repository to upgrade My SQL on RPM-based platforms.


Leave a Reply