How to erase KEXT packages?
Trying to erase the following KEXT packages, all in the same folder: /Library/StagedExtensions/Library/Extensions/
- RtWlanDisk.kext
- RtWlanU.kext
- RtWlanU1827.kext
OS: Mac OSX Catalina (10.15.7)
In Terminal:
- Changed directory: cd /Library/StagedExtensions/Library/Extensions
- Command sudo kextunload [name.kext] returned
(kernel) Kext com.realtek.driver.[name] not found for unload request. Failed to unload com.realtek.driver.[name] - (libkern/kext) not found
- Command sudo rm -rf [name.kext] returned
rm: [name.kext]/Contents/_CodeSignature/CodeResources: Operation not permitted
rm: [name.kext]/Contents/_CodeSignature: Operation not permitted
rm: [name.kext]/.kext/Contents/MacOS/RtWlanDisk: Operation not permitted
rm: [name.kext]/.kext/Contents/MacOS: Operation not permitted
rm: [name.kext]/.kext/Contents/Info.plist: Operation not permitted
rm: [name.kext]/.kext/Contents: Operation not permitted
rm: RtWlanDisk.kext: Operation not permitted
Help much appreciated. Thanks.
MacBook Air 13″, macOS 10.15