Jul 262012
 

DebianでLaunchpadを動かせないかと思いパッケージでのインストール方法にトライしてみたのですが、簡単にはいけそうにありません。

以下、Running – Launchpad Developmentのページに出ているrocketfuel-setupスクリプトをbzrで入手し、内容を見ながら手で実行してみていった結果です。

リポジトリ追加します。

# echo "deb http://ppa.launchpad.net/launchpad/ppa/ubuntu precise main" > /etc/apt/sources.list.d/launchpad-dev.list

追加リポジトリのAPT-Pinを設定します。

# cat >> /etc/apt/preferences <
> Package: *
> Pin: release a=precise
> Pin-Priority: 700
> EOF
# 

apt-get updateします。

# apt-get update
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2D1FFB6C0A5174AF

gpgキーがないと怒られるので追加します。

# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2D1FFB6C0A5174AF
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.kOwZOphvhu --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --keyserver keyserver.ubuntu.com --recv-keys 2D1FFB6C0A5174AF
gpg: requesting key 0A5174AF from hkp server keyserver.ubuntu.com
gpg: key 0A5174AF: public key "Launchpad PPA for Launchpad Developers" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)

Apache関係パッケージををインストールします。

# apt-get install apache2 apache2-mpm-worker libapache2-mod-wsgi

Launchpad依存パッケージ群をインストールします。

# apt-get install launchpad-developer-dependencies
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 launchpad-developer-dependencies : Depends: launchpad-dependencies (= 0.117~precise1) but it is not going to be installed
                                    Depends: launchpad-soyuz-dependencies (= 0.117~precise1) but it is not going to be installed
                                    Depends: firefox but it is not installable
                                    Recommends: pyflakes but it is not going to be installed
                                    Recommends: subunit but it is not going to be installed
                                    Recommends: python-boto but it is not going to be installed
                                    Recommends: bzr-lpreview-body but it is not going to be installed
                                    Recommends: postgresql-doc-9.1 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
#

DebianにはFirefoxという名前のパッケージはないのでインストールできません。
Firefoxはロゴの問題でIceweaselの名前で提供されているのです。
だったら最初からUbuntuに入れたほうが楽かなと思い、Debianにパッケージで導入する方法は見送ることにしました。

Sorry, the comment form is closed at this time.