mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-14 13:45:53 +00:00
Deb updating an existing package causes not found error when trying to remove? #27
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @danielmoncada on GitHub (May 3, 2018).
When updating an existing deb package on Ubuntu 16.04 server LTS, the following error is shown:
Looks like it might be a PATH issue? Note that rm is indeed available in /usr/bin/rm.
Update: Appears this happens only when RemoveOnUninstall is set.
@qmfrederik commented on GitHub (May 4, 2018):
That's odd... The call to
/usr/bin/rmis added in DebPackageCreator.cs, can you try using/bin/rminstead of/usr/bin/rm?@danielmoncada commented on GitHub (May 4, 2018):
@qmfrederik how can I allow the deb creator to use
/bin/rminstead?Note that "
rm" works perfectly outside of the Deb package.@Odirb commented on GitHub (May 16, 2018):
I had the same problem : /usr/bin/rm exists on CentOS but not on Ubuntu. Is it possible to replace the command with /bin/rm or maybe just rm in a future release?