97aee026de
To fix the following error when running `logrotate /etc/logrotate.conf` : ``` error: dpkg:10 duplicate log entry for /var/log/alternatives.log error: found error in file dpkg, skipping ``` update-alternatives is provided with dedicated logrotate config in newer dpkg package versions (probably starting from buster) Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com>
10 lines
162 B
Plaintext
10 lines
162 B
Plaintext
/var/log/dpkg.log {
|
|
size 100k
|
|
rotate 1
|
|
compress
|
|
delaycompress
|
|
missingok
|
|
notifempty
|
|
create 644 root root
|
|
}
|