Reinstall of cqrlog fails after removing pre-existing mysql database

4 posts / 0 new
Last post
n0tdj
Reinstall of cqrlog fails after removing pre-existing mysql database

Running Ubuntu 22.04.5 LTS

Tried to install cqrlog, but it conflicted with existing (unused) mysqld already running.

Removed mysql-server, then did:


sudo apt uninstall cqrlog
sudo rm -rf ~/.config/cqrlog
sudo rm -rf /usr/share/cqrlog
sudo apt install cqrlog

Following messages appear:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
cqrlog
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4,474 kB of archives.
After this operation, 17.2 MB of additional disk space will be used.
Selecting previously unselected package cqrlog.
(Reading database ... 362524 files and directories currently installed.)
Preparing to unpack .../cqrlog_2.5.2-1_amd64.deb ...
Unpacking cqrlog (2.5.2-1) ...
Setting up cqrlog (2.5.2-1) ...
/var/lib/dpkg/info/cqrlog.postinst: 3: /usr/share/cqrlog/cqrlog-apparmor-fix: not found
dpkg: error processing package cqrlog (--configure):
installed cqrlog package post-installation script subprocess returned error exit status 127
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Errors were encountered while processing:
cqrlog
E: Sub-process /usr/bin/dpkg returned an error code (1)

oh1kh
Reinstall of cqrlog fails after removing pre-existing mysql data

HI!
You could try to install Cqrlog using script instead of Ubuntu packet install.

First do again you commands:
sudo apt uninstall cqrlog
sudo rm -rf ~/.config/cqrlog
sudo rm -rf /usr/share/cqrlog

After that try to run script found from this zip file:
https://github.com/OH1KH/cqrlog/blob/loc_testing/compiled/install_cqrlog...

I have tested it with clean Ubuntu 22.04 and it did the job ok.

--
Saku
OH1KH

n0tdj
Thank you, that worked!

Thank you, that worked!

Sorry for not combing the FAQ first.

73s

N0TDJ

n0tdj
Thanks, I will try that soon.

Thanks, I will try that soon.

N0TDJ