Hi, can you please add conflict with kubectl-bin package?
Or even better instead of installing kubectl, just add this package as dependency.
Otherwise you get this:
error: failed to commit transaction (conflicting files)
google-cloud-sdk: /usr/bin/kubectl exists in filesystem
Errors occurred, no packages were upgraded.
Search Criteria
Package Details: google-cloud-cli 517.0.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/google-cloud-cli.git (read-only, click to copy) |
---|---|
Package Base: | google-cloud-cli |
Description: | A set of command-line tools for the Google Cloud Platform. Includes gcloud (with beta and alpha commands), gsutil, and bq. |
Upstream URL: | https://cloud.google.com/cli/ |
Keywords: | cloud gcloud gcp google sdk |
Licenses: | Apache-2.0 |
Conflicts: | google-cloud-sdk |
Provides: | google-cloud-sdk |
Replaces: | google-cloud-sdk |
Submitter: | PolarianDev |
Maintainer: | jvybihal |
Last Packager: | jvybihal |
Votes: | 190 |
Popularity: | 0.68 |
First Submitted: | 2023-03-08 09:33 (UTC) |
Last Updated: | 2025-04-02 08:09 (UTC) |
Dependencies (2)
- python (python37AUR, python311AUR, python310AUR)
- python-crcmod (optional) – [gsutil] verify the integrity of GCS object contents
Required by (14)
- arkade-bin (requires google-cloud-sdk) (optional)
- gcsfuse (requires google-cloud-sdk) (optional)
- gcsfuse-bin (requires google-cloud-sdk) (optional)
- google-cloud-cli-firestore-emulator
- google-cloud-cli-gke-gcloud-auth-plugin
- google-cloud-sdk-app-engine-java (requires google-cloud-sdk)
- google-cloud-sdk-app-engine-python (requires google-cloud-sdk)
- google-cloud-sdk-app-engine-python-extras (requires google-cloud-sdk)
- google-cloud-sdk-datastore-emulator (requires google-cloud-sdk)
- k3sup-bin (requires google-cloud-sdk) (optional)
- porter-bin (requires google-cloud-sdk) (optional)
- python-google-earthengine-api (requires google-cloud-sdk)
- repman (optional)
- repman-git (optional)
Sources (4)
Latest Comments
« First ‹ Previous 1 .. 21 22 23 24 25 26 27 28 29 30 31 Next › Last »
tkral commented on 2016-09-06 17:26 (UTC)
tengel commented on 2016-09-04 14:18 (UTC)
The symlink has been removed (it's listed in the RELEASE_NOTES for 124.0.0 as a new addition) for /usr/bin/endpointscfg.py to prevent conflict, and python2-crcmod has been added as an optdep. Release 124.0.0-2 pushed.
ishitatsuyuki commented on 2016-09-04 07:15 (UTC)
Seems a new conflict is here:
google-cloud-sdk: /usr/bin/endpointscfg.py exists in filesystem
/usr/bin/endpointscfg.py is owned by google-appengine-python-php 1.9.40-1
JP-Ellis commented on 2016-09-04 05:08 (UTC)
You should list `python2-crcmod` as an optional dependency since `gsutil` will make use of it. You can see that at https://cloud.google.com/storage/docs/gsutil/addlhelp/CRC32CandInstallingcrcmod
tengel commented on 2016-02-26 23:58 (UTC)
They've fixed the bootstrapping error in 98.0.0 as promised, the code looks rather different now. I backed out our fix with this release of 98.0.0-1 package.
tengel commented on 2016-02-17 00:59 (UTC)
Thanks for the heads up - I've pushed a new 96.0.0-2 PKGBUILD with this sed in it.
rdoursenaud commented on 2016-02-16 08:46 (UTC)
Since latest update, I get the following error:
Traceback (most recent call last):
File "/tmp/aur-google-cloud-sdk/pkg/google-cloud-sdk/opt/google-cloud-sdk/bin/bootstrapping/install.py", line 8, in <module>
import bootstrapping
File "/tmp/aur-google-cloud-sdk/pkg/google-cloud-sdk/opt/google-cloud-sdk/bin/bootstrapping/bootstrapping.py", line 9, in <module>
import setup
File "/tmp/aur-google-cloud-sdk/pkg/google-cloud-sdk/opt/google-cloud-sdk/bin/bootstrapping/setup.py", line 41, in <module>
reload(google)
ImportError: No module named google
There's an issue opened upstream with a workaround: https://code.google.com/p/google-cloud-sdk/issues/detail?id=538
To apply it to the PKGBUILD, add this at the end of the prepare() section:
cd "${srcdir}/${pkgname}"
sed -i "s/'google' in sys.modules/False/" bin/bootstrapping/setup.py
tengel commented on 2016-01-17 13:57 (UTC)
Thanks, fixed up that word boundary in sed. Did a quick grep of the bin/ directory and it looks like everything's solid again.
FrozenCow commented on 2016-01-17 13:13 (UTC)
google-cloud-sdk already contains `CLOUDSDK_PYTHON=python2`. The current PKGBUILD results in `CLOUDSDK_PYTHON=python22`. I fixed this by changing the line:
sed -i 's/CLOUDSDK_PYTHON=python/CLOUDSDK_PYTHON=python2/g' {} \;
to:
sed -i 's/CLOUDSDK_PYTHON=python\b/CLOUDSDK_PYTHON=python2/g' {} \;
vendion commented on 2015-12-17 11:52 (UTC)
@troyengel: Ah okay I wasn't aware that it checked if CLOUDSDK_PYTHON is set or not, I didn't logout and back in after installing so /etc/profile.d/google-cloud-sdk.sh was never sourced.
Pinned Comments