Christopher 4e69f05918 Fix gpg download (#66)
* Improve network and timeout handling in Docker fix script

Enhances casaos-fix-docker-api-version/run.sh with better network connectivity checks, retry logic for GPG key download, and timeout handling for apt operations and Docker installation. Updates script version to 1.6.3 and improves user feedback for common failure scenarios, making the script more robust against slow or unreliable networks.

* Update script version to 1.6.2 in run.sh

Changed displayed version from 1.6.3 to 1.6.2 in all relevant echo statements for consistency with the actual script version.

* Improve apt-get update error handling in run.sh

Refactored the logic for checking apt-get update exit status to more reliably detect failures and timeouts by separating the command execution from the error check. This enhances robustness when updating package lists, especially on slow or unreliable networks.

* Add timeouts to snap commands in Docker check

Introduces timeout to 'snap list' and 'snap remove' commands in the Docker Snap removal logic to prevent script hangs if snapd is unresponsive. Adds handling for timeout exit codes and improves warning messages.
2025-11-20 22:28:23 -08:00
2023-10-04 21:27:05 -05:00
2025-11-17 08:47:14 -08:00
2023-08-14 21:39:57 -05:00
2023-10-27 11:00:31 -05:00

BigBearScripts

YouTube Link: https://www.youtube.com/@bigbeartechworld

BigBearCommunity

If you have a suggestion for a video, post in the BigBearCommunity.

Support My Work

ko-fi

Description
No description provided
Readme MIT 1 MiB
Languages
Shell 99.2%
JavaScript 0.8%