make_sandbox_from_installed: symbolic links creation errors

Bug #714517 reported by Kenny Gryp on 2011-02-07
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MySQL Sandbox

Bug Description

(On ubuntu)

* When having mysql-mmm installed, the creation of the symbolic links fail because there are 2 matches of /usr/lib//mysql*:

gryp@lesktop:~/tmp$ make_sandbox_from_installed 5.1.54
ln: creating symbolic link `/home/gryp/tmp/5.1.54/lib/mysql': File exists
ln: creating symbolic link `/home/gryp/tmp/5.1.54/lib/mysql-mmm': File exists
error creating symbolic link (ln -s /usr/lib//mysql* /home/gryp/tmp/5.1.54/lib)

* /usr/lib64 is a symbolic link of /usr/lib causes errors too.

I have included a very basic patch that adds -f to 'ln', which solved at least my issues.

This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers