Submit to DiggSubmit to FacebookSubmit to Google PlusSubmit to StumbleuponSubmit to Twitter

I had a hell of a time getting Percona Toolkit installed on one of my Ubuntu 12.04 Percona Database servers.

I got lots of dpkg errors about libc6, libc6-dev, and perl packages....

dpkg: dependency problems prevent configuration of libc6-dev:
libc6-dev depends on libc6 (= 2.15-0ubuntu10.2); however:
Version of libc6 on system is 2.15-0ubuntu10.3.
libc6-dev depends on libc-dev-bin (= 2.15-0ubuntu10.2); however:
Version of libc-dev-bin on system is 2.15-0ubuntu10.3.
......

Using apt-get -f install just gave the same errors.

I tried putting various packages on hold then doing -f until I found one that worked.

echo "libc6-dev hold" | dpkg --set-selections

then run

apt-get -f install

Which removed some stuff and installed other stuff. Percona Toolkit installed automatically as dpkg was waiting to install it since it failed.

Neat!

 

 

If this was at least a little helpful, how about a +1 or a Like?

{jcomments on}