Re: dpkg -i question
On Wed, Aug 5, 2009 at 9:54 AM, Sven Joachim<email@example.com> wrote:
> On 2009-08-05 09:38 +0200, Hinko Kocevar wrote:
>> I've started using dpkg in the company I work for now. Before that I
>> was not familiar with the tool.
>> My question is in regard to the fact when/how are files installed in
>> /etc/default when I run 'dpkg -i pkg.deb'.
>> What I've observed is that missing or modified file in /etc/default is
>> never installed or replaced, even when missing on the filesystem and
>> present in the deb package.
> This is a feature, files below /etc shipped in packages are "conffiles"╣
> that the sysadmin is free to modify and even delete. áIf you choose the
> latter, dpkg will not bring the files back on upgrades which would
> override your decision.
Let me note that I was trying to reinstall the same version of the
package. I guess this would behave differently if the package versions
were different. Need to test this by myself...
>> If file in /etc/default is missing it can be forced with 'dpkg
>> --force-all -i pkg.deb', that works.
> Actually the option you want is --force-confmiss, --force-all is pretty
>> This is not the case for eg. files placed in /opt/bin (the same
> Because these files are not conffiles and do not get the same special
That was my assumption also.
.. the more I see the less I believe.., AE AoR