
simple-cddを使用してシステムを再インストール/インストールするために必要なパッケージのみを含むDebian 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.
ご覧のとおり、確認する必要があるパッケージの数は膨大です...不合理なレベルに達し、解決する必要があるパッケージも1つあります。一つパック。私が確認したトラブルシューティングセクション操作方法は次のとおりです。
たとえば、ビルドの終わりにエラーがあるとします。
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以降、提供はある程度正確に処理する必要があります)レベルの依存関係を明示的に追加し、問題を引き起こすパッケージがついにエラーメッセージに表示されるまで、インストーラをlennyからsqueezeeにアップグレードする間、私を邪魔しました。したがって、この問題を解決するには、ステージングパッケージに依存するパッケージが見つかるまで、aptが* .packagesファイルに自動的に追加するすべてのパッケージを追加し始める必要があります。)
simple-cddが独自に構築されたパッケージの依存関係を正しく処理できない場合は、lintianを使用して最初に確認してください。 dpkg/apt/repreproとスムーズに動作するパッケージの1つに誤ったヘッダー形式があることを発見するのに2日かかりました。
必要なパッケージを特定してそれを.downloadsファイルに追加すると、この問題を解決できるようになりますが、次のようになります。
- 基準が何であるかよくわかりません。
- 私は見つからなかったすべてのパッケージを追加してショットガンアプローチを試しました。これにより元の問題が解決されず、他の問題が発生しました。
- いくつかの問題は間違ったヘッダーが原因であると主張するので、まずlintianを使用する必要がありますが、パッケージは通常そのような問題のないDebianミラーにインストールされますが、とにかく確認する方法がわかりません。
- パッケージをアンインストールするとCDをビルドできましたが、より高い依存関係を試しても役に立ちませんでした。 task-xfce-desktopに対してこのパッケージを変更しましたが、結果はほぼ同じでした。