The error message says file not found. Since you are trying to delete the package, it doesn't matter what that file is so just create a blank file to satisfy the uninstall script so that it will run without errors:
sudo mkdir /opt/vdhcoapp/
sudo touch /opt/vdhcoapp/vdhcoap
Now you can remove the package:
sudo dpkg --remove --force-remove-reinstreq net.downloadhelper.coapp:i386
If you get file not found for other files, then create those files too using the touch
command or just run the following command to create all the needed files:
for i in LICENSE.txt README.md ffmpeg ffprobe filepicker vdhcoapp xdg-open; do sudo touch /opt/vdhcoapp/$i; done
and then remove the package:
sudo dpkg --remove --force-remove-reinstreq net.downloadhelper.coapp:i386
To explain the last command, this is a "for loop" that runs the command sudo touch /opt/vdhcoapp/$i
where $i
is each variable listed after "for i in" — the loop runs the touch command for each one.
So it basically runs the following commands one by one until none are left:
sudo touch /opt/vdhcoapp/LICENSE.txt
sudo touch /opt/vdhcoapp/README.md
sudo touch /opt/vdhcoapp/ffmpeg
sudo touch /opt/vdhcoapp/ffprobe
sudo touch /opt/vdhcoapp/filepicker
sudo touch /opt/vdhcoapp/vdhcoapp
sudo touch /opt/vdhcoapp/xdg-open