mercredi 25 mars 2015

Debian - get all dependencies updated when they 'wont be installed'


I've been trying to install Percona Toolkit onto my Debian (wheezy) server. I downloaded it as per the instructions: wget http://ift.tt/1cQaERv


then installed it sudo dpkg -i percona-toolkit.deb


But it told me there were missing dependencies that weren't installed, and wouldn't be installed.


I have been downloading these one by one, but each one seems to have a missing dependency of it's own. I've also noticed that most of these are installed, but the toolkit requires a later version. In one case the only version I could find suggested it was designed for the next release of Debian.


So far I have downloaded:



libio-socket-ssl-perl_2.002-2_all.deb
libnet-ssleay-perl_1.65-1+b1_amd64.deb
libterm-readkey-perl_2.30-4+b2_amd64.deb


and now it wants



perl (>= 5.20.0-4)
perlapi-5.20.0
libc6 (>= 2.14)


Is there an easy way to get the system to download / install all of these in one go, and is it likely to cause stability issues if I install versions higher than the default that are already installed?




UPDATE - output from apt-get -f install:



sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
libio-socket-ssl-perl libnet-ssleay-perl percona-toolkit
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 7,319 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 26051 files and directories currently installed.)
Removing percona-toolkit ...
Removing libio-socket-ssl-perl ...
Removing libnet-ssleay-perl ...
Processing triggers for man-db ...


Aucun commentaire:

Enregistrer un commentaire