* On 2023 13 Jun 10:01 -0500, Vincent Lefevre wrote: > On 2023-06-13 06:41:41 -0500, Nate Bargmann wrote: > > I've been experimenting with Arch Linux for some time and one thing I > > like about its pacman package management system is that it has a tool > > available named 'pacdiff'. The details are off topic but in a nutshell > > what it does is identify a locally modified config and the corresponding > > new config files and can open them in 'vimdiff' giving a nice display of > > the diff using the vim editor. Once the editing is complete there is a > > final step to discard the new config file or replace the current one > > with it. I do like that Debian retains the new file with various file > > name extensions for future reference. > > > > I know that apt allows for viewing a unified diff of the files, but it > > has been quite some time since I've been presented with that menu that I > > don't recall if editing based on the diff is an option. It certainly > > seems that calling vimdiff in that situation would be quite easy but I > > realize that not many are comfortable with vim and would want a more > > universal editor that I might not like. > > This is not apt, but dpkg, which is rather limited: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=32877 > > (yes, 1999).
Apparently no developer interest. > Some packages offer a 3-way merge, which is very useful. I think that > in this case, the configuration file handling is done via ucf (the > possibility of a merge is mentioned in its man page). I have always chickened out on that option. Looking at the ucf man page and the description of the three-way merge it looks like the user would have a yes or no option but no edit option. I just completed upgrading my Lenovo T-410 laptop to Bookworm and the only issue was a broken neovim package (I forgot I even had it installed). It needed a new runtime package installed as a dependency so I had to use 'apt --fix-broken install' for the first time ever in the nearly 24 years of using Debian. That's an impressive track record. However, I don't have any system that has done an in-place upgrade throughout that time. This laptop was originally installed when Buster was Testing in late 2018. My only real concern was the upgrade of Gnu Cash and that appears to have been flawless (yes, I have off-site backups). I've already had experience with GNOME 43 from an Arch Linux installation on another laptop so the changes aren't too massive for me. I do wonder how things will work with my dual-head desktop as I use an extension to have separate workspaces on each monitor. One of these days I'll feel brave... - Nate -- "The optimist proclaims that we live in the best of all possible worlds. The pessimist fears this is true." Web: https://www.n0nb.us Projects: https://github.com/N0NB GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819
signature.asc
Description: PGP signature