Score:1

gsutil: No such file or directory on startup

in flag

I have VM that runs on linux 18.04.01 and that executes a startup script which includes gsutil :

#!/bin/bash
set -ex
source bin/ci/colors

composer run-script --no-dev build-parameters

gsutil -q cp "gs://gcp-myproject/myappname/parameters.yml" "app/config/parameters.yml"

bin/console cache:warmup --no-interaction

that sometimes (let's say 1 or 2 times out of 3) fails with this error :

line 7: /snap/bin/gsutil: No such file or directory

i have supposed that it was because of the daily refresh of the snap packages, but sometimes it happens too many times daily

David avatar
cn flag
You may also want to update your 18.04 system. You are way behind in update the current is Ubuntu 18.04.6 LTS
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.