[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: force-confmiss does not work



On 2012-03-11 17:31 +0100, Matus UHLAR - fantomas wrote:

> I'm trying to reinstall smb.conf file as it came with samba-common.
>
> However, even when I reinstall samba-common (into which it seems to
> appear) with the force-confmiss option, it won't get reinstlled:

This happens because the file /etc/samba/smb.conf is managed with ucf(1)
and not shipped in the package, hence dpkg does not know about it.

> is this a problem of samba-common package?

No.

> How to get the file reinstalled, amongst purging and reinstalling it?

Set the UCF_FORCE_CONFFMISS environment variable, e.g.

# UCF_FORCE_CONFFMISS=1 apt-get --reinstall install samba-common

should do the trick.

Sven


Reply to: