Dear AF, first of all, thank you for your reply, your reply is very helpful! When I try to remove the old objc(eg.libobjc4), clang* and llvm* are also removed. Since the old objc may conflict with objc2, is it possible to remove the old objc directly and have all packages on the system use libobjc2? (Even though I know this can be avoided by specifying an explicit library path) Thanks again!
Best regards! ------------------------------------------------------------- LOGs ----------------------------------------------------------------------------------- ~/demo>apt-cache depends clang-14 clang-14 Depends: libc6 Depends: libclang-cpp14 Depends: libgcc-s1 Depends: libllvm14 Depends: libstdc++6 Depends: libstdc++-12-dev Depends: libgcc-12-dev Depends: libobjc-12-dev Depends: libclang-common-14-dev Depends: llvm-14-linker-tools Depends: libclang1-14 Depends: libc6-dev Depends: binutils Recommends: llvm-14-dev Recommends: python3 Suggests: clang-14-doc Suggests: wasi-libc ~/demo>apt purge libobjc4 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: autotools-dev gnustep-common icu-devtools libclang1-14 libcurl3-nss libffi-dev libicu-dev libncurses-dev libncurses6 libnspr4 libnss3 libpfm4 libstdc++-12-dev libtinfo-dev libxml2-dev libyaml-0-2 libz3-dev llvm-14 llvm-14-dev llvm-14-linker-tools llvm-14-runtime llvm-14-tools nss-plugin-pem python3-pkg-resources python3-pygments python3-yaml Use 'apt autoremove' to remove them. The following packages will be REMOVED: clang* clang-14* gnustep-make* gobjc* gobjc-12* libobjc-12-dev* libobjc4* 0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded. After this operation, 36.5 MB disk space will be freed. Do you want to continue? [Y/n]
