PDA

View Full Version : Apt-get cannot install BitTorrent :-(



lavaman094
10-06-2003, 06:33 AM
Don't know why this isnt' working....

dpkg -l | grep python says:
ii python 2.3.2-1 An interactive high-level object-oriented la
ii python-imaging 1.1.4-2 The Python Imaging Library
ii python-tk 2.3.2-1 Tkinter - Writing Tk applications with Pytho
ii python2.3 2.3.2-1 An interactive high-level object-oriented la
ii python2.3-imag 1.1.4-1 The Python Imaging Library
ii python2.3-tk 2.3.2-1 Tkinter - Writing Tk applications with Pytho

And BitTorrent says it requires python of version 2.2 or greater OR python2.2 (which I would think to be the same thing). So I've got what I need, but apt-get won't install it:

root@Harkonnen:~# apt-get -uVq install bittorrent
Reading Package Lists...
Building Dependency Tree...
Recommended packages:
libwxgtk2.4-python
The following NEW packages will be installed:
bittorrent (3.2.1b-3)
0 upgraded, 1 newly installed, 0 to remove and 56 not upgraded.
Need to get 0B/63.0kB of archives.
After unpacking 446kB of additional disk space will be used.
Selecting previously deselected package bittorrent.
(Reading database ... 113818 files and directories currently installed.)
Unpacking bittorrent (from .../bittorrent_3.2.1b-3_all.deb) ...
Setting up bittorrent (3.2.1b-3) ...
/var/lib/dpkg/info/bittorrent.postinst: line 31: python2.2: command not found
dpkg: error processing bittorrent (--configure):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
bittorrent

Dave_Bechtel
10-06-2003, 09:14 AM
--Try ' apt-get install bittorrent/stable '.


Don't know why this isnt' working....

dpkg -l | grep python says:
ii python 2.3.2-1 An interactive high-level object-oriented la
ii python-imaging 1.1.4-2 The Python Imaging Library
ii python-tk 2.3.2-1 Tkinter - Writing Tk applications with Pytho
ii python2.3 2.3.2-1 An interactive high-level object-oriented la
ii python2.3-imag 1.1.4-1 The Python Imaging Library
ii python2.3-tk 2.3.2-1 Tkinter - Writing Tk applications with Pytho

And BitTorrent says it requires python of version 2.2 or greater OR python2.2 (which I would think to be the same thing). So I've got what I need, but apt-get won't install it:

root@Harkonnen:~# apt-get -uVq install bittorrent
Reading Package Lists...
Building Dependency Tree...
Recommended packages:
libwxgtk2.4-python
The following NEW packages will be installed:
bittorrent (3.2.1b-3)
0 upgraded, 1 newly installed, 0 to remove and 56 not upgraded.
Need to get 0B/63.0kB of archives.
After unpacking 446kB of additional disk space will be used.
Selecting previously deselected package bittorrent.
(Reading database ... 113818 files and directories currently installed.)
Unpacking bittorrent (from .../bittorrent_3.2.1b-3_all.deb) ...
Setting up bittorrent (3.2.1b-3) ...
/var/lib/dpkg/info/bittorrent.postinst: line 31: python2.2: command not found
dpkg: error processing bittorrent (--configure):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
bittorrent

Tech2k
10-06-2003, 09:58 AM
Starting with Knopppix 3.3 it seems Bittorrent comes from sid.

apt-get install -t unstable bittorrent

Did the trick here and for others on irc ;)

lavaman094
10-08-2003, 04:18 AM
Starting with Knopppix 3.3 it seems Bittorrent comes from sid.

apt-get install -t unstable bittorrent

Did the trick here and for others on irc ;)

OK, this command worked, but I bash says "command not found" when I try "bittorrent". I also tried "bittorrent.py" and I cannot figure out how to call and execute bittorrent!

Dave_Bechtel
10-08-2003, 03:15 PM
' dpkg -L bittorrent|grep bin ' is how I found it.
/usr/bin
/usr/bin/bttrack
/usr/bin/btmakemetafile
/usr/bin/btlaunchmany
/usr/bin/btdownloadcurses
/usr/bin/btlaunchmanycurses
/usr/bin/btreannounce
/usr/bin/btrename
/usr/bin/btshowmetainfo
/usr/bin/btdownloadgui
/usr/bin/btdownloadheadless

--Use one of btdownload{curses,gui,headless}. Here's an example script (don't forget to chmod +x it) : #BEGIN btor


#!/bin/bash

# BitTorrent download
time btdownloadcurses --url $* \
--max_uploads 2 \
--max_upload_rate 64 \
--rerequest_interval 240 \
--display_interval 3


--When you're done letting others upload from your file, hit Ctrl-C.



Starting with Knopppix 3.3 it seems Bittorrent comes from sid.

apt-get install -t unstable bittorrent

Did the trick here and for others on irc ;)

OK, this command worked, but I bash says "command not found" when I try "bittorrent". I also tried "bittorrent.py" and I cannot figure out how to call and execute bittorrent!