yum 0.8rc5

http://www.yiiframework.com/extension/yii-user-management

yum rc5 has this script for mysql


CREATE TABLE IF NOT EXISTS `translation` (

`message` varbinary(255) NOT NULL,

`translation` varchar(255) NOT NULL,

`language` varchar(5) NOT NULL,

`category` varchar(255) NOT NULL,

PRIMARY KEY (`message`,`language`,`category`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8; 

on older mysql versions like debian lenny has, max primary key size is 1000 bytes.

if the encoding in latin1 it is okey since they use 1 byte per char but utf8 uses 3 bytes to calculate maximal posible primery key size.

As result this query needs (255 +255 + 255)*3 = 2295 bytes size for primery key and yum can’t be installed with installer.

You need to manually edit install script