Installation of gammu-smsd fails with /lib/systemd/system/gammu-smsd.service:9: Neither a valid executable name nor an absolute path: ${CMAKE_INSTALL_FUL L_BINDIR}/gammu-smsd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gammu (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Installation of gammu-smsd fails with the following output
$ sudo apt install gammu-smsd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libdbi1 libgammu-i18n libgammu8 libgsmsd8 libodbc1 libpq5
Suggested packages:
gammu gammu-doc libmyodbc odbc-postgresql tdsodbc unixodbc-bin
The following NEW packages will be installed:
gammu-smsd libdbi1 libgammu-i18n libgammu8 libgsmsd8 libodbc1 libpq5
0 upgraded, 7 newly installed, 0 to remove and 4 not upgraded.
Need to get 1 073 kB of archives.
After this operation, 4 343 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Fetched 1 073 kB in 2s (433 kB/s)
Selecting previously unselected package libgammu8.
(Reading database ... 252660 files and directories currently installed.)
Preparing to unpack .../0-libgammu8
Unpacking libgammu8 (1.41.0-1) ...
Selecting previously unselected package libdbi1:amd64.
Preparing to unpack .../1-libdbi1_
Unpacking libdbi1:amd64 (0.9.0-5) ...
Selecting previously unselected package libodbc1:amd64.
Preparing to unpack .../2-libodbc1_
Unpacking libodbc1:amd64 (2.3.6-0.1build1) ...
Selecting previously unselected package libpq5:amd64.
Preparing to unpack .../3-libpq5_
Unpacking libpq5:amd64 (12.8-0ubuntu0.
Selecting previously unselected package libgsmsd8.
Preparing to unpack .../4-libgsmsd8
Unpacking libgsmsd8 (1.41.0-1) ...
Selecting previously unselected package gammu-smsd.
Preparing to unpack .../5-gammu-
Unpacking gammu-smsd (1.41.0-1) ...
Selecting previously unselected package libgammu-i18n.
Preparing to unpack .../6-libgammu-
Unpacking libgammu-i18n (1.41.0-1) ...
Setting up libdbi1:amd64 (0.9.0-5) ...
Setting up libpq5:amd64 (12.8-0ubuntu0.
Setting up libgammu8 (1.41.0-1) ...
Setting up libgammu-i18n (1.41.0-1) ...
Setting up libodbc1:amd64 (2.3.6-0.1build1) ...
Setting up libgsmsd8 (1.41.0-1) ...
Setting up gammu-smsd (1.41.0-1) ...
Adding user gammu to group dialout
dpkg-statoverride: warning: deprecated --force option; use --force-all instead
dpkg-statoverride: warning: deprecated --force option; use --force-all instead
dpkg-statoverride: warning: deprecated --force option; use --force-all instead
dpkg-statoverride: warning: deprecated --force option; use --force-all instead
Created symlink /etc/systemd/
Failed to start gammu-smsd.service: Unit gammu-smsd.service has a bad unit file setting.
See system logs and 'systemctl status gammu-smsd.service' for details.
invoke-rc.d: initscript gammu-smsd, action "start" failed.
● gammu-smsd.service - SMS daemon for Gammu
Loaded: bad-setting (Reason: Unit gammu-smsd.service has a bad unit file setting.)
Active: inactive (dead)
Docs: man:gammu-smsd(1)
окт 31 11:17:00 focal systemd[1]: /lib/systemd/
L_BINDIR}
окт 31 11:17:00 focal systemd[1]: gammu-smsd.service: Unit configuration has fatal error, unit will not be started.
окт 31 11:17:01 focal systemd[1]: /lib/systemd/
L_BINDIR}
окт 31 11:17:01 focal systemd[1]: gammu-smsd.service: Unit configuration has fatal error, unit will not be started.
окт 31 11:17:01 focal systemd[1]: /lib/systemd/
L_BINDIR}
окт 31 11:17:01 focal systemd[1]: gammu-smsd.service: Unit configuration has fatal error, unit will not be started.
dpkg: error processing package gammu-smsd (--configure):
installed gammu-smsd package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (245.4-4ubuntu3.13) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Errors were encountered while processing:
gammu-smsd
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gammu-smsd 1.41.0-1
ProcVersionSign
Uname: Linux 5.4.0-89-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: MATE
Date: Sun Oct 31 11:17:16 2021
InstallationDate: Installed on 2020-04-23 (555 days ago)
InstallationMedia: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
SourcePackage: gammu
UpgradeStatus: No upgrade log present (probably fresh install)