Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleProxy Setting

If you need to configure a Proxy, please take a look at the Configure Proxy page.


Table of Content

Table of Contents

Note
titleNote

Currently, the commands hang after they are actually executed. You need to abort them by CTRL+C. See also SNAP-927.

Many thanks to Felix Glaser. He provided a bash script to work around this problem:

Given one has pkill installed (should be available in macOS most Linux distros by default, not sure about other BSDs though) and uses the JRE that comes with SNAP, a very crude workaround is:


Code Block
languagebash
snap --nosplash --nogui --modules --update-all 2>&1 | while read -r line; do
    echo "$line"
    [ "$line" = "updates=0" ] && sleep 2 && pkill -TERM -f "snap/jre/bin/java"
done

This will terminate the Java process the SNAP update launched when the line "updates=0" is printed.

...