make_sandbox_from_installed: symbolic links creation errors

Bug #714517 reported by Kenny Gryp
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MySQL Sandbox
New
Undecided
Unassigned

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*:
/usr/lib/mysql
/usr/lib/mysql-mmm

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.

Revision history for this message
Kenny Gryp (gryp) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.