공부하자
Ubuntu 18.04 apt 의존성 문제
K44
2019. 11. 13. 13:14
반응형
패키지 'python3-hvac'는 설치되어 있지 않아, 지우지 않았습니다.
이 상황을 바로잡으려면 'apt --fix-broken install'을 실행해야 할 수도 있습니다.
다음 패키지의 의존성이 맞지 않습니다:
python3 : 미리의존: python3-minimal (= 3.6.7-1~18.04) 하지만 %s 패키지를 설치하지 않을 것입니다
의존: python3.6 (>= 3.6.7-1~) 하지만 %s 패키지를 설치하지 않을 것입니다
E: 의존성이 맞지 않습니다. 패키지 없이 'apt --fix-broken install'을 시도해 보십시오 (아니면 해결 방법을 지정하십시오).
E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: 성공
$ sudo apt --fix-broken install
Use 'sudo apt autoremove' to remove them.
:
python3-cffi-backend python3-distutils python3-lib2to3 python3-minimal python3-monotonic python3-netaddr python3-netifaces
python3-pbr python3-pkg-resources python3.6 python3.6-minimal
:
ipython3 python-netaddr-docs python3-setuptools python3.6-venv binfmt-support
E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true:
E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true:
$ sudo dpkg --configure -a
dpkg: error processing package python3-linecache2 (--configure):
...
E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true:
E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true:
$ sudo rm -rf /etc/apt/apt.conf.d/20snapd.conf
$ sudo apt --fix-broken install
$ sudo apt-get install aptitude
$ sudo aptitude -f install
반응형