netopeer2 fails to install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netopeer2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Setting up netopeer2 (2.0.35-1ubuntu1) ...
/usr/share/
dpkg: error processing package netopeer2 (--configure):
installed netopeer2 package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Errors were encountered while processing:
netopeer2
E: Sub-process /usr/bin/dpkg returned an error code (1)
Line 29 of that script is this:
PRIVPEM=`$OPENSSL genpkey -algorithm RSA -pkeyopt rsa_keygen_
Line 34 has a similar thing.
The script aborts because of 'set -e' on line 3.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: netopeer2 (not installed)
ProcVersionSign
Uname: Linux 5.15.0-48-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
Date: Tue Oct 25 15:50:23 2022
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: netopeer2
UpgradeStatus: Upgraded to jammy on 2022-09-26 (28 days ago)
Workaround until fixed:
apt install -y netopeer2 sysrepo-plugind libyang2-tools || true netopeer2/ merge_hostkey. sh netopeer2/ merge_config. sh
/usr/share/
/usr/share/
apt install -f