2025-01-21 06:17 PM
When attempting to install the MP1 SDK again on a machine that previously had the SDK installed in a different location I see the error:
Argument list too long SDK could not be set up. Relocate script failed. Abort!
What is the best method for uninstalling a previous installation of the SDK?
My objective was to relocate the SDK.
The console output is:
./st-image-weston-openstlinux-weston-stm32mp1.rootfs-x86_64-toolchain-5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06.sh -d /development/stm32mpuv5/Developer-Package/SDK
ST OpenSTLinux - Weston - (A Yocto Project Based Distro) SDK installer version 5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06
==================================================================================================================================
You are about to install the SDK to "/development/stm32mpuv5/Developer-Package/SDK". Proceed [Y/n]? Y
Extracting SDK................................................................................................................................................................................................................done
Setting it up...sed: preserving permissions for ‘/development/stm32mpuv5/Developer-Package/SDK/sedOawyYq’: Operation not permitted
mv: preserving permissions for ‘/development/stm32mpuv5/Developer-Package/SDK/relocate_sdk.sh’: Operation not permitted
/development/stm32mpuv5/Developer-Package/SDK/relocate_sdk.sh: 14: /usr/bin/python3: Argument list too long
SDK could not be set up. Relocate script failed. Abort!