我启动了 Tails 2.4 并收到以下信息:
检查升级时出错
在终端中手动运行升级会出现错误:
amnesia@amnesia:~$ tails-upgrade-frontend-wrapper
localuser:tails-upgrade-frontend being added to access control list
Prototype mismatch: sub Tails::MirrorPool::assert ($;$) vs none at /usr/share/perl5/Tails/MirrorPool.pm line 28.
Prototype mismatch: sub Tails::IUK::Frontend::assert ($;$) vs none at /usr/share/perl5/Tails/IUK/Frontend.pm line 42.
Error while checking for upgrades
<b><b>Could not determine whether an upgrade is available from our website.</b>
Check your network connection, and restart Tails to try upgrading again.
If the problem persists, go to file:///usr/share/doc/tails/website/doc/upgrade/error/check.en.html</b>
For debugging information, execute the following command: sudo tails-debugging-info
** (zenity:7650): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Error while checking for upgrades
<b><b>Could not determine whether an upgrade is available from our website.</b>
Check your network connection, and restart Tails to try upgrading again.
If the problem persists, go to file:///usr/share/doc/tails/website/doc/upgrade/error/check.en.html</b>
For debugging information, execute the following command: sudo tails-debugging-info
exit code: 2816
stdout:
stderr:
Could not download 'https://tails.boum.org/upgrade/v1/Tails/2.4/i386/stable/upgrades.yml', request failed (Peer certificate cannot be authenticated with given CA certificates): server certificate verification failed. CAfile: /usr/local/etc/ssl/certs/tails.boum.org-CA.pem CRLfile: none
at /usr/bin/tails-iuk-get-upgrade-description-file line 21.
at /usr/bin/tails-upgrade-frontend line 22.
localuser:tails-upgrade-frontend being removed from access control list
如何在不完全手动重新安装的情况下升级?
答案1
问题出在证书上:
Could not download 'https://tails.boum.org/upgrade/v1/Tails/2.4/i386/stable/upgrades.yml',
request failed (Peer certificate cannot be authenticated with given CA certificates):
server certificate verification failed. CAfile: /usr/local/etc/ssl/certs/tails.boum.org-CA.pem
https://tails.boum.org切换到 Let's Encrypt 证书颁发机构,并且这些新证书在以下版本中丢失2.7。
您可以通过下载“让我们加密证书”来修复它:
- 去https://letsencrypt.org/certificates/
- 打开其中之一积极的中级证书 ->Let's Encrypt Authority X3(IdenTrust 交叉签名)
- 打开
tails.boum.org-CA.pem
并使用让我们加密证书覆盖其内容。
sudo nano /usr/local/etc/ssl/certs/tails.boum.org-CA.pem
(您需要先设置管理密码)
然后重新运行tails-upgrade-frontend-wrapper
。
重复此操作直至安装 Tails 2.7。
答案2
当您(或其他人)拥有更新的尾巴时,您可以从较新的运行尾巴升级您的棍子。只需使用 Tails 安装程序即可。它不会从网络下载tails,而是使用正在运行的tails。
提示:仅在 Tails 安装程序启动后才插入旧的 tails。