Failed to install mysql-5.6

Asked by Diane Peel

Error;
/var/cache/apt/archives/mysql-server-5.6_5.6.16-1~exp1_amd64.deb
N: Ignoring file '50unattended-upgrades.ucf-dist' in directory '/etc/apt/conf.d/ as it has an invalid filename extension.
E: Sub-process /usr/bin/dpkg returned an error code (1)

While trying to install mysql-5.6 for Cacti in Ubuntu 16.04.

Had already done:
$ sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu trusty universe'
$ sudo apt-get update

And:
$ sudo apt-get install apache2 mysql-server-core-5.6 mysql-server-5.6 mysql-client-5.6 php libapache2-mod-php

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

sudo rm /etc/apt/apt.conf.d/50unattended-upgrades.ucf-dist

Then retry

Can you help with this problem?

Provide an answer of your own, or ask Diane Peel for more information if necessary.

To post a message you must log in.