simple-cdd를 사용하여 시스템을 다시/설치하는 데 필요한 패키지만 포함된 데비안 CD를 만들고 있지만 시스템에 설치하려는 패키지 목록에 약간의 어려움이 있어서 CD를 다음 위치에 설치합니다. simple-cdd가 debian-cd를 호출할 때 일부는 존재하지 않습니다. 합리적인 방법으로 종속성을 해결하지 않고 reprepro에서 문제를 성공적으로 격리했습니다.
예를 들어, myprofile.packages 파일을 사용하여 CD에 설치될 Finalizer 패키지를 설정했지만, build-debian-cd.log에 표시된 것처럼 debian-cd를 호출할 때 패키지가 누락되었습니다:
stdout: Finished: 841 packages placed
stdout: purging /home/braiam/laptop-cdd/tmp/extras
stdout: simple-cdd: extra files for simple-cdd
stdout: ERROR: missing required packages from profile list: network-manager-gnome terminator xfce4-appfinder xfce4-battery-plugin xfce4-panel xfce4-pulseaudio-plugin xfce4-session xfce4-settings xfwm4
sort_deps.amd64.log는 패키지 종료에 대해 다음을 보고합니다.
Dependency tree of `terminator' ...
Depends: gconf2
Depends: python-dbus
Depends: python-gobject
Depends: python-gtk2 (>= 2.14.0)
Depends: python-vte
Depends: python <virt>
Recommends: python-gnome2 <virt>
Recommends: python-keybinder <virt>
Recommends: python-notify <virt>
Recommends: xdg-utils
Looking at list, line "terminator"
+ Trying to add terminator...
terminator Dep: gconf2 soft_depend 0
gconf2 not included in a useful version, check_backports 0
gconf2 not included in a useful version, check_backports 0
gconf2 not already installed
OR relationship not already satisfied, looking at alternatives in order, check_backports 0
gconf2 Dep: gconf-service (= 3.2.6-4) soft_depend 0
gconf-service is included already, acceptable version 3.2.6-4
gconf2 Dep: libc6 (>= 2.14) soft_depend 0
libc6 is included already, acceptable version 2.24-7
gconf2 Dep: libgconf-2-4 (>= 3.2.5) soft_depend 0
libgconf-2-4 is included already, acceptable version 3.2.6-4
gconf2 Dep: libglib2.0-0 (>= 2.31.8) soft_depend 0
libglib2.0-0 is included already, acceptable version 2.50.2-2
gconf2 Dep: libxml2 (>= 2.7.4) soft_depend 0
libxml2 is included already, acceptable version 2.9.4+dfsg1-2.1
gconf2 Dep: (OR default-dbus-session-bus dbus-session-bus ) soft_depend 0
default-dbus-session-bus not included in a useful version, check_backports 0
dbus-session-bus not included in a useful version, check_backports 0
default-dbus-session-bus not included in a useful version, check_backports 0
default-dbus-session-bus not already installed
dbus-session-bus not included in a useful version, check_backports 0
dbus-session-bus not included in a useful version, check_backports 0
default-dbus-session-bus not included in a useful version, check_backports 0
default-dbus-session-bus not already installed
dbus-session-bus not included in a useful version, check_backports 0
dbus-session-bus not already installed
OR relationship not already satisfied, looking at alternatives in order, check_backports 0
gconf2 failed, couldn't satisfy OR dep
gconf2 Dep: psmisc soft_depend 0
psmisc not included in a useful version, check_backports 0
psmisc not included in a useful version, check_backports 0
psmisc not already installed
OR relationship not already satisfied, looking at alternatives in order, check_backports 0
psmisc Dep: libc6 (>= 2.14) soft_depend 0
libc6 is included already, acceptable version 2.24-7
psmisc Dep: libselinux1 (>= 1.32) soft_depend 0
libselinux1 is included already, acceptable version 2.6-3
psmisc Dep: libtinfo5 (>= 6) soft_depend 0
libtinfo5 is included already, acceptable version 6.0+20160917-1
gconf2 failed, couldn't satisfy OR dep
gconf2 Dep: python soft_depend 0
python is included already, acceptable version 2.7.11-2
terminator failed, couldn't satisfy OR dep
terminator Dep: python-dbus soft_depend 0
python-dbus not included in a useful version, check_backports 0
python-dbus not included in a useful version, check_backports 0
python-dbus not already installed
OR relationship not already satisfied, looking at alternatives in order, check_backports 0
python-dbus Dep: python (<< 2.8) soft_depend 0
python is included already, acceptable version 2.7.11-2
python-dbus Dep: python (>= 2.7~) soft_depend 0
python is included already, acceptable version 2.7.11-2
python-dbus Dep: python soft_depend 0
python is included already, acceptable version 2.7.11-2
python-dbus Dep: libc6 (>= 2.4) soft_depend 0
libc6 is included already, acceptable version 2.24-7
python-dbus Dep: libdbus-1-3 (>= 1.9.14) soft_depend 0
libdbus-1-3 is included already, acceptable version 1.10.12-1
python-dbus Dep: libdbus-glib-1-2 (>= 0.78) soft_depend 0
libdbus-glib-1-2 is included already, acceptable version 0.108-1
python-dbus Dep: libglib2.0-0 (>= 2.12.0) soft_depend 0
libglib2.0-0 is included already, acceptable version 2.50.2-2
terminator failed, couldn't satisfy OR dep
terminator Dep: python-gobject soft_depend 0
python-gobject not included in a useful version, check_backports 0
python-gobject not included in a useful version, check_backports 0
python-gobject not already installed
OR relationship not already satisfied, looking at alternatives in order, check_backports 0
python-gobject Dep: python-gi (>= 3.22.0-1) soft_depend 0
python-gi not included in a useful version, check_backports 0
python-gi not included in a useful version, check_backports 0
python-gi (>= 3.22.0-1) not already installed
OR relationship not already satisfied, looking at alternatives in order, check_backports 0
python-gi Dep: python (<< 2.8) soft_depend 0
python is included already, acceptable version 2.7.11-2
python-gi Dep: python (>= 2.7~) soft_depend 0
python is included already, acceptable version 2.7.11-2
python-gi Dep: python soft_depend 0
python is included already, acceptable version 2.7.11-2
python-gi Dep: python soft_depend 0
python is included already, acceptable version 2.7.11-2
python-gi Dep: libc6 (>= 2.14) soft_depend 0
libc6 is included already, acceptable version 2.24-7
python-gi Dep: libffi6 (>= 3.0.4) soft_depend 0
libffi6 is included already, acceptable version 3.2.1-6
python-gi Dep: libgirepository-1.0-1 (>= 1.44.0) soft_depend 0
libgirepository-1.0-1 not included in a useful version, check_backports 0
libgirepository-1.0-1 not included in a useful version, check_backports 0
libgirepository-1.0-1 (>= 1.44.0) not already installed
OR relationship not already satisfied, looking at alternatives in order, check_backports 0
libgirepository-1.0-1 Dep: libc6 (>= 2.14) soft_depend 0
libc6 is included already, acceptable version 2.24-7
libgirepository-1.0-1 Dep: libffi6 (>= 3.0.4) soft_depend 0
libffi6 is included already, acceptable version 3.2.1-6
libgirepository-1.0-1 Dep: libglib2.0-0 (>= 2.50.0) soft_depend 0
libglib2.0-0 is included already, acceptable version 2.50.2-2
python-gi Dep: libglib2.0-0 (>= 2.41.1) soft_depend 0
libglib2.0-0 is included already, acceptable version 2.50.2-2
python-gi Dep: gir1.2-glib-2.0 (>= 1.39.0) soft_depend 0
gir1.2-glib-2.0 not included in a useful version, check_backports 0
gir1.2-glib-2.0 not included in a useful version, check_backports 0
gir1.2-glib-2.0 (>= 1.39.0) not already installed
OR relationship not already satisfied, looking at alternatives in order, check_backports 0
gir1.2-glib-2.0 Dep: libgirepository-1.0-1 (>= 1.45.4) soft_depend 0
libgirepository-1.0-1 not included in a useful version, check_backports 0
libgirepository-1.0-1 not included in a useful version, check_backports 0
OR relationship already satisfied by parent libgirepository-1.0-1 (>= 1.45.4)
gir1.2-glib-2.0 Dep: libglib2.0-0 (>= 2.50.0) soft_depend 0
libglib2.0-0 is included already, acceptable version 2.50.2-2
python-gobject Dep: python-gobject-2 soft_depend 0
python-gobject-2 not included in a useful version, check_backports 0
python-gobject-2 not included in a useful version, check_backports 0
python-gobject-2 not already installed
OR relationship not already satisfied, looking at alternatives in order, check_backports 0
python-gobject-2 Dep: python (>= 2.7) soft_depend 0
python is included already, acceptable version 2.7.11-2
python-gobject-2 Dep: python (<< 2.8) soft_depend 0
python is included already, acceptable version 2.7.11-2
python-gobject-2 Dep: python soft_depend 0
python is included already, acceptable version 2.7.11-2
python-gobject-2 Dep: libc6 (>= 2.14) soft_depend 0
libc6 is included already, acceptable version 2.24-7
python-gobject-2 Dep: libffi6 (>= 3.0.4) soft_depend 0
libffi6 is included already, acceptable version 3.2.1-6
python-gobject-2 Dep: libglib2.0-0 (>= 2.41.1) soft_depend 0
libglib2.0-0 is included already, acceptable version 2.50.2-2
terminator failed, couldn't satisfy OR dep
terminator Dep: python-gtk2 (>= 2.14.0) soft_depend 0
python-gtk2 not included in a useful version, check_backports 0
python-gtk2 not included in a useful version, check_backports 0
python-gtk2 (>= 2.14.0) not already installed
OR relationship not already satisfied, looking at alternatives in order, check_backports 0
python-gtk2 Dep: python (<< 2.8) soft_depend 0
python is included already, acceptable version 2.7.11-2
python-gtk2 Dep: python (>= 2.7) soft_depend 0
python is included already, acceptable version 2.7.11-2
python-gtk2 Dep: python-numpy (>= 1:1.10.0~b1) soft_depend 0
python-numpy not included in a useful version, check_backports 0
python-numpy not included in a useful version, check_backports 0
python-numpy (>= 1:1.10.0~b1) not already installed
OR relationship not already satisfied, looking at alternatives in order, check_backports 0
python-numpy Dep: python (<< 2.8) soft_depend 0
python is included already, acceptable version 2.7.11-2
python-numpy Dep: python (>= 2.7~) soft_depend 0
python is included already, acceptable version 2.7.11-2
python-numpy Dep: python2.7 soft_depend 0
python2.7 is included already, acceptable version 2.7.12-7
python-numpy Dep: python soft_depend 0
python is included already, acceptable version 2.7.11-2
python-numpy Dep: python soft_depend 0
python is included already, acceptable version 2.7.11-2
python-numpy Dep: (OR libblas3 libblas3 ) soft_depend 0
libblas3 is included already, acceptable version 3.6.1-2
python-numpy Dep: libc6 (>= 2.14) soft_depend 0
libc6 is included already, acceptable version 2.24-7
python-numpy Dep: (OR liblapack3 liblapack3 ) soft_depend 0
liblapack3 is included already, acceptable version 3.6.1-2
python-gtk2 Dep: python-numpy soft_depend 0
python-numpy not included in a useful version, check_backports 0
python-numpy not included in a useful version, check_backports 0
OR relationship already satisfied by parent python-numpy
python-gtk2 Dep: python soft_depend 0
python is included already, acceptable version 2.7.11-2
python-gtk2 Dep: libatk1.0-0 (>= 1.12.4) soft_depend 0
libatk1.0-0 is included already, acceptable version 2.22.0-1
python-gtk2 Dep: libc6 (>= 2.14) soft_depend 0
libc6 is included already, acceptable version 2.24-7
python-gtk2 Dep: libcairo2 (>= 1.2.4) soft_depend 0
libcairo2 is included already, acceptable version 1.14.6-1.1
python-gtk2 Dep: libfontconfig1 (>= 2.11) soft_depend 0
libfontconfig1 is included already, acceptable version 2.11.0-6.7
python-gtk2 Dep: libfreetype6 (>= 2.2.1) soft_depend 0
libfreetype6 is included already, acceptable version 2.6.3-3+b1
python-gtk2 Dep: libgdk-pixbuf2.0-0 (>= 2.22.0) soft_depend 0
libgdk-pixbuf2.0-0 is included already, acceptable version 2.36.0-1
python-gtk2 Dep: libglib2.0-0 (>= 2.24.0) soft_depend 0
libglib2.0-0 is included already, acceptable version 2.50.2-2
python-gtk2 Dep: libgtk2.0-0 (>= 2.24.0) soft_depend 0
libgtk2.0-0 is included already, acceptable version 2.24.31-1
python-gtk2 Dep: libpango-1.0-0 (>= 1.22.0) soft_depend 0
libpango-1.0-0 is included already, acceptable version 1.40.3-3
python-gtk2 Dep: libpangocairo-1.0-0 (>= 1.21.4) soft_depend 0
libpangocairo-1.0-0 is included already, acceptable version 1.40.3-3
python-gtk2 Dep: libpangoft2-1.0-0 (>= 1.21.4) soft_depend 0
libpangoft2-1.0-0 is included already, acceptable version 1.40.3-3
python-gtk2 Dep: python-cairo (>= 1.0.2-1.1) soft_depend 0
python-cairo not included in a useful version, check_backports 0
python-cairo not included in a useful version, check_backports 0
python-cairo (>= 1.0.2-1.1) not already installed
OR relationship not already satisfied, looking at alternatives in order, check_backports 0
python-cairo Dep: libc6 (>= 2.14) soft_depend 0
libc6 is included already, acceptable version 2.24-7
python-cairo Dep: libcairo2 (>= 1.8.6) soft_depend 0
libcairo2 is included already, acceptable version 1.14.6-1.1
python-cairo Dep: python (<< 2.8) soft_depend 0
python is included already, acceptable version 2.7.11-2
python-cairo Dep: python (>= 2.7~) soft_depend 0
python is included already, acceptable version 2.7.11-2
python-cairo Dep: python soft_depend 0
python is included already, acceptable version 2.7.11-2
python-cairo Dep: python soft_depend 0
python is included already, acceptable version 2.7.11-2
python-gtk2 Dep: python-gobject-2 (>= 2.21.3) soft_depend 0
python-gobject-2 not included in a useful version, check_backports 0
python-gobject-2 not included in a useful version, check_backports 0
OR relationship already satisfied by parent python-gobject-2 (>= 2.21.3)
terminator failed, couldn't satisfy OR dep
terminator Dep: python-vte soft_depend 0
python-vte not included in a useful version, check_backports 0
python-vte not included in a useful version, check_backports 0
python-vte not already installed
OR relationship not already satisfied, looking at alternatives in order, check_backports 0
python-vte Dep: libatk1.0-0 (>= 1.12.4) soft_depend 0
libatk1.0-0 is included already, acceptable version 2.22.0-1
python-vte Dep: libc6 (>= 2.4) soft_depend 0
libc6 is included already, acceptable version 2.24-7
python-vte Dep: libcairo2 (>= 1.2.4) soft_depend 0
libcairo2 is included already, acceptable version 1.14.6-1.1
python-vte Dep: libfontconfig1 (>= 2.11) soft_depend 0
libfontconfig1 is included already, acceptable version 2.11.0-6.7
python-vte Dep: libfreetype6 (>= 2.2.1) soft_depend 0
libfreetype6 is included already, acceptable version 2.6.3-3+b1
python-vte Dep: libgdk-pixbuf2.0-0 (>= 2.22.0) soft_depend 0
libgdk-pixbuf2.0-0 is included already, acceptable version 2.36.0-1
python-vte Dep: libglib2.0-0 (>= 2.26.0) soft_depend 0
libglib2.0-0 is included already, acceptable version 2.50.2-2
python-vte Dep: libgtk2.0-0 (>= 2.20.0) soft_depend 0
libgtk2.0-0 is included already, acceptable version 2.24.31-1
python-vte Dep: libncurses5 (>= 6) soft_depend 0
libncurses5 is included already, acceptable version 6.0+20160917-1
python-vte Dep: libpango-1.0-0 (>= 1.22.0) soft_depend 0
libpango-1.0-0 is included already, acceptable version 1.40.3-3
python-vte Dep: libpangocairo-1.0-0 (>= 1.22.0) soft_depend 0
libpangocairo-1.0-0 is included already, acceptable version 1.40.3-3
python-vte Dep: libpangoft2-1.0-0 (>= 1.22.0) soft_depend 0
libpangoft2-1.0-0 is included already, acceptable version 1.40.3-3
python-vte Dep: libtinfo5 (>= 6) soft_depend 0
libtinfo5 is included already, acceptable version 6.0+20160917-1
python-vte Dep: libvte9 (>= 1:0.24.0) soft_depend 0
libvte9 not included in a useful version, check_backports 0
libvte9 not included in a useful version, check_backports 0
libvte9 (>= 1:0.24.0) not already installed
OR relationship not already satisfied, looking at alternatives in order, check_backports 0
libvte9 Dep: libatk1.0-0 (>= 1.12.4) soft_depend 0
libatk1.0-0 is included already, acceptable version 2.22.0-1
libvte9 Dep: libc6 (>= 2.14) soft_depend 0
libc6 is included already, acceptable version 2.24-7
libvte9 Dep: libcairo2 (>= 1.2.4) soft_depend 0
libcairo2 is included already, acceptable version 1.14.6-1.1
libvte9 Dep: libfontconfig1 (>= 2.11) soft_depend 0
libfontconfig1 is included already, acceptable version 2.11.0-6.7
libvte9 Dep: libfreetype6 (>= 2.2.1) soft_depend 0
libfreetype6 is included already, acceptable version 2.6.3-3+b1
libvte9 Dep: libgdk-pixbuf2.0-0 (>= 2.22.0) soft_depend 0
libgdk-pixbuf2.0-0 is included already, acceptable version 2.36.0-1
libvte9 Dep: libglib2.0-0 (>= 2.37.3) soft_depend 0
libglib2.0-0 is included already, acceptable version 2.50.2-2
libvte9 Dep: libgtk2.0-0 (>= 2.24.0) soft_depend 0
libgtk2.0-0 is included already, acceptable version 2.24.31-1
libvte9 Dep: libncurses5 (>= 6) soft_depend 0
libncurses5 is included already, acceptable version 6.0+20160917-1
libvte9 Dep: libpango-1.0-0 (>= 1.22.0) soft_depend 0
libpango-1.0-0 is included already, acceptable version 1.40.3-3
libvte9 Dep: libpangocairo-1.0-0 (>= 1.22.0) soft_depend 0
libpangocairo-1.0-0 is included already, acceptable version 1.40.3-3
libvte9 Dep: libpangoft2-1.0-0 (>= 1.22.0) soft_depend 0
libpangoft2-1.0-0 is included already, acceptable version 1.40.3-3
libvte9 Dep: libtinfo5 (>= 6) soft_depend 0
libtinfo5 is included already, acceptable version 6.0+20160917-1
libvte9 Dep: libx11-6 soft_depend 0
libx11-6 is included already, acceptable version 2:1.6.3-1
libvte9 Dep: libxext6 soft_depend 0
libxext6 is included already, acceptable version 2:1.3.3-1
libvte9 Dep: libvte-common (= 1:0.28.2-5) soft_depend 0
libvte-common not included in a useful version, check_backports 0
libvte-common not included in a useful version, check_backports 0
libvte-common (= 1:0.28.2-5) not already installed
OR relationship not already satisfied, looking at alternatives in order, check_backports 0
python-vte Dep: libx11-6 soft_depend 0
libx11-6 is included already, acceptable version 2:1.6.3-1
python-vte Dep: libxext6 soft_depend 0
libxext6 is included already, acceptable version 2:1.3.3-1
python-vte Dep: python (>= 2.7) soft_depend 0
python is included already, acceptable version 2.7.11-2
python-vte Dep: python (<< 2.8) soft_depend 0
python is included already, acceptable version 2.7.11-2
python-vte Dep: python-gtk2 soft_depend 0
python-gtk2 not included in a useful version, check_backports 0
python-gtk2 not included in a useful version, check_backports 0
OR relationship already satisfied by parent python-gtk2
python-vte Dep: libvte-common (= 1:0.28.2-5) soft_depend 0
libvte-common not included in a useful version, check_backports 0
libvte-common not included in a useful version, check_backports 0
OR relationship already satisfied by parent libvte-common (= 1:0.28.2-5)
terminator failed, couldn't satisfy OR dep
terminator Dep: python soft_depend 0
python is included already, acceptable version 2.7.11-2
Can't add terminator ... dependency problem.
보시다시피, 확인해야 할 패키지 수가 엄청납니다...불합리한 수준에 도달하고 해결해야 할 패키지도 하나 있습니다.하나의팩. 내가 확인했다문제 해결 섹션작동 방법은 다음과 같습니다.
예를 들어 빌드가 끝날 때 오류가 있는 경우:
ERROR: missing required packages from profile MyProfile: mplayer ...
이 패키지를 추가할 수 없는 이유를 알아보려면 다음을 참조하세요.
tmp/cd-build/$dist/sort_deps.$arch.log
간접적인 종속성을 명시적으로 추가해야 할 수도 있습니다. 예를 들어 mplayer는 mplayer-skin에 의존합니다. mplayer-skin 패키지가 없다는 점만 빼면요. 그러나 mplayer-skin을 제공하고 종속성을 충족하는 mplayer-skin-blue 패키지가 있습니다. 실제로 gtk2-engines 패키지에 포함된 gtk2-engines-induscial 패키지와 같이 많은 이전 패키지를 제공하는 일부 최신 패키지에서도 마찬가지입니다.어떤 패키지가 필요한지 확인할 수 있으면 해당 패키지를 패키지의 *.downloads 구성 파일에 추가하세요.CD에 포함될 예정입니다. (참고: simple-cdd 0.3.6부터 제공은 어느 정도 정확하게 처리되어야 합니다.) (참고: 그다지 많지는 않습니다. 어떤 경우에는 xpdf-utils가 더 이상 실제 패키지가 아닙니다. 과도기적인 패키지입니다. 모든 두 번째 수준 종속성을 명시적으로 추가하고 문제를 일으키는 패키지가 마침내 오류 메시지에 나타날 때까지 설치 프로그램을 lenny에서 squeezee로 업그레이드하는 동안 저를 방해했습니다.따라서 이 문제를 해결하려면 스테이징 패키지에 종속된 패키지를 찾을 때까지 apt가 *.packages 파일에 자동으로 추가하는 모든 패키지를 추가하기 시작해야 합니다.)
simple-cdd가 자체 빌드된 패키지의 종속성을 올바르게 처리할 수 없는 경우 lintian을 사용하여 먼저 확인하세요. dpkg/apt/reprepro와 원활하게 작동하는 패키지 중 하나에 잘못된 헤더 형식이 있다는 사실을 발견하는 데 이틀이 걸렸습니다.
필요한 패키지를 식별하고 이를 .downloads 파일에 추가하면 이 문제를 해결할 수 있을 것 같지만 다음과 같습니다.
- 기준이 무엇인지 잘 모르겠습니다.
- 나는 발견되지 않은 모든 패키지를 추가하여 샷건 접근 방식을 시도했습니다. 이로 인해 원래 문제가 해결되지 않았고 다른 문제가 발생했습니다.
- 일부 문제는 잘못된 헤더로 인해 발생한다고 주장하므로 먼저 lintian을 사용해야 하는데 패키지는 일반적으로 그런 문제가 없는 데비안 미러에서 설치되지만 어쨌든 확인하는 방법을 모르겠습니다.
- 패키지를 제거하면 CD를 빌드할 수 있었지만 더 높은 종속성을 시도해도 도움이 되지 않았습니다. task-xfce-desktop에 대해 이 패키지를 변경했는데 결과는 거의 동일했습니다.