[debian-mysql] Bug#967900: Bug#967900: mariadb-server-10.3: duplicated logrotate.d file causes logrotate to fail

Norbert Preining norbert at preining.info
Sat Aug 22 11:25:42 BST 2020


Hi Otto,

> Sorry for late reply.

No prob, it is summer holiday time, right ;-)

> The MariaDB packages in Debian does not ship any
> /etc/logrotate.d/mysql-server file.

Uhh ohh ...
$ dlocate etc/logrotate.d/mysql-server
mariadb-server-10.3: /etc/logrotate.d/mysql-server
$ apt-cache policy mariadb-server-10.3
mariadb-server-10.3:
  Installed: 1:10.3.23-1
  Candidate: 1:10.3.23-1
  Version table:
 *** 1:10.3.23-1 500
        500 http://deb.debian.org/debian sid/main amd64 Packages
        100 /var/lib/dpkg/status

**Maybe** it is a left over from a very old package, I have updated this
computer over many years since ... since ... since ... don't remember.

> Fixing that nothing installs /etc/logrotate.d/mysql-server should be
> the solution, but first we need to figure out what installed it.

I guess it is simply that during an old package installation it was
installed, and then never properly clean up with
	debian/maintscript
(dh_maintscript) or similar. Configuration file of old packages are
never purged by dpkg (unless I purge the package, which I didn't do
since ages).

Best

Norbert

--
PREINING Norbert                              https://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



More information about the pkg-mysql-maint mailing list