Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Not able to install on Armbian Jammy (Ubuntu 22.04.4) #107

Open
MeestorX opened this issue Mar 12, 2024 · 5 comments
Open

Not able to install on Armbian Jammy (Ubuntu 22.04.4) #107

MeestorX opened this issue Mar 12, 2024 · 5 comments

Comments

@MeestorX
Copy link

MeestorX commented Mar 12, 2024

Here's what I see when trying to install on a NanoPI-R4S. I BELIEVE it was installable on Bookworm (Debian), but I might have to go back and check...

root@nanopi-r4s:/opt/companion-module-dev# lsb_release -a

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.4 LTS
Release:	22.04
Codename:	jammy

root@nanopi-r4s:/opt/companion-module-dev# uname -i

aarch64

root@nanopi-r4s:/opt/companion-module-dev# dpkg -i rtpmidid_23.12_arm64.deb

Selecting previously unselected package rtpmidid.
(Reading database ... 26709 files and directories currently installed.)
Preparing to unpack rtpmidid_23.12_arm64.deb ...
Unpacking rtpmidid (23.12) ...
dpkg: dependency problems prevent configuration of rtpmidid:
 rtpmidid depends on libfmt9 (>= 9.1.0+ds1); however:
  Package libfmt9 is not installed.

dpkg: error processing package rtpmidid (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.10.2-1) ...
Errors were encountered while processing:
 rtpmidid

root@nanopi-r4s:/opt/companion-module-dev# apt -f install

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  rtpmidid
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 1,178 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 26717 files and directories currently installed.)
Removing rtpmidid (23.12) ...
Processing triggers for man-db (2.10.2-1) ...

apt install ./rtpmidid_23.12_arm64.deb didn't work at all either, BTW.

@MeestorX
Copy link
Author

MeestorX commented Mar 12, 2024

On Bookworm (Debian):

root@nanopi-r4s:~# lsb_release -a

No LSB modules are available.
Distributor ID:	Debian
Description:	Armbian 24.2.1 bookworm
Release:	12
Codename:	bookworm

root@nanopi-r4s:~# uname -i

unknown

root@nanopi-r4s:~# apt install ./rtpmidid_23.12_arm64.deb

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'rtpmidid' instead of './rtpmidid_23.12_arm64.deb'
The following additional packages will be installed:
  libfmt9
The following NEW packages will be installed:
  libfmt9 rtpmidid
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 107 kB/384 kB of archives.
After this operation, 1,399 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 /opt/companion-module-dev/rtpmidid_23.12_arm64.deb rtpmidid arm64 23.12 [278 kB]
Get:2 http://deb.debian.org/debian bookworm/main arm64 libfmt9 arm64 9.1.0+ds1-2 [107 kB]
Fetched 107 kB in 5s (20.6 kB/s)            
Selecting previously unselected package libfmt9:arm64.
(Reading database ... 42392 files and directories currently installed.)
Preparing to unpack .../libfmt9_9.1.0+ds1-2_arm64.deb ...
Unpacking libfmt9:arm64 (9.1.0+ds1-2) ...
Selecting previously unselected package rtpmidid.
Preparing to unpack .../rtpmidid_23.12_arm64.deb ...
Unpacking rtpmidid (23.12) ...
Setting up libfmt9:arm64 (9.1.0+ds1-2) ...
Setting up rtpmidid (23.12) ...
Created symlink /etc/systemd/system/network.target.wants/rtpmidid.service → /lib/systemd/system/rtpmidid.service.
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u4) ...

root@nanopi-r4s:/opt/companion-module-dev# 

@davidmoreno
Copy link
Owner

I see that ubuntu 22.04 uses libfmt8, not libfmt9 .. I will try to create a new package, but can not promise when.

Meanwhile you can try to create the packages with "make deb". But it may take some time on that nice NanoPI-R4S device.

@MeestorX
Copy link
Author

MeestorX commented Mar 17, 2024

I thought the install process was supposed to install any needed dependencies (like libfmt9), as we see Debian doing with apt install. How come it doesn't just install it if it's needed in Ubuntu?

@davidmoreno
Copy link
Owner

Yep. apt -f install does the install of missing dependencies. But It's compiled for newer distributions. Those that ship with libfmt9[1]. Ubuntu 22.04 ships with libfmt8[2].

I took care (although it may be out of date) to be able to compile with both versions. But must be recompiled.

[1] https://packages.debian.org/search?keywords=libfmt&searchon=names&suite=stable&section=all
[2] https://packages.ubuntu.com/search?keywords=libfmt&searchon=names&suite=jammy&section=all

@MeestorX
Copy link
Author

Sorry, it's my lack of understanding of all things linux.
I understand that Ubuntu 22.04 ships with libfmt8, but why doesn't apt install just install libfmt9 when it sees that the program needs it? I don't quite get why you have to do anything on your end.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants