5 apt-torrent

松信

PIC

Debian レポジトリbittorrent トワそれを apt するというものが apt-torrent です

まだ Debian としては頒布されておらずフランスシコシコているようですhttp://sianka.free.fr/ 発がわれています

5.1 bittorrent とは

bittorrent とはP2P いたイル転送プロトコルとそのソフトウします徴としては P2P イルをおいにしあうというプロトコルになているところです

P2P ソフトウではイルまるようになているがこのプロトコル使うことにより のないピアイルできるようになています

このプロトコルDebian 頒布apt するようにしたものがapt-torrentです

5.2 使

5.2.1 ダウンロ

にもいたように Debian としては頒布されていません

以下サイトからダウンロ使します http://sianka.free.fr/download/apt-torrent_0.5.0-1_all.deb

apt として利用できる apt-line されており以下apt-line /etc/apt/sources.listして使 能 で す

5.2.2

インストすると動的に /etc/apt/sources.list されます

以下された apt-torrent apt-line です

### BEGIN APT-TORRENT SOURCE LIST
# Do not edit or remove the markers, they are used by the apt-torrent package

# Uncomment one of the following:
# deb http://127.0.0.1:6968/debian/ unstable main
# deb http://127.0.0.1:6968/debian/ testing main

### END APT-TORRENT SOURCE LIST

分のわせて apt-line コメントします

5.2.3 apt-get update してみる

apt-torrent apt-line だけ有効にしapt-get update してみます

iwamatsu@chimagu:~$ LANG=C sudo apt-get update
Get:1 http://127.0.0.1 unstable Release.gpg [189B]
Get:2 http://127.0.0.1 unstable Release [776B]
Ign http://127.0.0.1 unstable/main Packages/DiffIndex
Get:3 http://127.0.0.1 unstable/main Packages [27.9kB]
Fetched 28.9kB in 3s (8118B/s)
Reading package lists... Done
5.2.4 インストしてみる

いつも使ている apt-get / aptutide / dselect torrent トワから Debian Package することが です

しかしはどのようなtorrent にあるのか分りませんドキメントURI サイト されている apt レポジトリ debhttp://sianka.free.fr/debianunstablemain にあるものがされているよう です

apt フロントエンドである aptitude 使インストしたときの以下します

# aptitude install frozen-bubble
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following NEW packages will be automatically installed:
 fb-music-high frozen-bubble-data
The following packages have been kept back:
 galeon galeon-common
The following NEW packages will be installed:
 fb-music-high frozen-bubble frozen-bubble-data
0 packages upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 12.1MB/12.2MB of archives. After unpacking 17.3MB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Get:1 http://127.0.0.1 unstable/main fb-music-high 0.1.1 [6950kB]
Get:2 http://127.0.0.1 unstable/main frozen-bubble-data 1.0.0-6 [5155kB]
Fetched 12.1MB in 24s (488kB/s)
Selecting previously deselected package fb-music-high.
(Reading database ... 208931 files and directories currently installed.)
Unpacking fb-music-high (from .../fb-music-high_0.1.1_all.deb) ...
Selecting previously deselected package frozen-bubble-data.
Unpacking frozen-bubble-data (from .../frozen-bubble-data_1.0.0-6_all.deb) ...
Selecting previously deselected package frozen-bubble.
Unpacking frozen-bubble (from .../frozen-bubble_1.0.0-6_i386.deb) ...
Setting up fb-music-high (0.1.1) ...
Setting up frozen-bubble-data (1.0.0-6) ...
Setting up frozen-bubble (1.0.0-6) ...

Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done

2007/01/18 現在では正常できません *11

5.3

apt-torrent torrent トワモンするモン がありますプロセスるとapt-torrent プロセスがあることがわかりま *12

23404 ?        Ssl    0:00 /usr/bin/pike7.6 /usr/bin/apt-torrent
23411 ?        S      0:00 /usr/bin/pike7.6 /usr/bin/apt-torrent-httpd
23412 ?        S      0:00 /usr/bin/python /usr/bin/btlaunchmany /var/cache/apt-torrent --max_upload_rate -1 --parse_dir_interval 7
23644 pts/0    R+     0:00 ps ax

apt-torrnet イルするモンapt-torrent-httpd する httpd server ですこれら 2 モンbittorrentから Debian Package します

PIC

単な流れは以下のようになります

  1. クライアントapt-get update います

    う と apt-torrent-proxyしています

  2. apt-torrent-proxy して apt-torrent http server します

    /etc/apt/sources.listしてある apt-line からみます

  3. bittorrent アクセスします
  4. apt-torrent server からします

    apt-torrentseeder*13 tracker*14 ている apt-torrent アクセスします

  5. apt-get install xxxxxxxx いますapt-torrent-proxy してseeder からみま したDebian Package なので apt をします

apt-torrent http server して bittorrent アクセスしているのでhttp されている apt-line から しているのとわらない動きをします

5.4 apt との

ではapt-get http / ftp していますがapt-torrent 使することによてひと つのピア同士有することが能になりますapt-torrnet http / ftp がかからなくなるひとつの方法になるのではないかと的にえていますしい unstable / testing 無理としてもstable apt-torrent 頒布するのはいい方法だといます今後 発者連絡でも apt-torrent server 立ててしてみようとしているところ です

5.5 その

同じような能をWinny プロトコル使apt-winny してみるといといました 2ch winny Linux である Linny 発しているようなのではまだない。 ) したいと ます

24 エリア Debian 2007 1 ____________________________________________________