mv: cannot stat '/usr/lib/formant/sidecar/sudoers.d/formant': No such file or directory dpkg: error processing package formant-sidecar (--configure):
Issue details
When installing or uninstalling the Formant agent, I see the following error:
Setting up formant-sidecar (1.125.74) ...
mv: cannot stat '/usr/lib/formant/sidecar/sudoers.d/formant': No such file or directory
dpkg: error processing package formant-sidecar (--configure):
installed formant-sidecar package post-installation script subprocess returned error exit status 1
What's causing this? How do I install the Formant agent?
Troubleshooting steps
You have a version of formant-sidecar
installed which is unable to update or uninstall automatically. This issue affected a small number of formant-sidecar
installations and has since been resolved.
To remove this package, run the following commands:
sudo apt remove formant-agent
cd /var/lib/dpkg/info ; sudo rm formant-sidecar.*
sudo dpkg --purge --force-remove-reinstreq formant-sidecar
This will uninstall the Formant agent from your device, and then force remove all traces of the formant-sidecar
package.
Finally, you can reinstall the Formant agent on your device, as per Installing the Formant agent.
Updated about 1 year ago