Debian下安装transmission很简单,直接apt-get install transmission即可。
安装完毕后找不到哪个是主程序,查找了一下,结果一堆:
LSPPC-Lenny:~# find / -name transmission*
/var/lib/dpkg/info/transmission-common.md5sums
/var/lib/dpkg/info/transmission-common.list
/var/lib/dpkg/info/transmission-cli.md5sums
/var/lib/dpkg/info/transmission-cli.list
/var/lib/dpkg/info/transmission-gtk.postinst
/var/lib/dpkg/info/transmission-gtk.list
/var/lib/dpkg/info/transmission-gtk.postrm
/var/lib/dpkg/info/transmission-gtk.md5sums
/var/lib/dpkg/info/transmission.list
/var/cache/apt/archives/transmission-common_1.22-1+lenny2_all.deb
/var/cache/apt/archives/transmission-cli_1.22-1+lenny2_powerpc.deb
/var/cache/apt/archives/transmission-gtk_1.22-1+lenny2_powerpc.deb
/var/cache/apt/archives/transmission_1.22-1+lenny2_all.deb
/usr/share/doc/transmission-common
/usr/share/doc/transmission-cli
/usr/share/doc/transmission-gtk
/usr/share/doc/transmission
/usr/share/man/man1/transmission-proxy.1.gz
/usr/share/man/man1/transmission-remote.1.gz
/usr/share/man/man1/transmissioncli.1.gz
/usr/share/man/man1/transmission-daemon.1.gz
/usr/share/man/man1/transmission.1.gz
/usr/share/locale/sv/LC_MESSAGES/transmission.mo
/usr/share/locale/bg/LC_MESSAGES/transmission.mo
/usr/share/locale/ca/LC_MESSAGES/transmission.mo
/usr/share/locale/cs/LC_MESSAGES/transmission.mo
/usr/share/locale/da/LC_MESSAGES/transmission.mo
/usr/share/locale/de/LC_MESSAGES/transmission.mo
/usr/share/locale/el/LC_MESSAGES/transmission.mo
/usr/share/locale/es/LC_MESSAGES/transmission.mo
/usr/share/locale/fi/LC_MESSAGES/transmission.mo
/usr/share/locale/fr/LC_MESSAGES/transmission.mo
/usr/share/locale/ga/LC_MESSAGES/transmission.mo
/usr/share/locale/gl/LC_MESSAGES/transmission.mo
/usr/share/locale/hu/LC_MESSAGES/transmission.mo
/usr/share/locale/it/LC_MESSAGES/transmission.mo
/usr/share/locale/ja/LC_MESSAGES/transmission.mo
/usr/share/locale/nb/LC_MESSAGES/transmission.mo
/usr/share/locale/nl/LC_MESSAGES/transmission.mo
/usr/share/locale/pl/LC_MESSAGES/transmission.mo
/usr/share/locale/pt/LC_MESSAGES/transmission.mo
/usr/share/locale/pt_BR/LC_MESSAGES/transmission.mo
/usr/share/locale/ru/LC_MESSAGES/transmission.mo
/usr/share/locale/sk/LC_MESSAGES/transmission.mo
/usr/share/locale/sl/LC_MESSAGES/transmission.mo
/usr/share/locale/tr/LC_MESSAGES/transmission.mo
/usr/share/locale/zh_CN/LC_MESSAGES/transmission.mo
/usr/share/locale/zh_TW/LC_MESSAGES/transmission.mo
/usr/share/locale/ro/LC_MESSAGES/transmission.mo
/usr/share/locale/nn/LC_MESSAGES/transmission.mo
/usr/share/locale/he/LC_MESSAGES/transmission.mo
/usr/share/locale/ar/LC_MESSAGES/transmission.mo
/usr/share/locale/sr/LC_MESSAGES/transmission.mo
/usr/share/locale/lt/LC_MESSAGES/transmission.mo
/usr/share/locale/mk/LC_MESSAGES/transmission.mo
/usr/share/locale/te/LC_MESSAGES/transmission.mo
/usr/share/locale/fa/LC_MESSAGES/transmission.mo
/usr/share/locale/lv/LC_MESSAGES/transmission.mo
/usr/share/locale/ml/LC_MESSAGES/transmission.mo
/usr/share/locale/ka/LC_MESSAGES/transmission.mo
/usr/share/locale/mt/LC_MESSAGES/transmission.mo
/usr/share/menu/transmission-gtk
/usr/share/pixmaps/transmission.png
/usr/share/pixmaps/transmission.xpm
/usr/share/applications/transmission.desktop
/usr/share/icons/hicolor/16×16/apps/transmission.png
/usr/share/icons/hicolor/22×22/apps/transmission.png
/usr/share/icons/hicolor/24×24/apps/transmission.png
/usr/share/icons/hicolor/32×32/apps/transmission.png
/usr/share/icons/hicolor/48×48/apps/transmission.png
/usr/share/icons/hicolor/scalable/apps/transmission.svg
/usr/bin/transmissioncli
/usr/bin/transmission-daemon
/usr/bin/transmission-proxy
/usr/bin/transmission-remote
/usr/bin/transmission
/usr/lib/mime/packages/transmission-gtk
貌似/usr/bin/transmission-daemo就是主程序了,直接运行一下,没有任何提示,后来发现配置文件在root目录下面,但是里面找不到配置文件,那个抓狂啊。
继续研究,transmission-daemo -h查看下帮助:LSPPC-Lenny:~# transmission-daemon -h
usage: transmission-daemon [-dfh] [-p file] [-s file]
Transmission 1.22 (6191) http://www.transmissionbt.com/
A fast and easy BitTorrent client
-d –debug Print data send and received, implies -f
-f –foreground Run in the foreground and log to stderr
-g –config-dir <path> Where to look for configuration files
-h –help Display this message and exit
-p –pidfile <path> Save the process id in a file at <path>
-s –socket <path> Place the socket file at <path>
To add torrents or set options, use the transmission-remote program.
貌似加-g参数是指定配置文件目录的,我就让它保持默认目录就好;
试试加了-f参数,还是不行!
将transmission以及依赖的包全部删除,将cache里下载的deb包全部清理掉,换了source.list,重新安装,问题依旧。
试了下挂载openlink的系统然后用optware的ipkg安装是OK的,可以正常运行,但是在debian里偶无法安装这个ipk包,只好尝试编译一个。
东查西找,好容易把编译所需的包凑齐了, ./configure提示还缺libcurl,晕死
试了一下在LS2上安装transmission,发现版本是1.22,和PowerPC上的版本一样,都是lenny的源,运行同样不能生成配置文件,进程里只有两个taransmission的PID,正常情况下应该是3个才对。
无奈了,看来只能装最新版本的transmission了