Debian 8로 업그레이드한 후 충족되지 않은 종속성

Debian 8로 업그레이드한 후 충족되지 않은 종속성

Debian 7을 8로 업그레이드한 amd64grep. 이 문제를 해결하려면 어떻게 해야 합니까?

root@xyz:~# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  grep
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@xyz:~# apt-get install grep
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 grep : PreDepends: libpcre3 (>= 1:8.35) but 1:8.30-5 is to be installed
E: Unable to correct problems, you have held broken packages.
root@xyz:~#

답변1

존재하다https://packages.debian.org/jessie/amd64/libpcre3/downloadDebian 패키지를 다운로드하여 수동으로 설치할 수 있습니다.

dpkg --install libpcre3_8.35-3.3_amd64.deb

나중에 apt-get install grep작동합니다.

관련 정보