[mythtv-users] OT: Upgrade to Mysql 5.0

Sam Varshavchik mrsam at courier-mta.com
Mon May 1 22:28:19 UTC 2006


R. G. Newbury writes:

> Douglas Wagner wrote:
>> You've got 3 options:
>> 
>> 1) Remove MySQL 4.1 (i'm guessing you're on a RedHat distribution given 
>> the file places, could be wrong).  You can use RPM directly to try to 
>> uninstall MySQL and all it's dependent packages or you can try going 
>> into xwindows and to the package manager there (add-remove programs if 
>> you're in a recent version of gnome) and remove MySQL from there.
> 
> Problem with this route, is that it screams the parts of mysql are 
> needed by the other packages: that is, the dependencies go both ways.

Then you can't do it.  It's just that simple.

> Unfortunately mysql is not, to my knowledge, available through yum. I 
> got the upgrade to work however, by using 'rpm --force -U MySQL'.

WRONG!

Never use --force, unless it's just a temporary workaround for a known, and 
fully understood packaging error, which will quickly be rectified by an 
upgrade to a later package release, which will not use --force.

Your updated mysql package will probably fail in some subtle way at some 
point, or, worse yet, continue to work but give incorrect results.  Or, 
other software that has an explicit dependency on your older version of 
MySQL will malfunction or lose stability, in some way.

--force is not a "fix", for a dependency issue.  It's a workaround for a 
known packaging bug.

You do not have any packaging bugs.  Your package is fine, it's just not 
compatible with the rest of the software that you have installed.  And using 
--force is not going to fix it.

Using --force is equivalent to sticking your head into a pile of sand, and 
hope that this will fix all your problems.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20060501/6f97c632/attachment.pgp 


More information about the mythtv-users mailing list