使用过程操作步骤更新Ubuntu18.04脱机机器,sudo apt-offline install /path_to_downloaded_package_folder不应用任何更新/升级。我得到按摩的开始是:
sudo apt-offline install ./updates_path/
No changelog available
(Y) Yes. Proceed with installation
(N) No, Abort.
(C) Display changelog
(?) Display this help message.
What would you like to do next: (y, N, ?)y
Proceeding with installation
ERROR: Path for keyring is invalid: /etc/apt/trusted.gpg
gpgv: Signature made Mon 06 Jan 2020 08:17:27 AM MST
gpgv: using RSA key 3B4FE6ACC0B21F32
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>"
gpgv: Signature made Mon 06 Jan 2020 08:18:52 AM MST
gpgv: using RSA key 3B4FE6ACC0B21F32
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>"
gpgv: Signature made Mon 06 Jan 2020 08:18:25 AM MST
gpgv: using RSA key 3B4FE6ACC0B21F32
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>"
gpgv: Signature made Thu 26 Apr 2018 05:38:40 PM MDT
gpgv: using RSA key 3B4FE6ACC0B21F32
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>"
security.ubuntu.com_ubuntu_dists_bionic-security_InRelease synced.
security.ubuntu.com_ubuntu_dists_bionic-security_Release synced.
security.ubuntu.com_ubuntu_dists_bionic-security_Release.gpg synced.我做错了什么?
发布于 2020-01-06 21:53:08
基于Debian和Ubuntu中报告的bug(如Debian Bug #871656和Ubuntu Bug #1848755 ),apt离线包不再正确运行。虽然您遵循了一个从著名网站发布的程序,Debian 把包装从上游的测试中拉出来,因为它不符合他们的标准。目前apt的发展是自2019年8月以来一直没有更新过的破坏每个Debian #934657的所有脱机安装解决方案。
包作者正在等待apt本身的更改,然后工具才能完成一些重写,以便能够再次工作。这种情况目前无法解决。不过你没做错什么。
https://askubuntu.com/questions/1201110
复制相似问题