I am trying to install libpcre3-dev
but it gives me the follwing error:
The following packages have unmet dependencies: libpcre3-dev : Depends: libpcre3 (= 2:8.38-3.1) but 2:8.39-1+deb.sury.org~trusty+1 is to be installed E: Unable to correct problems, you have held broken packages.
The 2:8.39-1+deb.sury.org~trusty+1
is from an 'old' ppa (ondrej), so I took a fresh and new Sources.list.
I had the same issue with php7.0-dev
and ended up uninstalling php7.0 and installing it from the official repos.
Now when I want to remove libpcre3
it wants to remove nearly all of my packages? Is there another way to "change" the libpcre3 package to the "official" one?
I also tried this, with no luck
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package 2:8.41-1.1+ubuntu17.10.1+deb.sury.org+3 E: Couldn't find any package by glob '2:8.41-1.1+ubuntu17.10.1+deb.sury.org+3' E: Couldn't find any package by regex '2:8.41-1.1+ubuntu17.10.1+deb.sury.org+3'
– kashish Jul 21 '18 at 12:13libpcre3
from 16.04 APT removed all packages depending on the 18.04 version oflibpcre3
. It's usually a good idea to remove old package sources. – Florian Diesch Mar 01 '19 at 12:46