Page 1 of 1

Update to libgd3 from 2.1.0.5 to 2.1.1

Posted: Fri Oct 07, 2016 9:56 pm
by conFusl
Hi,

I've installed Raspbian on my Raspberry Pi3. When I try to install php7.0-gd, I get the following error:
The following packages have unmet dependencies:
php7.0-gd : Depends: libgd3 (>= 2.1.1) but 2.1.0-5 is to be installed
E: Unable to correct problems, you have held broken packages.
The problem is, that apt-get update or apt-get upgrade does not help, because this version is the newest in the repository.

Can I update the version somehow?

BR

Re: Update to libgd3 from 2.1.0.5 to 2.1.1

Posted: Sat Oct 08, 2016 4:36 am
by rpdom
Where did you get php7.0-gd from? It's not available in Raspbian Jessie.

If you downloaded it manually from the Raspbian repository, then you have pulled in the Raspbian Stretch ("testing") version so you will either have to satisfy all the dependencies manually (like downloading and installing http://mirrordirector.raspbian.org/rasp ... _armhf.deb), or change your /etc/apt/sources.list to point at stretch as well as jessie and use apt pinning to hold everything at jessie unless needed (you will find details on the forums if you search for those terms). Or you could just risk going all out for Stretch and be prepared for the occasional breakage when new bugs occur.

Re: Update to libgd3 from 2.1.0.5 to 2.1.1

Posted: Fri Oct 21, 2016 5:38 am
by mikeschinkel
From StackOverflow, try this before attempting to install php70.-gd:

Code: Select all

sudo apt-get -t jessie-backports install libgd3

Re: Update to libgd3 from 2.1.0.5 to 2.1.1

Posted: Fri Nov 11, 2016 6:46 am
by negrotico19
Then answer provided by @mikeschinkel works for me.
It fixes the dependency of libgd3