[Bug 1712735] Re: 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
ChristianEhrhardt
1712735 at bugs.launchpad.net
Fri Aug 25 08:54:30 UTC 2017
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
Foundations Bugs, which is subscribed to debhelper in 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
Status in debhelper package in Ubuntu:
New
Status in open-vm-tools package in Ubuntu:
New
Bug description:
Test Case:
1. Install open-vm-tools-desktop
2. Uninstall open-vm-tools-desktop
ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: open-vm-tools-desktop (not installed)
ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic x86_64
ApportVersion: 2.20.6-0ubuntu7
Architecture: amd64
Date: Wed Aug 23 09:58:14 2017
ErrorMessage: le sous-processus script pre-removal installé a retourné une erreur de sortie d'état 5
InstallationDate: Installed on 2013-09-03 (1450 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
Python3Details: /usr/bin/python3.6, Python 3.6.2, python3-minimal, 3.6.1-0ubuntu3
PythonDetails: /usr/bin/python2.7, Python 2.7.13, python-minimal, 2.7.13-2
RelatedPackageVersions:
dpkg 1.18.24ubuntu1
apt 1.5~beta1
SourcePackage: open-vm-tools
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
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/1712735/+subscriptions
More information about the foundations-bugs
mailing list