Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paragon-ntfs fails to uninstall #29588

Closed
yurikoles opened this issue Jan 30, 2017 · 7 comments
Closed

paragon-ntfs fails to uninstall #29588

yurikoles opened this issue Jan 30, 2017 · 7 comments

Comments

@yurikoles
Copy link
Contributor

yurikoles commented Jan 30, 2017

This cask need to be installed manually via app /usr/local/Caskroom/paragon-ntfs/14/FSInstaller.app/. But I had decided to not install and now it fails to
uninstall because cask calls another app to uninstall it. I think the uninstall script should check if this app is really installed before trying to uninstall it

$ cask uninstall paragon-ntfs
==> Running uninstall process for paragon-ntfs; your password may be necessary
==> Removing launchctl service com.paragon.ntfs*
==> Removing launchctl service com.paragon.updater
==> Running uninstall script Uninstall.app/Contents/Resources/uninstallNTFS.sh
==> No receipt for 'com.paragon-software.filesystems.NTFS.pkg' found at '/'.
Error: Command failed to execute!

==> Failed command:
/usr/bin/sudo -E -- #<Pathname:/usr/local/Caskroom/paragon-ntfs/14/Uninstall.app/Contents/Resources/uninstallNTFS.sh>

==> Standard Output of failed command:


==> Standard Error of failed command:
No receipt for 'com.paragon-software.filesystems.NTFS.pkg' found at '/'.


==> Exit status of failed command:
#<Process::Status: pid 5879 exit 1>
@miccal
Copy link
Member

miccal commented Jan 30, 2017

I assume that this is related to brew cask list being broken.

@miccal miccal added the awaiting maintainer feedback Issue needs response from a maintainer. label Jan 30, 2017
@vitorgalvao
Copy link
Member

@yurikoles Do it with --force. It’s there precisely for cases like this.

There’s no reasonable way to check if an installer manual: cask is really installed.

@miccal miccal removed the awaiting maintainer feedback Issue needs response from a maintainer. label Jan 30, 2017
@yurikoles
Copy link
Contributor Author

yurikoles commented Feb 1, 2017

@vitorgalvao thank you for your suggestion, I didn't know about that flag for uninstall. But unfortunately it didn't work. It produces exactly same error every time, so please reopen.

@vitorgalvao
Copy link
Member

But unfortunately it didn't work.

What’s the output? And does it show in brew cask list?

@yurikoles
Copy link
Contributor Author

@vitorgalvao sorry for confusing, I meant that error is the same. And yes, it listed there.

@vitorgalvao
Copy link
Member

What if you delete the directory in $(brew --prefix)/Caskroom/paragon-ntfs?

@yurikoles
Copy link
Contributor Author

yurikoles commented Feb 1, 2017

It solves the problem, It was removed from brew list. But I feel weird doing such intrusion.

@lock lock bot locked as resolved and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants