4 ms·
> updates only the files that have changed No linux system that I ever used worked that way. The only system I've seen that did that was solaris, and that pat
by justinsaccount 11y ago
> updates only the files that have changed
No linux system that I ever used worked that way. The only system I've seen that did that was solaris, and that patching software was a disaster.
Systems like dpkg and rpm replace the entire contents of a package when there is an update. The benefit of this is that if things are very out of date or a package is corrupted, the only thing you need to do to get things up to date is (re)install the latest package.
Packages on linux are fairly granular, so in practice doing full individual package updates is not a huge problem. I have 2300 packages or so installed on my laptop and all but 100 or so are under 10M.
Google did a lot of work optimizing chrome package updates, but I'm not sure if most distributions are prioritizing this sort of thing anymore.
- blinkingled 11y agoCorrect of course, however at least Fedora does delta RPM updates now a days so full rpm downloads for updates are rare. Most drpms turn out to be few hundreds of KB.
- justinsaccount 11y agoThat's interesting.. I looked up how it is implemented. They seem to pull down the updated bits, merge them with what is currently on the system to reconstruct the new package, and then install that. That would save bandwidth, but not make the actual operation of installing the new package any faster.