PPA deactivated with "Alt-F2-software-properties-gtk"
---
I upgraded my system to Ubuntu 21.04. Now I have problems to install cqrlog. Mariadb is v10.5.
Cqrlog has a dependency to "libmariadbclient-dev" but it is not aailable in v10.5.
Any ideas?
Thanks.
Sven
sven@nuc6i5-sven:~$ sudo apt-get install cqrlog
[sudo] password for sven:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
cqrlog : Depends: libmariadbclient-dev but it is not installable
E: Unable to correct problems, you have held broken packages.
sven@nuc6i5-sven:~$
sven@nuc6i5-sven:~$
sven@nuc6i5-sven:~$ sudo apt-get install libmariadbclient-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libmariadbclient-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libmariadb-dev-compat libmariadb-dev
E: Package 'libmariadbclient-dev' has no installation candidate
sven@nuc6i5-sven:~$
HI Sven!
Fine that you solved it.
We would appreciate it if you would tell how you did it just by dropping line or two here. It might then help others having same kind of problem.
Thank you !
--
Saku
OH1KH
How you resolve the issue?
I have the same problem and do not know any solution yet.
The original solution of Sven was in the 1st line of his 1st post: "PPA deactivated..." -- this way, he has prevented cqrlog update, thus preventing the error to surface. A quick work-around.
Unfortunately, the same problem still persists. It prevented me to upgrade from Ubuntu 21.04 to 21.10. Disabling the cqrlog PPA would still be a work-around, but I wanted cqrlog upgraded, too. To do this, it is simple to re-pack the deb with deleting the wrong dependency requirement. I found this:
https://unix.stackexchange.com/questions/138188/easily-unpack-deb-edit-p...
That is, as root:
mkdir tmp
dpkg-deb -R original.deb tmp
# edit DEBIAN/control, remove libmariadbclient-dev
dpkg-deb -b tmp fixed.deb
# finally, install the new deb
dpkg -i fixed.deb