| View previous topic :: View next topic |
| Author |
Message |
ralphschindler n00b

Joined: 03 Feb 2006 Posts: 2
|
Posted: Fri Feb 03, 2006 10:45 pm Post subject: Slotted MySQL Mess |
|
|
So far, not a fan. Ive emerged eselect-mysql 1.0.0-r1, using the ~x86 keyword installed 5.0.18-r30.
after installing (clean) ran this:
# eselect mysql list
Available MySQL versions:
[1] 5.0.x
# eselect mysql show
Current default MySQL version:
(unset)
# eselect mysql set 1
# eselect mysql show
Current default MySQL version:
(unset)
# mysql
-bash: mysql: command not found
# pwd; ls -l *mysql*
/usr/bin
-rwxr-xr-x 1 root root 1466 Feb 1 12:56 msql2mysql-500
-rwxr-xr-x 1 root root 74396 Feb 1 12:56 mysql-500
-rwxr-xr-x 1 root root 330472 Feb 1 12:56 mysql_client_test-500
.... etc ....
Eselect does not make links to the -500 binairies. Not only that, but I feel like this slotting technique dirtied up my file system.. Now I have a /etc/mysql link and a /etc/mysql-500... a /var/log/mysql-500 and a /var/lib/mysql-500
This is silly IMO. Can I have a non-slotted mysql? I dont compile things against the libs in /usr/lib so I have no interest in maintaining version compatibllity across dynamically linked libs.
How do I get my old ebuilds for mysql5 to compile to the standard non-500 locations?
-Ralph |
|
| Back to top |
|
 |
hielvc Advocate

Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Sat Feb 04, 2006 8:25 pm Post subject: |
|
|
Check " man portage ' for details but yo should be able to useing /etc/portage/package.mask or maybe its package.provided block out all mysqls but the version you want. Heck "emerge unmerge mysql -p " and unmerge the versions you no longer use, its like the every other day kernel updates  _________________ An A-Z Index of the Linux BASH command line |
|
| Back to top |
|
 |
blossa Apprentice

Joined: 13 Jan 2005 Posts: 169
|
Posted: Sat Feb 04, 2006 9:25 pm Post subject: |
|
|
| I just had the same issue (but using ~amd64) and I ended up unmerge mysql. Then I manually removed all remaining mysql-files and then emerged mysql again. I now only have *mysql-500* and no *mysql* directory names. I don't like it but atleast it works now. If I remember right I had a symlink like: '/etc/mysql/mysql-500 > /etc/mysql/mysql-500' (it pointed to itself) that totaly screwed up my mysql. |
|
| Back to top |
|
 |
ralphschindler n00b

Joined: 03 Feb 2006 Posts: 2
|
Posted: Mon Feb 06, 2006 4:33 pm Post subject: |
|
|
So does anyone know if there is a keyword or a switch to turn off slotting? Has anyone seen this in any other slotted ebuild?
-Ralph |
|
| Back to top |
|
 |
hielvc Advocate

Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Tue Feb 07, 2006 3:29 am Post subject: |
|
|
The abilty to slot is one of portages advantages. If you do an "emerge system -ep|grep make " you'll get 6 automake's listed. You need all six to handel old programs to new programs. In this instances, mysql, its problematic.Gentoo isnt a cookie cuter solution. The Devs try hard but when you runmning cutin edge ...... boo boo's happem. _________________ An A-Z Index of the Linux BASH command line |
|
| Back to top |
|
 |
Narada Guru

Joined: 12 Dec 2002 Posts: 300 Location: London, UK
|
Posted: Sun Feb 12, 2006 3:02 pm Post subject: |
|
|
I'm getting the same problem.
| Code: | harry ~ # eselect mysql list
Available MySQL versions:
[1] 5.0.x
harry ~ # eselect mysql set 1
harry ~ # eselect mysql show
Current default MySQL version:
(unset) |
I only have the *-500 commands and no symlinks are being created. Any tips would be much appreciated. _________________ http://dhruba.name/ |
|
| Back to top |
|
 |
djsmiley2k Tux's lil' helper

Joined: 08 Apr 2005 Posts: 79 Location: Coventry
|
Posted: Sun Feb 12, 2006 3:16 pm Post subject: |
|
|
I also had this problem, in the end i've stopped running a unstable system after a friend on irc went mental at me about it.
So back to version 4. something for me i guess. Im only installing it so i can use cacti and amarok properly anyway. :-/ |
|
| Back to top |
|
 |
boaglio n00b


Joined: 14 May 2004 Posts: 60 Location: Sao Paulo - Brazil
|
Posted: Mon Feb 13, 2006 2:29 am Post subject: |
|
|
How I solved this mess today:
| Code: |
# echo "=dev-db/mysql-5.0.18-r30" >> /etc/portage/package.mask
# emerge -C mysql
# ... remove mysql info, log, config files manually ...
# emerge mysql
|
|
|
| Back to top |
|
 |
Narada Guru

Joined: 12 Dec 2002 Posts: 300 Location: London, UK
|
Posted: Mon Feb 13, 2006 8:12 am Post subject: |
|
|
Yeah. I did the same.
| Code: | # take a snapshot of all installed mysql files
equery files mysql > ~/mysql.files
# remove the slotted mysql
emerge -C mysql-5.0.18-r30
# remove any remaining individual files in snapshot by hand
...
# install non-slotted mysql
emerge =dev-db/mysql-5.0.18 |
Now it's working nicely. _________________ http://dhruba.name/ |
|
| Back to top |
|
 |
XtAzY n00b

Joined: 18 Jan 2005 Posts: 23
|
Posted: Mon Feb 13, 2006 8:47 pm Post subject: |
|
|
| i hope this bug will be fixed asap =] .... now im using the non slotted version |
|
| Back to top |
|
 |
cobalt027 n00b

Joined: 11 Sep 2004 Posts: 3 Location: Columbus, OH
|
Posted: Tue Feb 14, 2006 9:01 pm Post subject: Ive tried that |
|
|
I've tried removing all referenes to the mysql installs. But everytime i the emerge =dev-db/mysql-5.0.18-r30. It still gives me the -500 stuff, and it doesnt work. I dont get the slotted message from portage, but it just doesnt work. Am i not removing something from the snapshot? What is a snapshot?
Im not that new to gentoo, just never wanted to have a bleeding edge server, and therefore never ran into these issues. |
|
| Back to top |
|
 |
hielvc Advocate

Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
| Back to top |
|
 |
p_ansell n00b

Joined: 12 May 2005 Posts: 33 Location: Brisbane, AU
|
|
| Back to top |
|
 |
p_ansell n00b

Joined: 12 May 2005 Posts: 33 Location: Brisbane, AU
|
Posted: Thu Mar 16, 2006 6:47 am Post subject: |
|
|
Despite the misleading name of the following link, It is actually the "Highly Publicised" notice that mysql is no longer slotted, with instructions on how to upgrade from slotted to unslotted.
http://www.gentoo.org/doc/en/mysql-upgrade-slotted.xml |
|
| Back to top |
|
 |
|