이러한 깨진 종속성을 수정하는 방법은 무엇입니까?

이러한 깨진 종속성을 수정하는 방법은 무엇입니까?

aptitude는 종속성이 손상된 일부 패키지가 있다고 알려줍니다.

kmiller@debian-dev-box:~$ sudo aptitude search '.*' | grep ^.B
iB  console-setup-linux             - Linux specific part of console-setup      
iB  gir1.2-freedesktop              - Introspection data for some FreeDesktop co
iB  gir1.2-glib-2.0                 - Introspection data for GLib, GObject, Gio 
iB  gir1.2-gstreamer-0.10           - Description: GObject introspection data fo
iB  gir1.2-json-1.0                 - GLib JSON manipulation library (introspect
iBA libatk-adaptor                  - AT-SPI 2 toolkit bridge                   
iB  libgcc1                         - GCC support library                       
iBA libgfortran3                    - Runtime library for GNU Fortran applicatio
iBA libgomp1                        - GCC OpenMP (GOMP) support library         
iB  libstdc++6                      - GNU Standard C++ Library v3               

그러나 "깨진" 상황은 그다지 나쁘지 않을 것입니다. 왜냐하면:

kmiller@debian-dev-box:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

kmiller@debian-dev-box:~$ sudo apt-get -u dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

가장 우려되는 점은 libgcc1의 종속성이 손상되었다는 것입니다.

해결해야 할 문제를 파악하려면 어떻게 해야 합니까?

kmiller@debian-dev-box:~$ sudo aptitude install -f
...
0 packages upgraded, 11 newly installed, 177 to remove and 0 not upgraded.
...
The following packages have unmet dependencies:
 libstdc++6 : Breaks: gcc-4.3 (< 4.3.6-1) but 4.3.5-4 is to be installed.
 gir1.2-json-1.0 : Conflicts: gir1.0-json-glib-1.0 but 0.10.2-2squeeze1 is to be installed.
 gir1.2-gstreamer-0.10 : Conflicts: gir1.0-gstreamer-0.10 but 0.10.30-1 is to be installed.
 libgfortran3 : Breaks: gcc-4.3 (< 4.3.6-1) but 4.3.5-4 is to be installed.
 libgomp1 : Breaks: gcc-4.3 (< 4.3.6-1) but 4.3.5-4 is to be installed.
 libgcc1 : Breaks: gcc-4.3 (< 4.3.6-1) but 4.3.5-4 is to be installed.
 gir1.2-freedesktop : Conflicts: gir1.0-freedesktop but 0.6.14-1+b1 is to be installed.
 gir1.2-glib-2.0 : Conflicts: gir1.0-glib-2.0 but 0.6.14-1+b1 is to be installed.
 libatk-adaptor : Conflicts: at-spi but 1.32.0-2 is to be installed.
 console-setup-linux : Breaks: console-terminus but 4.30-2 is to be installed.

답변1

apt-get그리고 aptitude다양한 종속성 해결 프로그램이 있습니다. 손상된 패키지 수리에 대한 조언을 제공할 수 있는 적성을 얻을 수 있습니다 aptitude install -f. 업데이트된 질문으로 판단하면 sources.list.

관련 정보