Fail is from ./open-vm-tools-desktop.prerm
+ ./open-vm-tools-desktop.prerm remove
+ pkill -USR1 -f (vmtoolsd.*vmusr|vmware-user)
+ true
+ [ -d /run/systemd/system ]
+ deb-systemd-invoke stop run-vmblock\x2dfuse.mount
+ [ -d /run/systemd/system ]
+ [ remove = remove ]
+ deb-systemd-invoke stop run-vmblockx2dfuse.mount
Failed to stop run-vmblockx2dfuse.mount: Unit run-vmblockx2dfuse.mount not
loaded.
That is actually by:
# Automatically added by dh_systemd_start/10.7.2ubuntu2
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
deb-systemd-invoke stop run-vmblock\x2dfuse.mount >/dev/null
fi
# End automatically added section
If e.g. installe din a container the modprobe fails anyway and it can't fuse.
There might be other reasons for the service to fail that are "ok" just like
this.
Further more it seems "ok" to not start, see the || true
# Automatically added by dh_systemd_start/10.7.2ubuntu2
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
deb-systemd-invoke start run-vmblock\x2dfuse.mount >/dev/null || true
fi
# End automatically added section
I wonder if it would be right to generate also the stop with a || true.
Maybe not as simple as that, but kind of a
1. stop it (ignore errors)
2. if not running, then all ok
3. only if after stop it is still running it is an error (e.g. can't remove
while running)
But that is a generic thing so it should be filed to debhelper as well
** Also affects: debhelper (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/1712735
Title:
package open-vm-tools-desktop (not installed) failed to
install/upgrade: le sous-processus script pre-removal installé a
retourné une erreur de sortie d'état 5
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/1712735/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs