[Bug 1774859] Re: package netcat-openbsd 1.187-1ubuntu0.1 failed to install/upgrade: installed netcat-openbsd package post-installation script subprocess returned error exit status 2
Christian Ehrhardt
1774859 at bugs.launchpad.net
Mon Jun 4 05:52:47 UTC 2018
Hi,
from your logs
update-alternatives: error: cannot stat file '/usr/bin/nodejs': Too many levels of symbolic links
This is nothing that netcat-openbsd would touch in particular. If anything it might be part of the generic debian maintainer script snippets.
I tried the same upgrade last week and could run it without issues.
I'd assume that part of your path in /usr/bin/nodejs might really just be set up odd to trigger "Too many levels of symbolic links". Could you check the full path and how it's symbolic links are.
If they are broken - which is the most likely atm - then this is not an issue of this package but your setup.
I hope that helps you to resolve the issue on your local system.
Please update if all components of /usr/bin/nodejs are really "normal".
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netcat-openbsd in Ubuntu.
https://bugs.launchpad.net/bugs/1774859
Title:
package netcat-openbsd 1.187-1ubuntu0.1 failed to install/upgrade:
installed netcat-openbsd package post-installation script subprocess
returned error exit status 2
Status in netcat-openbsd package in Ubuntu:
Incomplete
Bug description:
was just using "sudo apt-get upgrade" after update, and returned with
error
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: netcat-openbsd 1.187-1ubuntu0.1
ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
Uname: Linux 4.15.0-22-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.1
Architecture: amd64
Date: Sun Jun 3 08:33:04 2018
Dependencies:
gcc-8-base 8-20180414-1ubuntu2
libbsd0 0.8.7-1
libc6 2.27-3ubuntu1
libgcc1 1:8-20180414-1ubuntu2
DuplicateSignature:
package:netcat-openbsd:1.187-1ubuntu0.1
Setting up netcat-openbsd (1.187-1ubuntu0.1) ...
update-alternatives: error: cannot stat file '/usr/bin/nodejs': Too many levels of symbolic links
dpkg: error processing package netcat-openbsd (--configure):
installed netcat-openbsd package post-installation script subprocess returned error exit status 2
ErrorMessage: installed netcat-openbsd package post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2018-05-27 (7 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
dpkg 1.19.0.5ubuntu2
apt 1.6.1
SourcePackage: netcat-openbsd
Title: package netcat-openbsd 1.187-1ubuntu0.1 failed to install/upgrade: installed netcat-openbsd package post-installation script subprocess returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netcat-openbsd/+bug/1774859/+subscriptions
More information about the foundations-bugs
mailing list