asepsis icon indicating copy to clipboard operation
asepsis copied to clipboard

after latest sierra update, uninstall_wrapper fails

Open jcdufourd opened this issue 8 years ago • 9 comments

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

jcdufourd avatar Apr 06 '17 07:04 jcdufourd

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.

darwin avatar Apr 06 '17 09:04 darwin

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

dexcell avatar May 14 '17 01:05 dexcell

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 avatar May 18 '17 16:05 anonemusic

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.

anonemusic avatar May 18 '17 16:05 anonemusic

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.

godfat avatar Apr 03 '19 12:04 godfat

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

darwin avatar Apr 03 '19 13:04 darwin

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

godfat avatar Apr 03 '19 13:04 godfat

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

D-an-W avatar Apr 03 '19 21:04 D-an-W

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.

JK3Y avatar Apr 14 '19 14:04 JK3Y