My guess is: sudo apt purge podna && sudo apt autoremove 'autoremove' won't *purge* packages, it just uninstalls packages. That invokes dpkg's machinery to track "conffiles" (or is it "config files"? I can't remember.) If dpkg sees that an admin has removed a conffile then it will not install that conffile again when the package is reinstalled later: the admin wanted it gone, so it is gone.
This may be the better path forward than comment #2: sudo apt-get --yes reinstall -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-confmiss podman # or whatever package name I prefer purging packages vs uninstalling packages: I only ever use apt autoremove to clean up after old kernels, which mostly doesn't have this problem.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2085790 Title: Lost of the policy.json and registries.conf file after reinstall podman To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/golang-github-containers-common/+bug/2085790/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
