本文于 2026-07-11 20:34 更新,部分内容具有时效性,如有失效,请留言
今天在树莓派上安装Tailscale,发现报错了:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
mcj@Raspberrry5:~ $ curl -fsSL https://tailscale.com/install.sh | sh debian trixie isn't supported by this script yet. If you'd like us to support your system better, please email support@tailscale.com and tell us what OS you're running. Please include the following information we gathered from your system: OS=debian VERSION=trixie PACKAGETYPE=apt UNAME=Linux Raspberrry5 6.18.34+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.18.34-1+rpt1 (2026-06-09) aarch64 GNU/Linux PRETTY_NAME="Debian GNU/Linux 13 (trixie)" NAME="Debian GNU/Linux" VERSION_ID="13" VERSION="13 (trixie)" VERSION_CODENAME=trixie DEBIAN_VERSION_FULL=13.5 ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" |
先清理空文件:
|
1 2 3 |
sudo rm -f /usr/share/keyrings/tailscale-archive-keyring.gpg sudo rm -f /etc/apt/sources.list.d/tailscale.list sudo rm -f /tmp/tailscale-key.gpg |
持续重试下载密钥,强制 IPv4:
|
1 2 3 4 5 6 7 8 9 |
until curl -4 -fL \ --connect-timeout 15 \ --max-time 60 \ https://pkgs.tailscale.com/stable/debian/trixie.noarmor.gpg \ -o /tmp/tailscale-key.gpg do echo "下载失败,5 秒后重试……" sleep 5 done |
确认文件不是空的:
|
1 |
ls -lh /tmp/tailscale-key.gpg |
再验证密钥指纹:
|
1 |
gpg --show-keys --with-fingerprint /tmp/tailscale-key.gpg |
确认后安装密钥:
|
1 2 3 |
sudo install -m 0644 \ /tmp/tailscale-key.gpg \ /usr/share/keyrings/tailscale-archive-keyring.gpg |
手动写入软件源:
|
1 2 3 4 |
sudo tee /etc/apt/sources.list.d/tailscale.list >/dev/null <<'EOF' # Tailscale packages for Debian Trixie deb [signed-by=/usr/share/keyrings/tailscale-archive-keyring.gpg] https://pkgs.tailscale.com/stable/debian trixie main EOF |
这是 Tailscale 官方当前提供的 Trixie 仓库地址。
然后安装:
|
1 2 |
sudo apt update sudo apt install -y tailscale |
安装完成后:
|
1 2 |
sudo systemctl enable --now tailscaled sudo tailscale up |





最新评论
同样
站长您好,亚马逊云咨询推广资源,望建立联系,可邮件,谢谢。
换友情链接吗?
看你的站做的挺不错的
恭喜!!太强了,硕博连读啊
雁过留毛,人过留名。
看不懂但大受震撼
每天都在战争,希望2026和平.