You are here

Install Fails For Ubuntu Studio 20.04.04LTS

4 posts / 0 new
Last post
Install Fails For Ubuntu Studio 20.04.04LTS

I am using CQRLog on Ubuntu Studio 20.04.01LTS, and already works fine for two years. Of course, it is upgraded to lastest.
>cqrlog/focal,now 2.5.2-1~focal amd64 [installed]

Now, I am trying to install other Ubuntu Studio 20.04.04LTS on other machine, but failed as follows:
$ sudo add-apt-repository ppa:ok2cqr/ppa;sudo apt-get update;sudo apt-get install cqrlog
CQRLOG is an advanced ham radio logger based on MySQL database. Provides radio control based on hamlib libraries (currently support of 140+ radio types and models), DX cluster connection, HamQTH/QRZ callbook (XML access), a grayliner, internal QSL manager database support and a most accurate country resolution algorithm based on country tables developed by OK1RR. CQRLOG is intended for daily general logging of HF, CW & SSB contacts and strongly focused on easy operation and maintenance.
More info:
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Preconfiguring packages ...
(Reading database ... 490080 files and directories currently installed.)
Removing default-mysql-client-core (1.0.5ubuntu2) ...
Removing default-mysql-server (1.0.5ubuntu2) ...
Removing default-mysql-server-core (1.0.5ubuntu2) ...
Removing mysql-server-8.0 (8.0.32-0ubuntu0.20.04.2) ...
Removing mysql-client-8.0 (8.0.32-0ubuntu0.20.04.2) ...
Removing mysql-client-core-8.0 (8.0.32-0ubuntu0.20.04.2) ...
Removing mysql-server-core-8.0 (8.0.32-0ubuntu0.20.04.2) ...
Selecting previously unselected package galera-3.
(Reading database ... 489866 files and directories currently installed.)
Preparing to unpack .../00-galera-3_25.3.29-1_amd64.deb ...
Unpacking galera-3 (25.3.29-1) ...
Selecting previously unselected package libdbi-perl:amd64.
Preparing to unpack .../01-libdbi-perl_1.643-1ubuntu0.1_amd64.deb ...
Unpacking libdbi-perl:amd64 (1.643-1ubuntu0.1) ...
Selecting previously unselected package libconfig-inifiles-perl.
Preparing to unpack .../02-libconfig-inifiles-perl_3.000002-1_all.deb ...
Unpacking libconfig-inifiles-perl (3.000002-1) ...
Selecting previously unselected package mariadb-client-core-10.3.
Preparing to unpack .../03-mariadb-client-core-10.3_1%3a10.3.38-0ubuntu0.20.04.1_amd64.deb ...
Unpacking mariadb-client-core-10.3 (1:10.3.38-0ubuntu0.20.04.1) ...
Selecting previously unselected package mariadb-client-10.3.
Preparing to unpack .../04-mariadb-client-10.3_1%3a10.3.38-0ubuntu0.20.04.1_amd64.deb ...
Unpacking mariadb-client-10.3 (1:10.3.38-0ubuntu0.20.04.1) ...
Selecting previously unselected package mariadb-server-core-10.3.
Preparing to unpack .../05-mariadb-server-core-10.3_1%3a10.3.38-0ubuntu0.20.04.1_amd64.deb ...
Unpacking mariadb-server-core-10.3 (1:10.3.38-0ubuntu0.20.04.1) ...
Selecting previously unselected package socat.
Preparing to unpack .../06-socat_1.7.3.3-2_amd64.deb ...
Unpacking socat ( ...
Selecting previously unselected package mariadb-server-10.3.
Preparing to unpack .../07-mariadb-server-10.3_1%3a10.3.38-0ubuntu0.20.04.1_amd64.deb ...
/var/lib/mysql: found previous version 5.7
Unpacking mariadb-server-10.3 (1:10.3.38-0ubuntu0.20.04.1) ...
Selecting previously unselected package libdbd-mysql-perl:amd64.
Preparing to unpack .../08-libdbd-mysql-perl_4.050-3_amd64.deb ...
Unpacking libdbd-mysql-perl:amd64 (4.050-3) ...
Selecting previously unselected package libmariadbclient-dev:amd64.
Preparing to unpack .../09-libmariadbclient-dev_1%3a10.3.38-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libmariadbclient-dev:amd64 (1:10.3.38-0ubuntu0.20.04.1) ...
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack .../10-libssl-dev_1.1.1f-1ubuntu2.17_amd64.deb ...
Unpacking libssl-dev:amd64 (1.1.1f-1ubuntu2.17) ...
Selecting previously unselected package libterm-readkey-perl.
Preparing to unpack .../11-libterm-readkey-perl_2.38-1build1_amd64.deb ...
Unpacking libterm-readkey-perl (2.38-1build1) ...
Selecting previously unselected package mariadb-client.
Preparing to unpack .../12-mariadb-client_1%3a10.3.38-0ubuntu0.20.04.1_all.deb ...
Unpacking mariadb-client (1:10.3.38-0ubuntu0.20.04.1) ...
Selecting previously unselected package mariadb-server.
Preparing to unpack .../13-mariadb-server_1%3a10.3.38-0ubuntu0.20.04.1_all.deb ...
Unpacking mariadb-server (1:10.3.38-0ubuntu0.20.04.1) ...
Selecting previously unselected package cqrlog.
Preparing to unpack .../14-cqrlog_2.5.2-1~focal_amd64.deb ...
Unpacking cqrlog (2.5.2-1~focal) ...
dpkg: error processing archive /tmp/apt-dpkg-install-ZVok4u/14-cqrlog_2.5.2-1~focal_amd64.deb (--unpack):
trying to overwrite '/usr/share/cqrlog/changelog.html', which is also in package cqrlog-data 2.4.0-3
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)

Changes removed from /etc/apparmor.d/local/usr.sbin.mysqld
Restarting apparmor...

Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Before this install, I did only "sudo apt-get install cqrlog", but MySQL did not work well. So I remove it with "sudo apt remove cqrlog".

Does Anyone help me?

Toshiyuki MORIYAMA
JA6VZB also AH0T

Install Fails For Ubuntu Studio 20.04.04LTS

HI Tosy!
It seems that you have there a package called "cqrlog-data 2.4.0-3" that has conflicts with the cqrlog_2.5.2-1~focal_amd64.deb

For some unknown reason Ubuntu has divided Cqrlog install as two packages. The "Data" package seems to be still in your computer.
Try to remove that first and then install Cqrlog again.

If you have a PC that has not had Cqrlog before it should be same what Cqrlog version you install for it.

Just install one and test that it works.

After that open my GitHub and do the update with "" script over the existing installation.

Then you have in use 2.6.0 official, or 2.6.0 Alpha, version by your selection.


Thank you but no lcuk

I tried "sudo apt remove cqrlog-data" and "sudp apt install cqrlog" was successfull, but I got error when starts cqrlog as follow:
calibre, version 4.99.4
ERROR: Loading book failed: Failed to open the book at /home/kc6vw/.config/cqrlog/database/mysql.err. Click "Show details" for more info.

Failed to convert book: /home/kc6vw/.config/cqrlog/database/mysql.err with error:
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Traceback (most recent call last):
File "/usr/bin/calibre-parallel", line 20, in
File "/usr/lib/calibre/calibre/utils/ipc/", line 195, in main
File "", line 1, in
File "/usr/lib/calibre/calibre/srv/", line 850, in viewer_main
File "/usr/lib/calibre/calibre/srv/", line 841, in render_for_viewer
return render(
File "/usr/lib/calibre/calibre/srv/", line 818, in render
book_fmt, opfpath, input_fmt = extract_book(pathtoebook, output_dir, log=default_log)
File "/usr/lib/calibre/calibre/ebooks/oeb/iterator/", line 54, in extract_book
plumber = Plumber(pathtoebook, tdir, log, view_kepub=view_kepub)
File "/usr/lib/calibre/calibre/ebooks/conversion/", line 755, in __init__
raise ValueError('No plugin to handle input format: '+input_fmt)
ValueError: No plugin to handle input format: err
So, I tried to, but no luck.
$ unzip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of or, and cannot find, period.
I got with wget.


Toshiyuki MORIYAMA
JA6VZB also AH0T

JA6VZB also AH0T

Install Fails For Ubuntu Studio 20.04.04LTS

Hi Tosy!

Yes, tested also with wget and it fails. Instead loading with web browser using "Download" button at works and then downloaded zip can be extracted.

Those python script errors look very weird. I have never seen like that. What is "calibre"?