Public bug reported: trying to install gammu smsd and experienced errors.
apt-get install gammu gammu-smsd Reading package lists... Done Building dependency tree Reading state information... Done gammu is already the newest version (1.41.0-1). The following packages were automatically installed and are no longer required: chromium-codecs-ffmpeg-extra gstreamer1.0-vaapi libgstreamer-plugins-bad1.0-0 libva-wayland2 Use 'apt autoremove' to remove them. The following additional packages will be installed: libdbi1 libgsmsd8 libodbc1 libpq5 Suggested packages: gammu-doc libmyodbc odbc-postgresql tdsodbc unixodbc-bin The following NEW packages will be installed: gammu-smsd libdbi1 libgsmsd8 libodbc1 libpq5 0 upgraded, 5 newly installed, 0 to remove and 119 not upgraded. Need to get 329 kB/445 kB of archives. After this operation, 1,457 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ke.archive.ubuntu.com/ubuntu focal/main amd64 libdbi1 amd64 0.9.0-5 [27.3 kB] Get:1 http://ke.archive.ubuntu.com/ubuntu focal/main amd64 libdbi1 amd64 0.9.0-5 [27.3 kB] Get:2 http://ke.archive.ubuntu.com/ubuntu focal/main amd64 libodbc1 amd64 2.3.6-0.1build1 [189 kB] Err:2 http://ke.archive.ubuntu.com/ubuntu focal/main amd64 libodbc1 amd64 2.3.6-0.1build1 Cannot initiate the connection to ke.archive.ubuntu.com:80 (2c0f:fe40:8001:10::2). - connect (101: Network is unreachable) Could not connect to ke.archive.ubuntu.com:80 (197.155.77.2), connection timed out [IP: 197.155.77.2 80] Err:3 http://ke.archive.ubuntu.com/ubuntu focal/universe amd64 libgsmsd8 amd64 1.41.0-1 Cannot initiate the connection to ke.archive.ubuntu.com:80 (2c0f:fe40:8001:10::2). - connect (101: Network is unreachable) [IP: 197.155.77.2 80] Err:4 http://ke.archive.ubuntu.com/ubuntu focal/universe amd64 gammu-smsd amd64 1.41.0-1 Cannot initiate the connection to ke.archive.ubuntu.com:80 (2c0f:fe40:8001:10::2). - connect (101: Network is unreachable) [IP: 197.155.77.2 80] Fetched 20.6 kB in 2min 31s (136 B/s) E: Failed to fetch http://ke.archive.ubuntu.com/ubuntu/pool/main/u/unixodbc/libodbc1_2.3.6-0.1build1_amd64.deb Cannot initiate the connection to ke.archive.ubuntu.com:80 (2c0f:fe40:8001:10::2). - connect (101: Network is unreachable) Could not connect to ke.archive.ubuntu.com:80 (197.155.77.2), connection timed out [IP: 197.155.77.2 80] E: Failed to fetch http://ke.archive.ubuntu.com/ubuntu/pool/universe/g/gammu/libgsmsd8_1.41.0-1_amd64.deb Cannot initiate the connection to ke.archive.ubuntu.com:80 (2c0f:fe40:8001:10::2). - connect (101: Network is unreachable) [IP: 197.155.77.2 80] E: Failed to fetch http://ke.archive.ubuntu.com/ubuntu/pool/universe/g/gammu/gammu-smsd_1.41.0-1_amd64.deb Cannot initiate the connection to ke.archive.ubuntu.com:80 (2c0f:fe40:8001:10::2). - connect (101: Network is unreachable) [IP: 197.155.77.2 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? root@vincent-HP-EliteBook-Folio-1040-G2:~# apt-get install gammu gammu-smsd Reading package lists... Done Building dependency tree Reading state information... Done gammu is already the newest version (1.41.0-1). The following packages were automatically installed and are no longer required: chromium-codecs-ffmpeg-extra gstreamer1.0-vaapi libgstreamer-plugins-bad1.0-0 libva-wayland2 Use 'apt autoremove' to remove them. The following additional packages will be installed: libdbi1 libgsmsd8 libodbc1 libpq5 Suggested packages: gammu-doc libmyodbc odbc-postgresql tdsodbc unixodbc-bin The following NEW packages will be installed: gammu-smsd libdbi1 libgsmsd8 libodbc1 libpq5 0 upgraded, 5 newly installed, 0 to remove and 119 not upgraded. Need to get 302 kB/445 kB of archives. After this operation, 1,457 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ke.archive.ubuntu.com/ubuntu focal/main amd64 libodbc1 amd64 2.3.6-0.1build1 [189 kB] Get:2 http://ke.archive.ubuntu.com/ubuntu focal/universe amd64 libgsmsd8 amd64 1.41.0-1 [45.2 kB] Get:3 http://ke.archive.ubuntu.com/ubuntu focal/universe amd64 gammu-smsd amd64 1.41.0-1 [66.8 kB] Fetched 295 kB in 2s (128 kB/s) Selecting previously unselected package libdbi1:amd64. (Reading database ... 186341 files and directories currently installed.) Preparing to unpack .../libdbi1_0.9.0-5_amd64.deb ... Unpacking libdbi1:amd64 (0.9.0-5) ... Selecting previously unselected package libodbc1:amd64. Preparing to unpack .../libodbc1_2.3.6-0.1build1_amd64.deb ... Unpacking libodbc1:amd64 (2.3.6-0.1build1) ... Selecting previously unselected package libpq5:amd64. Preparing to unpack .../libpq5_12.9-0ubuntu0.20.04.1_amd64.deb ... Unpacking libpq5:amd64 (12.9-0ubuntu0.20.04.1) ... Selecting previously unselected package libgsmsd8. Preparing to unpack .../libgsmsd8_1.41.0-1_amd64.deb ... Unpacking libgsmsd8 (1.41.0-1) ... Selecting previously unselected package gammu-smsd. Preparing to unpack .../gammu-smsd_1.41.0-1_amd64.deb ... Unpacking gammu-smsd (1.41.0-1) ... Setting up libdbi1:amd64 (0.9.0-5) ... Setting up libpq5:amd64 (12.9-0ubuntu0.20.04.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/system/multi-user.target.wants/gammu-smsd.service → /lib/systemd/system/gammu-smsd.service. 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) Gur 09 23:45:18 vincent-HP-EliteBook-Folio-1040-G2 systemd[1]: /lib/systemd/system/gammu-smsd.service:9: Neither a valid executable name nor an absolute path: ${CMAKE_INSTALL_FULL_BINDIR}/gammu-smsd Gur 09 23:45:18 vincent-HP-EliteBook-Folio-1040-G2 systemd[1]: gammu-smsd.service: Unit configuration has fatal error, unit will not be started. Gur 09 23:45:18 vincent-HP-EliteBook-Folio-1040-G2 systemd[1]: /lib/systemd/system/gammu-smsd.service:9: Neither a valid executable name nor an absolute path: ${CMAKE_INSTALL_FULL_BINDIR}/gammu-smsd Gur 09 23:45:18 vincent-HP-EliteBook-Folio-1040-G2 systemd[1]: gammu-smsd.service: Unit configuration has fatal error, unit will not be started. Gur 09 23:45:19 vincent-HP-EliteBook-Folio-1040-G2 systemd[1]: /lib/systemd/system/gammu-smsd.service:9: Neither a valid executable name nor an absolute path: ${CMAKE_INSTALL_FULL_BINDIR}/gammu-smsd Gur 09 23:45:19 vincent-HP-EliteBook-Folio-1040-G2 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.15) ... 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: Package DistroRelease: Ubuntu 20.04 Package: gammu-smsd 1.41.0-1 ProcVersionSignature: Ubuntu 5.13.0-27.29~20.04.1-generic 5.13.19 Uname: Linux 5.13.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.21 Architecture: amd64 CasperMD5CheckResult: skip Date: Wed Feb 9 23:45:19 2022 ErrorMessage: installed gammu-smsd package post-installation script subprocess returned error exit status 1 InstallationDate: Installed on 2022-01-18 (21 days ago) InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819) Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: dpkg 1.19.7ubuntu3 apt 2.0.6 SourcePackage: gammu Title: package gammu-smsd 1.41.0-1 failed to install/upgrade: installed gammu-smsd package post-installation script subprocess returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: gammu (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package focal need-duplicate-check -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1960451 Title: package gammu-smsd 1.41.0-1 failed to install/upgrade: installed gammu-smsd package post-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gammu/+bug/1960451/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs