Page MenuHomePhabricator

'insserv: script virtualbox-guest-utils.anondist-orig: service vboxguest already provided!' issue during apt-get install/upgrade
Closed, ResolvedPublic

Description

This is visible during package installation / upgrade.

insserv: script virtualbox-guest-utils.anondist-orig: service vboxguest already provided!
insserv: script virtualbox-guest-utils.anondist-orig: service virtualbox-guest-utils already provided!
insserv: script virtualbox-guest-utils.anondist: service vboxguest already provided!
insserv: script virtualbox-guest-utils.anondist: service virtualbox-guest-utils already provided!

It doesn't break anything, but is certainly a message that will cause confusion.

How to reproduce:

update-rc.d haveged defaults

(Works with any, haveged, tor, anything.)

This is problematic, because most packages postinst scripts include update-rc.d.

package:
https://github.com/Whonix/vbox-disable-timesync

Debug output:

user@host:~$ ls -la /etc/init.d/virtualbox-guest-utils*
lrwxrwxrwx 1 root root   31 May 20 16:19 /etc/init.d/virtualbox-guest-utils -> virtualbox-guest-utils.anondist
-rwxr-xr-x 1 root root 2168 Aug 15  2013 /etc/init.d/virtualbox-guest-utils.anondist
-rwxr-xr-x 1 root root 2146 Mar  4 09:34 /etc/init.d/virtualbox-guest-utils.anondist-orig

Maybe this can be solved by using config-package-dev's hide operation instead of the displace operation.

Details

Impact
High

Event Timeline

Patrick raised the priority of this task from to Normal.
Patrick updated the task description. (Show Details)
Patrick set Impact to High.
Patrick added subscribers: Patrick, nrgaway, HulaHoop.
Patrick changed the task status from Open to Review.May 23 2015, 12:09 AM

fix 'insserv: script virtualbox-guest-utils.anondist-orig: service vboxguest already provided!' issue during apt-get install/upgrade - https://phabricator.whonix.org/T321:
https://github.com/Whonix/vbox-disable-timesync/commit/383bc1c1f5d7cf9186db36488e904bc4fac47f16

backwards compatibility fix:
https://github.com/Whonix/vbox-disable-timesync/commit/e688100a72090439312866f6f3df1a30e30de93d

Fixed in Whonix 11.0.0.2.0-developers-only.