[SOLVED] cqrlog_2.5.1-1 is not installable on debian testing

6 posts / 0 new
Last post
ik0dwj
ik0dwj's picture
[SOLVED] cqrlog_2.5.1-1 is not installable on debian testing

HI!
After downloading the deb package from GitHub...

# gdebi cqrlog_2.5.1-1_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
This package is not installable
Dependency is not satisfiable: libhamlib2 (>= 1.2.10)

There is " libhamlib4 " on debian testing.

73

CX1FK
install version 2.4 with

install version 2.4 with synaptic
then manually upgrade to 2.5.1
I use debian testing
i have installed libhamlib2 for cqrlog
libhamlib4 for wsjtx

ik0dwj
ik0dwj's picture
I like simple things

Hi! Thanks for the reply.

In current bullseye packages, libhamlib2 has been retired. I prefer to avoid looking back. I currently use the two packages of "cqrlog" and "cqrlog-data" version 2.4.0-4 present in the debian testing and sid archives. This version is very good and automatically uses libhamlib4. I am a simple user, unwilling to fix every time. I choose to wait for the new version on debian testing which is the most elegant solution, also because the original developers have always done this and I thank them. In the messy multitude of linux distributions, the availability of a flatpak version of cqrlog inside a sandbox would solve any problem related to their differences. Meanwhile, I use CHIRP in the flatpak version which works fine, when the current version of CHIRP on debian testing is old and even broken. Flatpak allowed me to continue using CHIRP on a rolling distro that transforms itself the next day.

73

--
Giuseppe
IKØDWJ

ik0dwj
ik0dwj's picture
However, I had to do something.

Hi!

I just needed to change the dependency references from the old libhamlib version 2 to the new version 4, available on my debian testing.
I should have extracted the "control" file from the .deb package (dependency references are in this file), and rebuilt the package, that's all! Debian allows you to do this.

I had already downloaded the new version cqrlog_2.5.1-1_amd64.deb from GitHub, so step by step these are the commands given on the linux console using the features of debian.

$ mkdir cqrlog_2.5.1-1_amd64

$ dpkg -e cqrlog_2.5.1-1_amd64.deb cqrlog_2.5.1-1_amd64

$ dpkg -x cqrlog_2.5.1-1_amd64.deb cqrlog_2.5.1-1_amd64

$ cd cqrlog_2.5.1-1_amd64/

$ vi control
(in the "control" file I changed the references to libhamlib version 4 and so also to libhamlib-utils)

$ mkdir DEBIAN

$ mv control md5sums DEBIAN/

$ cd ..

$ dpkg -b cqrlog_2.5.1-1_amd64
This command recreated the .deb package with the hamlib dependency changes.

Finally I installed it with "gdebi" and this time it worked:
# gdebi cqrlog_2.5.1-1_amd64.deb

And here I am playing with the new 2.5.1-1 release, and it works fine on my laptop connected to my TS-590 rtx. Thanks to debian I installed the package in standard mode as I prefer.

Please note:
In debian, before installing the new single-package version of cqrlog, you need to uninstall the two packages of "cqrlog" and "cqrlog-data" (cqrlog-data is the package containing the architecture-independent data files).

73

--
Giuseppe
IKØDWJ

4x4fd
cqrlog 2.5.1

I got stuck when i came to vi control

ik0dwj
ik0dwj's picture
vi control

Hi!
"vi" or "vim" is a text editor, you can use gedit or whatever you want to open the "control" file which is a simple text file.

--
Giuseppe
IKØDWJ