前提
Ubuntuで、手動でdovecotの設定ファイルをrm -rで消してしまいました。
その後、再インストールしようとしましたが、
Not replacing deleted config file /etc/dovecot/dovecot.conf
などとなり、再生成されません。
実現したいこと
apt install dovecot-common dovecot-imapd dovecot-pop3d
で、/etc/dovecot/以下の設定ファイルを自動生成してほしいです。
発生している問題・エラーメッセージ
# apt --reinstall -f install dovecot-common dovecot-imapd dovecot-pop3d Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'dovecot-core' instead of 'dovecot-common' The following NEW packages will be installed: dovecot-imapd dovecot-pop3d 0 upgraded, 2 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0 B/2,924 kB of archives. After this operation, 723 kB of additional disk space will be used. (Reading database ... 107364 files and directories currently installed.) Preparing to unpack .../dovecot-core_1%3a2.2.33.2-1ubuntu4.8_amd64.deb ... Unpacking dovecot-core (1:2.2.33.2-1ubuntu4.8) over (1:2.2.33.2-1ubuntu4.8) ... Selecting previously unselected package dovecot-imapd. Preparing to unpack .../dovecot-imapd_1%3a2.2.33.2-1ubuntu4.8_amd64.deb ... Unpacking dovecot-imapd (1:2.2.33.2-1ubuntu4.8) ... Selecting previously unselected package dovecot-pop3d. Preparing to unpack .../dovecot-pop3d_1%3a2.2.33.2-1ubuntu4.8_amd64.deb ... Unpacking dovecot-pop3d (1:2.2.33.2-1ubuntu4.8) ... Setting up dovecot-core (1:2.2.33.2-1ubuntu4.8) ... Not replacing deleted config file /etc/dovecot/dovecot.conf Not replacing deleted config file /etc/dovecot/dovecot-dict-auth.conf.ext Not replacing deleted config file /etc/dovecot/dovecot-dict-sql.conf.ext Not replacing deleted config file /etc/dovecot/dovecot-sql.conf.ext Not replacing deleted config file /etc/dovecot/conf.d/10-auth.conf Not replacing deleted config file /etc/dovecot/conf.d/10-director.conf Not replacing deleted config file /etc/dovecot/conf.d/10-logging.conf Not replacing deleted config file /etc/dovecot/conf.d/10-mail.conf Not replacing deleted config file /etc/dovecot/conf.d/10-master.conf Not replacing deleted config file /etc/dovecot/conf.d/10-ssl.conf Not replacing deleted config file /etc/dovecot/conf.d/10-tcpwrapper.conf Not replacing deleted config file /etc/dovecot/conf.d/15-lda.conf Not replacing deleted config file /etc/dovecot/conf.d/15-mailboxes.conf Not replacing deleted config file /etc/dovecot/conf.d/90-acl.conf Not replacing deleted config file /etc/dovecot/conf.d/90-plugin.conf Not replacing deleted config file /etc/dovecot/conf.d/90-quota.conf Not replacing deleted config file /etc/dovecot/conf.d/auth-checkpassword.conf.ext Not replacing deleted config file /etc/dovecot/conf.d/auth-deny.conf.ext Not replacing deleted config file /etc/dovecot/conf.d/auth-dict.conf.ext Not replacing deleted config file /etc/dovecot/conf.d/auth-master.conf.ext Not replacing deleted config file /etc/dovecot/conf.d/auth-passwdfile.conf.ext Not replacing deleted config file /etc/dovecot/conf.d/auth-sql.conf.ext Not replacing deleted config file /etc/dovecot/conf.d/auth-static.conf.ext Not replacing deleted config file /etc/dovecot/conf.d/auth-system.conf.ext Not replacing deleted config file /etc/dovecot/conf.d/auth-vpopmail.conf.ext
試したこと
apt-get -o DPkg::Options::="--force-confmiss" --reinstall install dovecot-common dovecot-imapd dovecot-pop3d
や、
apt -f install
などを試しましたが、一部のファイルは生成したものの、全部を生成できません。
補足情報(FW/ツールのバージョンなど)
Ubuntu18.04LTS
apt
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。