Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Ubuntu PPA #576

Open
AsciiWolf opened this issue Sep 16, 2024 · 2 comments
Open

Update Ubuntu PPA #576

AsciiWolf opened this issue Sep 16, 2024 · 2 comments

Comments

@AsciiWolf
Copy link
Contributor

Since version 2.5, CQRLOG depends on mariadb and does not work properly with original mysqld. There was no problem in Debian because it uses mariadb as its default mysql server, however it is broken in Ubuntu, (I believe) since 20.04, because Ubuntu uses mysqld as the default one.

It recently got changed in Debian to hard-depend on mariadb and a Stable Release Update for supported Ubuntu LTS releases was prepared.

However, Ubuntu developers have rejected the update and are not happy about it so it is possible that CQRLOG in Ubuntu (and its derivatives like Linux Mint) will sadly remain broken in future releases.

Because of this, please consider at least updating the official PPA to include releases for Ubuntu 22.04 and 24.04 to allow official installation of CQRLOG on modern Ubuntu (Linux Mint) systems.

Thanks!

@ok2cqr
Copy link
Owner

ok2cqr commented Sep 22, 2024

I just spend maybe 15 minutes trying to purge mariadb from the Ubuntu 24.04. Removed MariaDB packages went fine.

After a few attempts deleted:

  • /etc/mysql/FROZEN
  • /var/lib/mysql*
  • /var/log/mysql
  • /etc/mysql

Installed the mysql-server and it won't start first because of existing directories listed above. After purge mysql-server, deleted also configuration in /etc/mysql and all directories and after a new install the mysql-server wont start because it does not have any configuration. Shouldn't the install process create one?

I don't have time for this. I'm giving up creating any packages. Ubuntu has default MySQL, Debian MariaDB. Great! Now I have to create separate deb packages for Ubuntu and Debian as well. That's crazy! Another package for Linux Mint? As far as I know, they use MariaDB as default.

I don't have energy to solve that problems. I tried to use | in dependencies MariaDB | MySQL but it does not work at all. Now, I just create a .tar.gz with binaries and step by step guide how to install it. That's all, I won't spend hours trying to solve issues in Debian, later in Ubuntu and finally with Linux Mint. It does not make any sense. I'm giving it up.

With the first install, CQRLOG starts it's own mysql/mariadb-server instance and stores data into ~/.config/cqrlog. When I tried to do it with the mysql-server it failed with error message that I don't remember. There was no problem with MariaDB.

It's real PITA to develop anything with GUI for Linux. So many distributions with so many versions of everything from Lazarus, FPC, MySQL/MariaDB, openssl, tqsl, trustedqsl, GTK and other stuff. I don't want to spend time with this anymore. I'm giving it up.

@AsciiWolf
Copy link
Contributor Author

AsciiWolf commented Sep 22, 2024

Just give up on MySQL and use MariaDB like we did in Debian:

https://salsa.debian.org/debian-hamradio-team/cqrlog/-/commit/33bad7fa4511f96d4ff48a3b868b583798ee92d6

(MariaDB is available in Ubuntu 24.04 and works without any problems. Most applications that work with MySQL will also work fine with MariaDB.)

Ubuntu is probably moving back to MariaDB anyway (but that will not happen until 25.04).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants