Issue install/re-install dnet-common on 18.10/cosmic

Asked by Avi

strykar@i-5:~$ sudo apt list dnet-common
Listing... Done
dnet-common/cosmic,cosmic,now 2.65build1 all [installed]

strykar@i-5:~$ sudo apt remove dnet-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  dnet-common
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 106 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 225939 files and directories currently installed.)
Removing dnet-common (2.65build1) ...
Processing triggers for man-db (2.8.4-2) ...

strykar@i-5:~$ sudo apt install dnet-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  dnet-common
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/35.0 kB of archives.
After this operation, 106 kB of additional disk space will be used.
Preconfiguring packages ...
dnet-common: Skipping configure of DECnet
Selecting previously unselected package dnet-common.
(Reading database ... 225926 files and directories currently installed.)
Preparing to unpack .../dnet-common_2.65build1_all.deb ...
Unpacking dnet-common (2.65build1) ...
Processing triggers for systemd (239-7ubuntu10.4) ...
Processing triggers for man-db (2.8.4-2) ...
Setting up dnet-common (2.65build1) ...
dnet-common: Skipping configure of DECnet
usage: update-rc.d [-f] <basename> remove
       update-rc.d [-f] <basename> defaults
       update-rc.d [-f] <basename> defaults-disabled
       update-rc.d <basename> disable|enable [S|2|3|4|5]
  -f: force

The disable|enable API is not stable and might change in the future.
dpkg: error processing package dnet-common (--configure):
 installed dnet-common package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 dnet-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ uname -a
Linux i-5 4.18.0-11-generic #12-Ubuntu SMP Tue Oct 23 19:22:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

I've tried using aptitude and it doesn't give me any more info on the issue.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu dnprogs Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

I suggest that you create a bug report.

It seems that the line

  update-rc.d decnet start\ 39\ S\ .\ \ stop\ 11\ 1\ . >/dev/null

in the postinst script requires a change.

Can you help with this problem?

Provide an answer of your own, or ask Avi for more information if necessary.

To post a message you must log in.