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

after latest sierra update, uninstall_wrapper fails #36

Open
jcdufourd opened this issue Apr 6, 2017 · 9 comments
Open

after latest sierra update, uninstall_wrapper fails #36

jcdufourd opened this issue Apr 6, 2017 · 9 comments

Comments

@jcdufourd
Copy link

after latest sierra update, uninstall_wrapper fails

DesktopServicesPriv wrapper was replaced by system version since last Asepsis installation.
Usually this is the case when you install a system update which updates DesktopServicesPriv related files.
=> continuing in wrapper uninstallation, but skipping backup restoration.
/Library/Application Support/Asepsis/ctl/lib/helpers.rb:86: warning: Insecure world writable dir /Users/dufourd/anaconda/bin in PATH, mode 040777

sudo "/usr/bin/codesign" --timestamp=none --force --sign - "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv"
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: replacing existing signature
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: Operation not permitted
failed with code pid 1268 exit 1

@darwin
Copy link
Member

darwin commented Apr 6, 2017

I'm not sure what caused this. Unfortunately I don't support Asepsis under 10.11+ systems.

Let's wait if more people report similar issues.

@dexcell
Copy link

dexcell commented May 14, 2017

Works without problem in my machine.
asepsisctl uninstall_wrapper works just fine

@anonemusic
Copy link

I have the same issue.

asepsisctl uninstall_wrapper
DesktopServicesPriv wrapper was replaced by system version since last Asepsis installation.
Usually this is the case when you install a system update which updates DesktopServicesPriv related files.
=> continuing in wrapper uninstallation, but skipping backup restoration.

sudo "/usr/bin/codesign" --timestamp=none --force --sign - "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv"
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: replacing existing signature
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: Operation not permitted
failed with code pid 839 exit 1

@anonemusic
Copy link

I figured it out. csrutil disable didn't kick in for a few tries. After 3rd try, it finally took it. I am not sure why it happened this way.

@godfat
Copy link

godfat commented Apr 3, 2019

I know probably no one knows how to fix this, but I just want to leave a note here as this is the only place I can find people having similar issues.

I just upgraded to macOS 10.12.6 and now asepsis broke.

> asepsisctl uninstall_wrapper
/Library/Application Support/Asepsis/ctl/lib/micro-optparse.rb:47: warning: constant ::Fixnum is deprecated
DesktopServicesPriv wrapper was replaced by system version since last Asepsis installation.
Usually this is the case when you install a system update which updates DesktopServicesPriv related files.
 => continuing in wrapper uninstallation, but skipping backup restoration.
> sudo "/usr/bin/codesign" --timestamp=none --force --sign - "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv"
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: replacing existing signature
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: Operation not permitted
failed with code pid 3333 exit 1

No matter how many times I tried, it didn't work.

@darwin
Copy link
Member

darwin commented Apr 3, 2019

@godfat use this fork which has a fix:
https://github.com/JK3Y/asepsis

@godfat
Copy link

godfat commented Apr 3, 2019

@darwin Interesting, thanks! I'll take a look and try to look deeper later.

@D-an-W
Copy link

D-an-W commented Apr 3, 2019

That fork does work for preventing DS files but for some reason iCloud Drive in Folder doesn't work with it.

@JK3Y
Copy link

JK3Y commented Apr 14, 2019

That fork does work for preventing DS files but for some reason iCloud Drive in Folder doesn't work with it.

This has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants