2 ms·
> Debian based systems will change some config files on updates; I had a systemd customization that was overwritten out from under me, and I evntually found the
by ayushnix 5y ago
> Debian based systems will change some config files on updates; I had a systemd customization that was overwritten out from under me, and I evntually found there was one place for apt to manage and a different for me to manage.
The only place where a package manager should overwrite changes is /usr. If you made any changes inside /usr, then yes, it'll be overwritten. A user isn't supposed to mess around inside /usr, unless there's a very good reason for it. There's /usr/local but it's better to just use $HOME/.local instead.
- aidenn0 5y agoIt's entirely possible it wasn't in /etc but somewhere else. This was a case of "I need to fix this urgently" and the first workaround I could find on stackoverflow suggested changing it in one place. After the problem came up again after an update I did a bit more digging to figure out where I could change it and apt would not overwrite it.