ttf-mscorefonts-installer data download error popup [duplicate]

There seems to be a bug with the latest ttf-mscorefonts-installer, but here is a way around it.

As first uninstall it completely, to make sure when you later install it you accept the EULA.

sudo apt remove --purge ttf-mscorefonts-installer

then install it again and as said make sure you accept the EULA by tabbing to untill the 'O.k.' field is highlighted and press Return

sudo apt-get install ttf-mscorefonts-installer

untill now you might are facing still the same bug this were gonna change now by craeting a folder in the /tmp directory and downloading the fonts into it.

TMP=$(mktemp -d)
cd "$TMP"
awk '/Url/ {system("wget "$2)}' /usr/share/package-data-downloads/ttf-mscorefonts-installer

with this out of the way you can begin to update your corefonts

sudo /usr/lib/msttcorefonts/update-ms-fonts "$TMP"/*

after this is done al you need to do is cleaning up

sudo touch /var/lib/update-notifier/package-data-downloads/ttf-mscorefonts-installer
cd ..
rm -r "$TMP"

(Solution found here)