Ubuntu10.04 LucidLynxでXenが入らない件について
Ubuntu10.04 LucidLynx(Server)を入れてみました.
今回は仮想化しようと思いXenを入れようとするとこうなります.
onodes@Balthazar:~/xen-tools-3.9$ sudo aptitude install ubuntu-xen-server Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done The following packages are BROKEN: ubuntu-xen-server 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 2590B of archives. After unpacking 32.8kB will be used. The following packages have unmet dependencies: ubuntu-xen-server: Depends: xen-tools which is a virtual package. Unable to resolve dependencies! Giving up... The following packages are BROKEN: ubuntu-xen-server 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 2590B of archives. After unpacking 32.8kB will be used. aptitude failed to find a solution to these dependencies. You can solve them yourself by hand or type 'n' to quit. The following packages have unmet dependencies: ubuntu-xen-server: Depends: xen-tools which is a virtual package. Resolve these dependencies by hand? [N/+/-/_/:/?] Abort.
そしてxen-toolsをいれようとすると.
onodes@Balthazar:~$ sudo aptitude install xen-tools Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done No candidate version found for xen-tools No candidate version found for xen-tools No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Writing extended state information... Done Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done
そこでxen-toolsの.debを入れる.
このとき注意するのは --force-allをつけること
root@Balthazar:/home/onodes# dpkg -i --force-all xen-tools_4.1-1_all.deb (データベースを読み込んでいます ... 現在 45081 個のファイルとディレクトリがインストールされています。) (xen-tools_4.1-1_all.deb から) xen-tools を展開しています... dpkg: 警告: overriding problem because --force enabled: trying to overwrite '/etc/bash_completion.d/xm', which is also in package bash-completion 1:1.1-3ubuntu2 dpkg: xen-tools: 依存関係の問題、しかし要求どおり設定を行います: xen-tools は以下に依存 (depends) します: debootstrap ...しかし: パッケージ debootstrap はまだインストールされていません。 xen-tools は以下に依存 (depends) します: libtext-template-perl ...しかし: パッケージ libtext-template-perl はまだインストールされていません。 xen-tools は以下に依存 (depends) します: libconfig-inifiles-perl ...しかし: パッケージ libconfig-inifiles-perl はまだインストールされていません。 xen-tools (4.1-1) を設定しています ... 設定ファイル `/etc/xen-tools/role.d/puppet' がシステムに存在しません。 あなたの要求に従って、新しい設定ファイルをインストールしています。 設定ファイル `/etc/xen-tools/xen-tools.conf' ==> あなたかスクリプトによって設定ファイルが作成されています。 ==> パッケージメンテナが提供するパッケージにもこのファイルが存在します。 ==> デフォルトで古い設定ファイルを保持する。 設定ファイル `/etc/xen-tools/xm.tmpl' ==> あなたかスクリプトによって設定ファイルが作成されています。 ==> パッケージメンテナが提供するパッケージにもこのファイルが存在します。 ==> デフォルトで古い設定ファイルを保持する。 man-db のトリガを処理しています ...