http://qa.mandrakesoft.com/show_bug.cgi?id=1371





------- Additional Comments From [EMAIL PROTECTED]  2003-03-09 04:59 -------
Created an attachment (id=302)
 --> (http://qa.mandrakesoft.com/attachment.cgi?id=302&action=view)
How the output of "rpm -q --scripts MySQL-Max" should look like

Sorry, still some minor issues...

  $ /usr/sbin/urpmi MySQL-Max
  The following packages have to be removed for others to be upgraded:
  MySQL-4.0.11a-3mdk (due to conflicts with MySQL-Max[> 4.0.11])
  libmysql12-devel-4.0.11a-3mdk (due to unsatisfied MySQL == 4.0.11a-3mdk)

That is after a full install of MySQL. The dependency for libmysql12-devel
should be fullfilled by MySQL-Max, shouldn't it?

The post-install script removes "mysql" instead of "mysql-max". It should be:
  /usr/share/rpm-helper/del-service MySQL $1 mysql-max
(should this have gone to a new bug report?)

And initialisation of database is missing in MySQL-Max (compared to MySQL):
  # Initiate databases
  su - mysql -c "mysql_install_db -IN-RPM" > /dev/null




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: RESOLVED
creation_date: 
description: 
MySQL-Max (4.0.9-1mdk) is packaged in a way that it expects a MySQL (base)
package to be installed, but does not require it, as far as I can see. I just
managed to install MySQL-Max-4.0.9 alongside of MySQL-3.23.55-1mdk, which of
course did not work:

030207 06:02:14  mysqld started
030207  6:02:14  Error message file '/usr/share/mysql/english/errmsg.sys' had
only 218 error messages, but it should contain at least 237 error messages.
Check that the above file is the right version for this program!
030207  6:02:14  Aborting

Yeah, I am aware that mixed Cooker installs are not supported (I am running full
Cooker, I just did choose MySQL-Max as first thing to update), but as far as the
 requires look like, it would be even possible to install MySQL-Max without
having any MySQL base package installed, but the mysql-max server needs at least
the translation file, which is in the base package. Btw, I am referring only to
the above error, because I am currently not in the mood to try MySQL-Max alone
and screw up my install completely. ;-)

If Requires is not the Right Way to solve this, ignore this part (I am only
basically familiar with RPM packaging) and do it in whatever is the Right Way.

For completness the requires: rpm -qp --requires MySQL-Max-4.0.9-1mdk.i586.rpm
rpmlib(VersionedDependencies) <= 3.0.3-1
/bin/sh  
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
ld-linux.so.2  
libc.so.6  
libcrypt.so.1  
libdl.so.2  
libgcc_s.so.1  
libm.so.6  
libnsl.so.1  
libpthread.so.0  
librt.so.1  
libstdc++.so.5  
libz.so.1  
libc.so.6(GLIBC_2.0)  
libc.so.6(GLIBC_2.1)  
libc.so.6(GLIBC_2.1.2)  
libc.so.6(GLIBC_2.1.3)  
libc.so.6(GLIBC_2.2)  
libc.so.6(GLIBC_2.3)  
libcrypt.so.1(GLIBC_2.0)  
libdl.so.2(GLIBC_2.0)  
libdl.so.2(GLIBC_2.1)  
libgcc_s.so.1(GCC_3.0)  
libgcc_s.so.1(GLIBC_2.0)  
libm.so.6(GLIBC_2.0)  
libpthread.so.0(GLIBC_2.0)  
libpthread.so.0(GLIBC_2.1)  
libpthread.so.0(GLIBC_2.2)  
libstdc++.so.5(GLIBCPP_3.2)

Reply via email to