3 ms·
Don't forget, system updating typically isn't straight forward depending on distro. I was explaining to my brother the other day the need to perform diffs on sy
by JimmaDaRustla 11y ago
Don't forget, system updating typically isn't straight forward depending on distro. I was explaining to my brother the other day the need to perform diffs on system configuration files after performing a system update. His eyes kind of glazed over as his brain understood the concept, but refused to accept that major linux distros hadn't evolved past it.
- shock 11y agoI've used Ubuntu for a considerable amount of time and done numerous system updates. Please tell us what diffs you needed to perform, otherwise I call FUD.
- JimmaDaRustla 11y agoUbuntu uses aptitude and will prompt you when there are conflicting files and creates .dpkg-new for diffing: https://raphaelhertzog.com/2010/09/21/debian-conffile-configuration-file-managed-by-dpkg/ https://raphaelhertzog.com/2010/09/21/debian-conffile-config... Arch (pacman) creates .pacnew files for diffing later. RPM creates .rpmnew files, not sure if you're prompted or not at the time of updating.
- shock 11y agoFrom the blog you linked: "Dpkg keeps a checksum of the last installed version of configuration file. When it must install a new version, it calculates the checksum of the currently installed file and if it doesn’t match anymore, it knows that the user has edited the file. In that case, instead of overwriting the configuration file, it asks the user what to do." If you didn't modify the system config you don't get prompted about what to do.