Skip to content

invoke-rc.d missing --skip-systemd-native (Ubuntu Bionic) #848

@farmorg

Description

@farmorg

Good morning

Now that I've got the build working, the install fails with the following error:

Unpacking ngcp-rtpengine-utils (8.0.0.0+0mr8.0.0.0) ...
Setting up ngcp-rtpengine-daemon (8.0.0.0+0
mr8.0.0.0) ...
invoke-rc.d: syntax error: unknown option "--skip-systemd-native"
dpkg: error processing package ngcp-rtpengine-daemon (--install):
installed ngcp-rtpengine-daemon package post-installation script subprocess returned error exit status 1

This happens for all of the various .deb packages.

Google suggests that the --skip-systemd-native option was removed from upstream Debian.

I have tried editing the source code to remove all of the --skip-systemd-native entries and also in the install files in /var/lib/dpkg/info/ngcp* but weirdly they seem to reappear in the install files when I run dpkg-buildpackage.

The resulting package states:

dpkg -l | grep -i ngcp
iU ngcp-rtpengine 8.0.0.0+0mr8.0.0.0 all NGCP RTP/media proxy - meta package
iF ngcp-rtpengine-daemon 8.0.0.0+0
mr8.0.0.0 amd64 proxy for RTP and media streams used in NGCP, userspace part
ii ngcp-rtpengine-iptables 8.0.0.0+0mr8.0.0.0 amd64 IPtables extension module for the kernel-space NGCP media proxy
ii ngcp-rtpengine-kernel-dkms 8.0.0.0+0
mr8.0.0.0 all IPtables kernel module for the NGCP media proxy - DKMS
ii ngcp-rtpengine-kernel-source 8.0.0.0+0mr8.0.0.0 all IPtables kernel module for the NGCP media proxy - source
iF ngcp-rtpengine-recording-daemon 8.0.0.0+0
mr8.0.0.0 amd64 recording daemon for RTP and media streams
ii ngcp-rtpengine-utils 8.0.0.0+0~mr8.0.0.0 all scripts and Perl modules for NGCP rtpengine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions