お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2008-04-10 13:53:36

avidya
ゲスト

【済】リポジトリでの libtheora のバージョン不一致

 最新の ffmpeg をビルドするために、libtheora-dev を Synaptic パッケージマネージャでインストールしようとしたところ、エラーで撥ねられました。
 Synaptic マネージャで libtheora0 のバージョンは 1.0~beta2-2~gutsy1 となっており、libtheora-dev のバージョンは 0.0.0.alpha.dfsg-2ubuntu1 となっています。
 このバイナリとソースのバージョンの不一致のために、ffmpeg のコンパイルができず、困っております。対処方法をご存知の方はいらっしゃらないでしょうか?

最後の編集者: avidya (2008-08-26 11:59:15)

 

#2 2008-04-10 14:46:37

si
メンバ
From: hokkaido kitami, jp
登録日: 2007-01-15

Re: 【済】リポジトリでの libtheora のバージョン不一致

私もよく分かりませんが、ソース・リポジトリが有効になっていない?

オフライン

 

#3 2008-04-10 14:56:16

avidya
ゲスト

Re: 【済】リポジトリでの libtheora のバージョン不一致

 それがソフトウェア・ソースでソースの取得が有効なのは確認済みなんですよ。
 theora の本家サイトからソースを落としてビルドも考えたのですが、それ以前に libtheora-dev 0.0.0.alpha.dfsg-2ubuntu1 をインストールしようとしたら、削除されるパッケージが山のようにでてきて、怖くて止めました。つまり libtheora をビルドしなおしたら、動かないアプリケーションが多発するのではないかと。
 一番いいのは Synaptic パッケージマネージャで、バイナリバージョンと同じバージョンの dev ファイルがヒットすることなんですけどねぇ。

 私は Ubuntu 7.10 を、すでに実用目的で使っているので、迂闊なことはできないんですよ。

最後の編集者: avidya (2008-04-10 15:00:53)

 

#4 2008-04-10 15:28:44

hito
管理者
登録日: 2007-03-18

Re: 【済】リポジトリでの libtheora のバージョン不一致

gutsy-backportが有効になっていることを確認した上で、
「再読込」しても変わりませんか?


libtheora0がgutsy-backportのもの、libtheora-devがgutsyのものに
なっているようです。もし直らないとすると、なにかリポジトリの設定を
誤っているような気がします。

直らない場合は、
apt-cache policy libtheora-dev libtheora0
の結果を見せてください。

オフライン

 

#5 2008-04-10 15:32:18

Shibata
管理者
From: 東京
登録日: 2006-10-25

Re: 【済】リポジトリでの libtheora のバージョン不一致

1.0~beta2-2~gutsy1が表示されるってことは、gutsy-backportが有効になってますよね?

http://archive.ubuntu.com/ubuntu/pool/main/libt/libtheora/
を見る限り、-devの1.0~beta2-2~gutsy1のパッケージファイルは存在するようなので、パッケージリストの情報が更新されていないか、お使いのサーバが不調かのどちらかだと思います。

Synapticで「再読み込み」を押してから検索してみるか、ソフトウェア・ソースからサーバを変更してみてはいかがでしょうか。

# 遅かったorz

オフライン

 

#6 2008-04-11 11:16:40

avidya
ゲスト

Re: 【済】リポジトリでの libtheora のバージョン不一致

hito による投稿:

gutsy-backportが有効になっていることを確認した上で

 gutsy-backport は有効にしていません。ただ Medibuntu のリポジトリを追加しているので、それが関係しているのかもしれません。

hito による投稿:

直らない場合は、
apt-cache policy libtheora-dev libtheora0
の結果を見せてください。

 とりあえず張り付けます。
──────────────────────────────────────────────────
:~$ apt-cache policy libtheora-dev libtheora0
libtheora-dev:
  インストールされているバージョン: (なし)
  候補: 0.0.0.alpha7.dfsg-2ubuntu1
  バージョンテーブル:
     0.0.0.alpha7.dfsg-2ubuntu1 0
        500 http://ftp.jaist.ac.jp gutsy/main Packages
libtheora0:
  インストールされているバージョン: 1.0~beta2-2~gutsy1
  候補: 1.0~beta2-2~gutsy1
  バージョンテーブル:
*** 1.0~beta2-2~gutsy1 0
        100 /var/lib/dpkg/status
     0.0.0.alpha7.dfsg-2ubuntu1 0
        500 http://ftp.jaist.ac.jp gutsy/main Packages
──────────────────────────────────────────────────
 あらら、どちらも http://ftp.jaist.ac.jp gutsy/main Packages ですね。

最後の編集者: avidya (2008-04-11 11:28:13)

 

#7 2008-04-11 12:30:01

avidya
ゲスト

Re: 【済】リポジトリでの libtheora のバージョン不一致

 結果報告します。
 まず

Shibata による投稿:

http://archive.ubuntu.com/ubuntu/pool/m … libtheora/

から直接、libtheora-dev_1.0~beta2-2~gutsy1_i386.deb をダウンロードし、dpkg でインストール。

 次に
http://ftp.penguin.cz/pub/users/utx/amr/
から、amrnb-7.0.0.1.tar.bz2、amrwb-7.0.0.2.tar.bz2 をダウンロードし、それぞれビルド。

 最後に ffmpeg をビルドしました。
 configure オプションのは以下のような感じです。

コード:

./configure --enable-gpl --enable-nonfree --enable-pthreads --disable-debug --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libdc1394 --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-ffserver --disable-ffplay --enable-shared --prefix=/usr

 以上で報告を終わります。

 

#8 2008-04-11 14:52:18

Shibata
管理者
From: 東京
登録日: 2006-10-25

Re: 【済】リポジトリでの libtheora のバージョン不一致

avidya による投稿:

libtheora0:
  インストールされているバージョン: 1.0~beta2-2~gutsy1
  候補: 1.0~beta2-2~gutsy1
  バージョンテーブル:
*** 1.0~beta2-2~gutsy1 0
        100 /var/lib/dpkg/status
     0.0.0.alpha7.dfsg-2ubuntu1 0
        500 http://ftp.jaist.ac.jp gutsy/main Packages

この表示は、リポジトリは「最新版がalpha7だよ」と言っているにも関わらず、なぜかローカルにインストールされているのは、それよりも新しいbeta2になっている、というとても奇妙な状態を表しています、たぶん。

手元の環境(Ubuntu 7.10)では、libtheora-devの表示は同じですが、libtheora0の表示は

コード:

libtheora0:
  インストールされているバージョン: 0.0.0.alpha7.dfsg-2ubuntu1
  候補: 0.0.0.alpha7.dfsg-2ubuntu1
  バージョンテーブル:
 *** 0.0.0.alpha7.dfsg-2ubuntu1 0
        500 http://jp.archive.ubuntu.com gutsy/main Packages
        100 /var/lib/dpkg/status

です。

ソースリストがおかしなことになってるんじゃないかと思うのですが……。もしかして、以前にHardy版のMedibuntuを入れていたりしませんでしたか?でも、一度再インストールしたんですよね。となると比較的クリーンな環境になっていると思いますが……。

お手数ですが、/etc/apt/sources.listの中身と、/etc/apt/sources.list.d/ディレクトリ以下にあるすべてのファイルの中身を貼り付けてみてはもらえないでしょうか。

オフライン

 

#9 2008-04-12 07:34:39

avidya
ゲスト

Re: 【済】リポジトリでの libtheora のバージョン不一致

Shibata による投稿:

以前にHardy版のMedibuntuを入れていたりしませんでしたか?でも、一度再インストールしたんですよね。となると比較的クリーンな環境になっていると思いますが……。

 一度パーティションを削除して、クリーンインストールしました。

Shibata による投稿:

お手数ですが、/etc/apt/sources.listの中身と、/etc/apt/sources.list.d/ディレクトリ以下にあるすべてのファイルの中身を貼り付けてみてはもらえないでしょうか。

 お役に立てるのなら。

/etc/apt/sources.list
───────────────────────────────────────────────────
deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ Japanese Remix - Release i386 (20071018)]/ gutsy main restricted
deb-src http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ gutsy main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ gutsy main restricted
deb-src http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ gutsy multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ gutsy-updates main restricted
deb-src http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ gutsy-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ gutsy universe
deb http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ gutsy multiverse
deb http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb-src http://jp.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu gutsy partner
# deb-src http://archive.canonical.com/ubuntu gutsy partner

deb http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ gutsy-security main restricted
deb-src http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ gutsy-security restricted main multiverse universe #Added by software-properties
deb http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ gutsy-security universe
deb http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ gutsy-security multiverse

deb http://archive.ubuntulinux.jp/ubuntu-ja gutsy/
deb-src http://archive.ubuntulinux.jp/ubuntu-ja gutsy/
deb http://archive.ubuntulinux.jp/ubuntu-ja gutsy-ja/
deb-src http://archive.ubuntulinux.jp/ubuntu-ja gutsy-ja/
───────────────────────────────────────────────────

akirad.list
───────────────────────────────────────────────────
## Akirad-Gutsy - Ubuntu 7.10 "gutsy gibbon"
## Please report any bug on [email protected]
# deb http://repository.akirad.net/ akirad-gutsy main
# deb-src http://repository.akirad.net/ akirad-gutsy main

akirad.list.save
───────────────────────────────────────────────────
## Akirad-Gutsy - Ubuntu 7.10 "gutsy gibbon"
## Please report any bug on [email protected]
# deb http://repository.akirad.net/ akirad-gutsy main
deb-src http://repository.akirad.net/ akirad-gutsy main

medibuntu.list
───────────────────────────────────────────────────
## Medibuntu - Ubuntu 7.04 "feisty fawn"
## Please report any bug on https://bugs.launchpad.net/medibuntu/
deb http://packages.medibuntu.org/ feisty free non-free
deb-src http://packages.medibuntu.org/ feisty free non-free

medibuntu.list.save
───────────────────────────────────────────────────
## Medibuntu - Ubuntu 7.04 "feisty fawn"
## Please report any bug on https://bugs.launchpad.net/medibuntu/
deb http://packages.medibuntu.org/ feisty free non-free
deb-src http://packages.medibuntu.org/ feisty free non-free
───────────────────────────────────────────────────

 なお、サードパーティのリポジトリとして、
http://packages.medibuntu.org/ ← 各種 AV 関連ソフト、ライブラリインストールのため
http://repository.akirad.net/    ← cinelerra インストールのため
を追加しています。

 なお、akirad.list において、バイナリリポジトリ、ソースリポジトリがコメントアウトされているのは、現在、ソフトウェア・ソースでチェックを外しているからです。
 また、akirad.list.save において、ソースリポジトリのみ有効になっているのは、deb-src http://repository.akirad.net/ akirad-gutsy main を有効にしていなかったのが怪しいんじゃないかと思って、一時的にソフトウェア・ソースでソースリポジトリのみ有効にしたためです。

 もちろん複数リポジトリを有効にしたために conflict が発生している可能性も否定していません。

 以上です。

最後の編集者: avidya (2008-04-12 07:54:05)

 

#10 2008-04-12 07:58:00

Shibata
管理者
From: 東京
登録日: 2006-10-25

Re: 【済】リポジトリでの libtheora のバージョン不一致

ありがとうございます。

気になったのは、Medibuntuがfeistyを使っている、ことぐらいです。ただ、Feistyは古い方ですしこれによって最新版がインストールされるってのはちょっと考えにくいです。他は特に不自然じゃないと思いますので、ますますlibtheora0のbeta2がインストールされてしまった理由がわからなくなりました……。akiradでもlibtheoraを配布しているってわけじゃなさそうですし。

すみません、自分にはお手上げです……

オフライン

 

#11 2008-04-12 08:30:15

avidya
ゲスト

Re: 【済】リポジトリでの libtheora のバージョン不一致

Shibata による投稿:

気になったのは、Medibuntuがfeistyを使っている、ことぐらいです

 ありがとうございます。気がつきませんでした。
 さっそく gutsy に変えて、各種パッケージも更新しました。
 それと再度 ffmpeg をビルドしなおしました。aac コーデックをエンコードできないのは致命的なので  _/ ̄|◯
 ちなみに ffmpeg のビルドについて http://reddatabook.blog.shinobi.jp/Entry/5/ にまとめました。

 

Board footer

Powered by FluxBB