Repository navigation
ConsoleRDP 1.0.4
ConsoleRDP 1.0.4 — tolerate transient apt mirror failures
Bug
If the target box had a broken IPv6 route to us.archive.ubuntu.com (common on shared-wifi, VPN, or minimal IPv6-less networks), or if security.ubuntu.com was mid-mirror-sync (giving a file-size mismatch on its Commands-amd64.xz CNF cache), apt-get update returned non-zero, set -euo pipefail killed the bootstrap script at step 1, and you were left staring at your shell prompt with nothing installed.
Seen in the wild as:
W: Failed to fetch http://us.archive.ubuntu.com/... Cannot initiate the connection ... (Network is unreachable)
E: Failed to fetch http://security.ubuntu.com/... File has unexpected size (744 != 968). Mirror sync in progress?
W: Some index files failed to download.
Fix
install-remote.shandinstall.shnow warn-and-continue onapt-get updatenon-zero exit. The actual package archives (*.deb) are still reachable over IPv4 in both failure modes.install-remote.shonly callsapt-get installfor its three bootstrap utilities (curl,jq,tar) if they're actually missing from PATH. On stock Kubuntu 26.04 all three are present, so we skip apt entirely in the common case.- If a package genuinely can't be fetched,
apt-get installstill hard-fails loudly, so we don't silently paper over a truly broken mirror.
Upgrade / retry
On the fresh box, re-run the exact command you had before:
curl -fsSL https://github.com/billsecond/consolerdp/releases/latest/download/install-remote.sh -o /tmp/install-remote.sh
sudo bash /tmp/install-remote.shIf the CNF size mismatch is still there a few hours from now, that's an Ubuntu mirror issue unrelated to ConsoleRDP; sudo apt-get update alone will clear up once the upstream sync completes.