Code Monkey home page Code Monkey logo

Comments (5)

davidmoreno avatar davidmoreno commented on June 12, 2024 1

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.

from rtpmidid.

MeestorX avatar MeestorX commented on June 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# 

from rtpmidid.

MeestorX avatar MeestorX commented on June 12, 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?

from rtpmidid.

davidmoreno avatar davidmoreno commented on June 12, 2024

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

from rtpmidid.

MeestorX avatar MeestorX commented on June 12, 2024

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.

from rtpmidid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.