Tag Archives: dpkg

How to install the same debian packages on another system

The approach is simple: generate a list of installed packages on Debian-based systems and install this list of packages on the new box. This approach is useful when you want to install the same packages on another fresh OS install for example. 1. To export the list of installed packages, proceed as follows: [codesyntax lang=”bash”] … Continue reading How to install the same debian packages on another system

How to fix the error: “Not replacing deleted config file…”

Let’s assume that when you are trying to install apticron the default config file is not created and when you are trying to execute postinst configure the following error message occurs: Not replacing deleted config file /etc/apticron/apticron.conf The fix is: [codesyntax lang=”bash”] aptitude -o DPkg::Options=”–force-confmiss” reinstall apticron [/codesyntax]