hyx0329 / openstick-failsafe-guard

a bunch of systemd services for MSM8916 devices running debian
20 stars 5 forks source link

openstick-utils : Depends: qrtr-tools but it is not installable #2

Closed menggatot closed 2 years ago

menggatot commented 2 years ago
root@openstick:/tmp# apt install ./openstick-utils-basics-with-binaries.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 openstick-utils : Depends: qrtr-tools but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@openstick:/tmp# 

device model: uf896_v1.1 kernel: Linux openstick 5.15.0-handsomekernel+ #17 SMP PREEMPT Sun Feb 6 22:10:37 CST 2022 aarch64 GNU/Linux OS: Debian 11 (from HandsomeYingyan)

I already tried adding deb http://ftp.de.debian.org/debian sid main into source.list. But when I tried installing qrtr-tools I get.

The following additional packages will be installed:
  qrtr-tools
The following NEW packages will be installed:
  qrtr-tools
0 upgraded, 1 newly installed, 0 to remove and 215 not upgraded.
3 not fully installed or removed.
Need to get 0 B/14.8 kB of archives.
After this operation, 222 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 32539 files and directories currently installed.)
Preparing to unpack .../qrtr-tools_0.3+git20201207-2_arm64.deb ...
Unpacking qrtr-tools (0.3+git20201207-2) ...
dpkg: error processing archive /var/cache/apt/archives/qrtr-tools_0.3+git20201207-2_arm64.deb (--unpack):
 trying to overwrite '/usr/bin/qrtr-cfg', which is also in package qrtr 0.3+git20201207-0.2
Errors were encountered while processing:
 /var/cache/apt/archives/qrtr-tools_0.3+git20201207-2_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
hyx0329 commented 2 years ago

Well, I remove the requirement for qrtr-tools after 351ff413ccf696e6f2b260e265acc8d4512358b2 as it's a new name for the old one(I forget it) on debian bookworm, so the packages from github release page might not work on old debian releases(like bullseye, buster).

qrtr-tools and rmtfs are essential package to make the modem work. You also need to place the modem firmware to the suitable location.

You can generate all latest packages by cloning the repo and run make all-deb. Don't forget to install the necessary tools(fakeroot, dpkg-deb, make, etc.).