Thanks @lace and @JcNils for the reports. I have removed the symlink for lld
.
No other symlinks are conflicting with the packages in the official repo.
Moving the symlink to /usr/local/bin
is no option, no package should use this directory.
Git Clone URL: | https://aur.archlinux.org/android-sdk-build-tools.git (read-only, click to copy) |
---|---|
Package Base: | android-sdk-build-tools |
Description: | Build-Tools for Google Android SDK (aapt, aidl, dexdump, dx, llvm-rs-cc) |
Upstream URL: | https://developer.android.com/studio/releases/build-tools |
Keywords: | android |
Licenses: | custom |
Submitter: | xgdgsc |
Maintainer: | aminvakil |
Last Packager: | aminvakil |
Votes: | 490 |
Popularity: | 2.27 |
First Submitted: | 2013-05-16 03:44 (UTC) |
Last Updated: | 2025-05-30 11:20 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 12 Next › Last »
Thanks @lace and @JcNils for the reports. I have removed the symlink for lld
.
No other symlinks are conflicting with the packages in the official repo.
Moving the symlink to /usr/local/bin
is no option, no package should use this directory.
Trying to update or remove. I got the same error as @1ace
Maybe put the binaries/symlinks in /usr/local/bin/
528650baac4e broke the package:
error: failed to commit transaction (conflicting files)
android-sdk-build-tools: /usr/bin/lld exists in filesystem (owned by lld)
@mynacol Am I manually supposed to source /etc/profile in my zshenv or equivalent? Because the binaries are not in my path.
Nevermind. Reinstalling did the trick. Not sure why it wasn't working before.
If anyone has warnings regarding the permissions of files, I apologize. The easiest method to fix this is to uninstall and reinstall the latest version of this package.
@txtsd append_path
is a function that /etc/profile
provides for scripts in /etc/profile.d/
. Any login shell will source /etc/profile
, which will source all /etc/profile.d/
scripts. You should do this, else e.g. perl executables under /usr/bin/vendor_perl/
are not in your PATH
.
Nonetheless, I did introduce the symlinks, primarily, because in the directory with the executables are other files. Anyone who wants to use other exectables with the same name should prepend the PATH
.
Also why not just make symlinks to the executables in /usr/bin/ since this package is not tied to any version?
/etc/profile.d/android-sdk-build-tools.sh: line 1: append_path: command not found
What package is this command a part of?
@mynacol Ah yes, that would be good please - I have a better reason now too, since upgrading meant my (it happened to be a symlink, but, equivalently, PATH) solution broke, due to the directory name change.
I don't think I source from /etc/profile.d/*
currently, but it seems like I probably should be, so that's fine, thanks.
Pinned Comments
aminvakil commented on 2025-03-26 13:43 (UTC)
This repository is maintained at https://github.com/aminvakil/aur.
In case anyone had any suggestions about anything, feel free to raise a PR there.