Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does the package management system deal with packages that contain configuration files for other packages?

0
Posted

How does the package management system deal with packages that contain configuration files for other packages?

0

Some users wish to create, for example, a new server by installing a group of Debian packages and a locally generated package consisting of configuration files. This is not generally a good idea, because dpkg will not know about those configuration files if they are in a different package, and may write conflicting configurations when one of the initial “group” of packages is upgraded. Instead, create a local package that modifies the configuration files of the “group” of Debian packages of interest. Then dpkg and the rest of the package management system will see that the files have been modified by the local “sysadmin” and will not try to overwrite them when those packages are upgraded.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123