While working on T301949 and trying to install MariaDB 10.1 in the new VM tools-db-1, I mistakenly typed this command on clouddb1001 instead of tools-db-1:
# dpkg -i wmf-mariadb101_10.1.44-1_amd64.deb ... Unpacking wmf-mariadb101 (10.1.44-1) over (10.1.39-1)
This would upgrade the MariaDB package from 10.1.39 to 10.1.44, but as I realized I was running this on the wrong server and it could cause some issues on the ToolsDB primary database, I pressed Ctrl+C which left the package in an inconsistent state. @taavi attempted a fix by reinstalling the deb file wmf-mariadb101_10.1.39-1_amd64.deb found in /home/jynus (as that version is no longer available in the wikimedia repo).
Puppet is still unhappy though:
E: The package wmf-mariadb101 needs to be reinstalled, but I can't find an archive for it. ERR: change from 'absent' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install wmf-mariadb101' returned 100