[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mysql failed



On 16/11/16 16:10, Joe wrote:
On 16/11/2016 15:48, Tony van der Hoff wrote:

The following packages have unmet dependencies:
 mysql-server-5.5 : Depends: mysql-client-5.5 (>= 5.5.50-0+deb8u1) but
it is not going to be installed
                    PreDepends: mysql-common (>= 5.5.50-0+deb8u1) but it
is not going to be installed
E: Unable to correct problems, you have held broken packages.
################################################

but they ARE installed!!

Any suggestions as to what to do next, please?


My inclination would be to purge all the remaining mysql components (not
the workbench) and try reinstalling. They are different versions,
presumably as a result of the failed upgrade, and the older ones may be
broken in some way that prevented upgrade.

If the apt tools refuse to do the job, as they may since there has
already been a problem, escalate (carefully) to dpkg. I did once have a
problem that even dpkg wouldn't touch and had to resort to manual file
deletion, but that will result in an inconsistent package database, and
should be avoided if at all possible.


Thanks Joe, you fill me with confidence :(

I purged the lot using apt, and the client packages disappeared. Sadly, the error persisted. Being of a somewhat cowardly nature, and having never used dpkg for this sort of thing, I abandoned that tack.

Instead, I successfully installed MariaDB from the repository, which was my long-term plan in any case, and now have a working database.

Thanks again  for your suggestions.

--
Tony van der Hoff        | mailto:tony@vanderhoff.org
Buckinghamshire, England |


Reply to: