⚡ 76 个开发者工具,始终保持最新 — 上游每次发布后数小时内即可通过 apt 获取。 加入 Discord

🎁 apt 镜像需要订阅。方案每年 €15 起。 查看价格 · 🆓 免费仓库:76 个工具中的 7 个 · 🔐 apt 报 401?

🔐 apt 提示 401 Unauthorized

当它来自 deb.griffo.io 时意味着什么,以及三种解决办法

⚡ 简短回答。 你的系统没有任何损坏,也没有任何软件包被移除。自2026 年 10 月 1 日英国时间 12:00 起,从 deb.griffo.io 下载软件包需要订阅。apt update 对所有人仍然可用;apt install 和 apt upgrade 则需要凭据。你有三种解决办法,下面都有说明:添加你的凭据、如果你用的工具在免费仓库收录的 7 个之中,可以改用免费仓库,或者直接从 GitHub 获取 .deb——这条路免费,而且永远免费。

还没订阅? 一分钟即可开通:每年 €15,或一次性 €150 终身使用。凭据会通过邮件发送给你;按照第 1 步的方式保存即可。

💬 他们的原话

本仓库的 12 位用户评分 4.9/5

5 分中的 5 分

great service for keeping the whole system clean and up-to-dated

Great job helping me to keep secured my tools and automatically up-to-dated. Also appreciated the easy to use, especially by integrating extrepo for Debian as well. As long the price will stay cheap, makes absolutely sense to pay for tools which do not provide proper packages. In general though, I would suggest to document here and encourage/leverage maintainers for respective distributions (i.e. Debian, Ubuntu, etc.); it's counter-intuitive but it's for the good of community and does not affect the value of your work here.

Samuel SamuelDebian 13 Trixie, uv, bun, k9s and spotifast 在 GitHub 上阅读 ↗
5 分中的 5 分

Exactly as advertised

I think it's valuable work, fill the gap that Vibe coded integrations are going to continue to miss for a while. I'm glad you decided to do lifetime membership, as it prevents simple forks and allows you to monetize it so that you can continue to support it. I was thinking about doing it when I found your repository ; not sure I would do anything differently.

Ian B MacDonald Ian B MacDonaldDebian and Ubuntu latest stable, uv, pnpm and more已验证订阅者 在 GitHub 上阅读 ↗
5 分中的 5 分

Very useful to install Deno on Debian 13

It worked as expected. Now I have Deno running on my Debian 13 laptop and I will use this repo to install also in one server. Deno is a Javascript engine used for web development. I discovered also ZapZap (a clone of whatsapp desktop client for Linux) and I an using it. Everything worked as expected. Congratulations.

José Manuel Ciges Regueiro José Manuel Ciges RegueiroDebian 13, Deno and ZapZap 在 GitHub 上阅读 ↗
5 分中的 5 分

Amazing stuff, works flawlessly

I mean, I could build all the stuff locally; I also could download the release builds...but I am a freelancer. I know what my hour costs. Paying for this is a no-brainer. Of course I also donate to Debian and Gnome. This rounds off my OS experience really well and also deserves to be paid <3.

Bodo Tasche Bodo TascheDebian testing, neovim and ripgrep 在 GitHub 上阅读 ↗

阅读全部 12 条评价 →

🔍 你看到的错误

E: Failed to fetch https://deb.griffo.io/apt/pool/main/g/ghostty/ghostty_1.3.1-5~trixie_amd64.deb  401  Unauthorized [IP: 2a01:… 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

运行 apt-get update --fix-missing 没有用,因为什么都没有缺失:服务器做出了回应,回应的内容是「你没有通过认证」。某些 apt 版本只有在密钥出问题时才会显示 The repository … is not signed;单纯的 401 一定是认证问题。

🚦 没有订阅时仍然可用的功能

命令需要订阅吗?
apt update不需要——索引对所有人开放
apt policy / apt-cache不需要
浏览 /apt/dists/不需要
apt install / apt upgrade需要,自 2026 年 10 月 1 日起
已经安装的软件包不需要。它们照常运行,不会过期
deb-free.griffo.io不需要——永久免费,无需账户
GitHub 上的 .deb 文件不需要——永久免费

1. 你已经订阅:保存凭据

凭据应放在 /etc/apt/auth.conf.d/,绝不要写进 sources.list 那一行:那样机器上任何用户都能读到,apt 还会在错误信息里把它泄露出来:

运行命令
sudo tee /etc/apt/auth.conf.d/deb.griffo.io.conf > /dev/null <<'EOF'
machine deb.griffo.io
login your-email@example.com
password your-subscription-password
EOF
sudo chmod 600 /etc/apt/auth.conf.d/deb.griffo.io.conf
sudo apt update
tee /etc/apt/auth.conf.d/deb.griffo.io.conf > /dev/null <<'EOF'
machine deb.griffo.io
login your-email@example.com
password your-subscription-password
EOF
chmod 600 /etc/apt/auth.conf.d/deb.griffo.io.conf
apt update

之后 sudo apt install <package> 就会和以前完全一样地工作。如果仍然返回 401,请按顺序检查以下几项:

还没订阅,想先了解自己会买到什么?订阅如何运作介绍了完整流程:通过邮件发放凭据、机器数量不限、续订、取消和退款。

2. 改用免费仓库(收录 76 个工具中的 7 个)

deb-free.griffo.io 永远无需账户、无需付款。它提供发布至少满两个月的最新版本,并会立即发布该版本的安全修复和补丁修复。它不是订阅仓库的完整副本:它只收录 76 个工具中的 7 个,即 cliamp、Forgejo Runner、Ghostty、lazydocker、Oh My Posh、Uncloud 和 Zed。收录哪些工具由维护者决定,今后可能会调整;不接受按需添加工具的请求。如果你用的某个工具不在这份列表里,这个办法装不了它:请改用订阅或GitHub 上免费的 .deb。

运行命令
sudo rm -f /etc/apt/sources.list.d/deb.griffo.io.list
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb-free.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb-free.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb-free.griffo.io.gpg] https://deb-free.griffo.io/apt $(. /etc/os-release; echo ${DEBIAN_CODENAME:-${UBUNTU_CODENAME:-${VERSION_CODENAME%% *}}}) main" | sudo tee /etc/apt/sources.list.d/deb-free.griffo.io.list > /dev/null
sudo apt update
rm -f /etc/apt/sources.list.d/deb.griffo.io.list
install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb-free.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb-free.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb-free.griffo.io.gpg] https://deb-free.griffo.io/apt $(. /etc/os-release; echo ${DEBIAN_CODENAME:-${UBUNTU_CODENAME:-${VERSION_CODENAME%% *}}}) main" | tee /etc/apt/sources.list.d/deb-free.griffo.io.list > /dev/null
apt update
sudo apt install extrepo
sudo extrepo enable griffo-free
sudo apt update

🧩 关于 extrepo 选项。 extrepo 是 Debian 官方用于管理第三方仓库的工具:它会替你写好 sources 文件并安装签名密钥,并在使用前先对照签名元数据校验该密钥。本仓库以 griffo 之名登记其中,免费仓库则为 griffo-free,因此在 Debian(bookworm、trixie、forky、sid)上,上面的命令就是全部配置。

Ubuntu 不在覆盖范围内,因为 extrepo 只发布 Debian 各套件的元数据:在 Ubuntu 上请使用 sudo 或 root 的命令。

不要同时启用两个仓库。apt 会安装版本更高的那一个(也就是订阅仓库里的),你又会遇到 401。 免费仓库的完整说明 →

3. 从 GitHub 获取 .deb

这里的每个软件包都是公开构建的,构建产物附在 GitHub 的公开 release 上。这些下载免费且无需认证,现在如此,10 月 1 日之后也一样:

wget https://github.com/dariogriffo/ghostty-debian/releases/latest/download/ghostty_1.3.1-5~trixie_amd64.deb
sudo apt install ./ghostty_1.3.1-5~trixie_amd64.deb
wget https://github.com/dariogriffo/ghostty-debian/releases/latest/download/ghostty_1.3.1-5~trixie_amd64.deb
apt install ./ghostty_1.3.1-5~trixie_amd64.deb

你会失去自动升级(这正是订阅所付费的部分),但永远不会失去对软件本身的访问。每个工具的打包仓库都列在软件包如何构建页面上。

❓ 为什么会这样

为 8 个 Debian 和 Ubuntu 版本构建 40 多个工具,并在每次上游发布后数小时内完成,每一天都要花费金钱和时间。订阅支付的就是这些;GitHub 上免费的 .deb 下载让任何人都不会被挡在他们完全有权运行的软件之外,而免费仓库则为一部分精选工具提供了 apt 的便利。软件包本身是开源的,而且永远都是,你付费购买的是让它们保持最新的自动化。 价格 →