• somenonewho@feddit.org
    link
    fedilink
    arrow-up
    2
    ·
    2 days ago

    Well everyone’s milage may vary. I have set up informant some time ago so I’m forced to read the news on updates. But much more importantly I’ve ignored .pacnew files for years till it bit me in the ass when a Pam config file change broke my login so now I’m not ignoring.pacnew but merging them every update.

      • somenonewho@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        17 hours ago

        As the other commenter said I use a diff tool (I use vimdiff but meld probably works easiest if your not used to vim). I do a pacdiff after every upgrade that will prompt you for all the changed files (most of the times there are none or the changes are minor) and let you compare your version and the .pacnew file. If anything changes in the syntax in a major way (which it almost never does) you will should spot these differences and be able to amend any changes you made in that way.

        The example I gave was when some pam config file syntax changed and since I had a custom pam config (because of an encrypted home) it didn’t update the syntax (creating a pacnew file) then I couldn’t login after reboot.

      • KubeRoot@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 days ago

        I would recommend doing it manually - you can get a GUI diff tool (I like Meld), run it with both the normal file and pacnew, and merge every change from the pacnew into the main file.

        • Kyouki@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          2 days ago

          I’ve been using topgrade as of late and was worried it would break my files. Have to check what it changes specifically.

          Always when it prompt me, been ignoring it for now as one of the files is my rc files that gets changed.

          Thank you