Thank you Holly, I understood your explanation. I'm now installing the 4.0.25 version.
Leandro. 2005/12/3, Holly Bostick <[EMAIL PROTECTED]>: > Leandro Melo de Sales schreef: > > Hi folks, > > > > Recently I installed mysql using emerge mysql, but the version that > > was installed is 4.1.14, but I'd like to install the last available > > version of the 4.0 release. How can I do this? > > > > > dev-db/mysql > Available versions: 3.23.58-r1 4.0.25-r2 ~4.0.26 4.1.14 ~4.1.15 > ~4.1.15-r1 *4.1.15-r30 ~5.0.15 ~5.0.16-r3 *5.0.16-r30 > Installed: none > Homepage: http://www.mysql.com/ > Description: A fast, multi-threaded, multi-user SQL > database server > > > So I guess you want 4.0.26? Well, that's unstable, and the fact that you > just installed 4.1.14 suggests that your ACCEPT_KEYWORDS setting in > /etc/make.conf is set to stable (assuming x86 arch). > > The best way to solve this would be by using a mixture of settings in > /etc/portage/package.mask and /etc/portage/package.keywords: > > Assuming that the directory /etc/portage exists already (create it if not): > > (as root) > > echo ">=dev-db/mysql-4.1.14" >>/etc/portage/package.mask > > to mask all versions of mysql greater than or equal to 4.1.14 > > and > > echo "dev-db/mysql ~x86" >>/etc/portage/package.keywords > > to unmask the unstable versions below the masked version (thus 4.0.26). > > or you could unmask the specific version using > > echo "=dev-dv/mysql-4.0.26 ~x86" >>/etc/portage/package.keywords > > but be warned that this will not enable you to upgrade if 4.0.26 is > revised (4.0.26-r1) or upgraded (4.0.27), as those will still be masked > by the ~arch keword, as opposed to the previous command, which unmasks > all future unstable versions below 4.1.14. > > If you use a different arch, change the "~x86" to your correct arch > (assuming that the version of mysql you want is available for that arch; > if it is not, adapt the above commands to the available versions that > you want to mask and unmask. > > Then an emerge -uav world should come up with a [UD] for mysql (the > upgrade is a downgrade), and whatever else might need to be updated on > your system; if you don't want to emerge the other upgrades, just do an > emerge -uav mysql (but that will put mysql in your world file if it was > previously installed as a dependency of something else, and you may or > may not want mysql in your world file. But that's your choice). > > Hope this helps. > Holly > -- > gentoo-user@gentoo.org mailing list > -- gentoo-user@gentoo.org mailing list