Package Details: google-cloud-cli-bq 532.0.0-1

Git Clone URL: https://aur.archlinux.org/google-cloud-cli.git (read-only, click to copy)
Package Base: google-cloud-cli
Description: BigQuery Command Line Tool
Upstream URL: https://cloud.google.com/cli/
Keywords: cloud gcloud gcp google sdk
Licenses: Apache-2.0
Provides: google-cloud-cli-bq
Submitter: PolarianDev
Maintainer: jvybihal
Last Packager: jvybihal
Votes: 191
Popularity: 0.32
First Submitted: 2023-03-08 09:33 (UTC)
Last Updated: 2025-07-31 07:15 (UTC)

Pinned Comments

jvybihal commented on 2025-06-30 06:37 (UTC)

I did a split of the package to 3 packages: google-cloud-cli, google-cloud-cli-bq, google-cloud-cli-gsutil. There is also package containing the bundled python for those who want it or as a dependency to the gsutil (current version 5.24 does not work with python 3.13 out-of-the-box, although 5.25 which is already available on github should). I am also testing to include other "components".

If there will be interest, it's also possible to split the manpages to another package. So for those who don't want them, the install time can get faster and size significantly smaller.

I have tried not to break anyones installation, so please try to install the 3 mentioned packages and it should work the same as before.

You don't need bundled python for the gcloud to work, and I would advice to use gsutil only if yo really have to. The prefered way is to use gcloud storage anyway.

Latest Comments

« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 17 .. 33 Next › Last »

sudoforge commented on 2022-09-29 00:34 (UTC)

@mr-ubik after some investigation, it doesn't seem like that's the source of your issue.

Please run the following commands in a shell that you encounter that error and submit the output you get as a comment here or in the github issue:

$ gcloud --version ; { [ -z "$CLOUDSDK_PYTHON" ] && echo "CLOUDSDK_PYTHON unset" ; } || { echo "CLOUDSDK_PYTHON: ${CLOUDSDK_PYTHON}" && type -S "$CLOUDSDK_PYTHON" ; }

sudoforge commented on 2022-09-29 00:02 (UTC)

@mr-ubik oof, they must have reintroduced it into the main executable chain. This wasn't caught because the test environment the tests for these builds runs in contains git, which requires expat, which requires python2 (meaning that python2 is available in the test environment). Fun stuff.

Tracking that here: https://github.com/sudoforge/pkgbuilds/issues/73

mr-ubik commented on 2022-09-28 23:47 (UTC)

Does this still require python2 given the PKGBUILD I would say no, but while running it I get

/opt/google-cloud-sdk/bin/gcloud: line 182: /usr/bin/python2: No such file or directory

sudoforge commented on 2022-09-27 20:27 (UTC)

@jjdino that's a fair request. I'll take this under consideration: https://github.com/sudoforge/pkgbuilds/issues/72

yazgoo commented on 2022-09-18 15:04 (UTC)

I confirm that @sudoforge solution to delete ~/.cache/paru/clone/google-cloud-sdk/ worked for me (running the provided git commands did not work though)

sudoforge commented on 2022-09-18 04:26 (UTC)

@pintert3, if you're still experiencing that, the solution is to navigate to wherever paru stores the repository on your filesystem, and either delete it, or run the following:

$ git merge --abort   # this is a guess; try `git rebase --abort` if you aren't in a merge

$ git fetch origin

$ git reset --hard origin/master

taba commented on 2022-09-16 03:20 (UTC)

What the hell. I accidentally ran gcloud without firejail because I didn't notice that my PATH was being changed with export PATH=$CLOUDSDK_ROOT_DIR/bin:$PATH. Please make it so /usr/local/sbin:/usr/local/bin stays in the beginning. PATH="$PATH":"$CLOUDSDK_ROOT_DIR/bin" would be ideal.

pintert3 commented on 2022-09-14 14:38 (UTC)

Any solution to @yazgoo's problem? What I know for sure, it's definitely an issue with paru

jeanlucthumm commented on 2022-09-13 23:29 (UTC)

For fish users running into the problem @sudoforge mentioned, you can also use bass (https://github.com/edc/bass) to source the relevant file directly:

bass source /etc/profile.d/google-cloud-sdk.sh

yazgoo commented on 2022-08-11 13:46 (UTC) (edited on 2022-08-12 06:10 (UTC) by yazgoo)

Hi, I'm getting the following error when updating via paru:

error: command failed: .cache/paru/clone/google-cloud-sdk: git -c user.email=aur -c user.name=aur merge --no-edit --no-ff --no-commit

More precisely:

Auto-merging .SRCINFO
CONFLICT (content): Merge conflict in .SRCINFO
Auto-merging PKGBUILD
CONFLICT (content): Merge conflict in PKGBUILD
Automatic merge failed; fix conflicts and then commit the result.

Here is part of the diff

index f2d78b2,ede1bbe..0000000
--- a/.SRCINFO
+++ b/.SRCINFO
@@@ -1,6 -1,6 +1,10 @@@
  pkgbase = google-cloud-sdk
        pkgdesc = A set of command-line tools for the Google Cloud Platform. Includes gcloud (with beta and alpha commands), gsutil, and bq.
++<<<<<<< HEAD
 +      pkgver = 391.0.0
++=======
+       pkgver = 397.0.0
++>>>>>>> refs/remotes/origin/master