Public bug reported:

Manfred Hampl (m-hampl) said It seems that the line
update-rc.d decnet start\ 39\ S\ .\ \ stop\ 11\ 1\ . >/dev/null
in the postinst script requires a change.

# Reproduced by
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.

** Affects: dnprogs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1805702

Title:
  dnet-common - post inst script update-rc.d has error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnprogs/+bug/1805702/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to