我看到这个问题已经得到解答,但我找不到它。
如果我从 Firefox 55 升级到 56,则会下载 FF 56 的软件包。我需要在 apt 中做什么才能仅下载 FF 56 软件包中修改过的文件,而不是下载整个 FF 56 软件包?
进行更新是否也会下载整个软件包?
答案1
您正在寻找debdelta
:
为了加快更新的下载,debdelta 被添加作为获取包更新的可选方式。[1]
man debdelta-upgrade
[2]
This program is designed to download changes (deltas) that may be used
to apt-get upgrade all listed packages, and apply them. If no package
is listed in the command line, then it will apply to all upgradable
packages. See debdelta(1) for more details on the delta files.
安装后使用:(来自这里)
sudo apt-get update
sudo debdelta-upgrade
sudo apt-get upgrade