SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Rep:
New MariaDB as replacement for Mysql
Just upgraded to the latest and note the change log that says the MariaDB is a drop in replacement for Mysql.
What it doesn't say is when doing the upgrade, does Mysql get automatically removed in favour of MariaDB, or do I need to manually remove Mysql after upgrading.
So, does upgrading using slackpkg automatically just replace Mysql or not. Only asking as obviously the commands are the same from what I read, but pkgtool still shows Mysql as an installed pkg, and a bit concerned that if I remove Mysql, it will in fact remove MariaDB which uses the same directory structure etc.
Just upgraded to the latest and note the change log that says the MariaDB is a drop in replacement for Mysql.
What it doesn't say is when doing the upgrade, does Mysql get automatically removed in favour of MariaDB, or do I need to manually remove Mysql after upgrading.
So, does upgrading using slackpkg automatically just replace Mysql or not. Only asking as obviously the commands are the same from what I read, but pkgtool still shows Mysql as an installed pkg, and a bit concerned that if I remove Mysql, it will in fact remove MariaDB which uses the same directory structure etc.
Hi,
When you use slackpkg it will be removed automatically. Look at the changelogs
this is what slackpkg does. When you execute "slackpkg install-new" it adds mariadb and when you execute "slackpkg clean-system" it removes mysql. When you do it manually you will have to remove mysql with pkgtool or with removepkg.
BTW, you will not notice much of the change, the commands when using mysql remain the same.
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Original Poster
Rep:
Yeah, get that. But: Slackpkg install-new followed by slackpkg upgrade-all does the new installing and upgrading as expected. Issuing slackpkg clean-system, or indeed a manual removepkg, what happens to those files that appear with the same name and location in both packages. For instance, removeing Mysql will remove /usr/libexec/mysqld which appears in both packages with the same name and location along with many others.
Just looking for a definitive answer really, but willing to give it a shot. After all, the worst it can do is screw up my installation
When deleting files, removepkg will analyze the contents of the other packages installed on your system, and will only
delete the files that are unique to the package being removed. Similarly, the installation scripts for all the other
packages will be considered when deciding whether or not to delete symbolic links from the package.
removepkg checks all dependencies. A file is deleted if it only belongs to the package which is removed. That's what removepkg says when it is executed. I suppose that slackpkg also uses removepkg when you run "clean-system".
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Original Poster
Rep:
Well, done as suggested and it seems that MariaDB may not be a drop in replacement after all. Had to revert to mysql in oder for kmail to keep working. It seems that using Mariadb prevents Akonadi from running due to a missing database driver, namely QMYSQL.
Am happy to go back to MariaDB if anyone has a solution.
Well, done as suggested and it seems that MariaDB may not be a drop in replacement after all. Had to revert to mysql in oder for kmail to keep working. It seems that using Mariadb prevents Akonadi from running due to a missing database driver, namely QMYSQL.
Am happy to go back to MariaDB if anyone has a solution.
Did you perform a complete upgrade of the packages in the changelogs from March 23? there was also l/akonadi upgraded.
Probably you should rebuild the packages which don't run properly.
removepkg checks all dependencies. A file is deleted if it only belongs to the package which is removed.
That is BTW an unique and powerful feature, which AFAIK is only available in Slackware. And it only works, because there is no dependency tree to obey.
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Original Poster
Rep:
Quote:
Originally Posted by markush
Did you perform a complete upgrade of the packages in the changelogs from March 23? there was also l/akonadi upgraded.
Probably you should rebuild the packages which don't run properly.
Markus
Yep. Been diligently keeping upgraded. Including the 23rd/25th/27th and 28th.
I'll try a reinstall of akonadi first before attempting a rebuild.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.