Bug#489923: debtorrent: Doesn't download .debs

2008-07-10 Thread Simon Pepping
>From the NEWS file:

>  Once again, don't forget to 'apt-get update'!

I tried several things, including asking on IRC, but I did not read
the NEWS file, and I did not do an apt-get update. Indeed, doing that
solves the problem. Thanks for your quick reply.

Regards, Simon

-- 
Simon Pepping



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#489923: debtorrent: Doesn't download .debs

2008-07-08 Thread Cameron Dale
On Tue, Jul 8, 2008 at 12:30 PM, Simon Pepping <[EMAIL PROTECTED]> wrote:
> I have got the same problem. Since the upgrade from 1.0.6 to 1.0.8
> last saturday (lenny/sid) no torrents are running. From the log:

I think you mean 0.1.6 to 0.1.8. As mentioned in the NEWS file, you
need to do an apt-get update after the upgrade to restart any torrents
that were running before.

> 2008-07-08 21:13:59,637 MainThread root INFO Logging begins
> 2008-07-08 21:13:59,638 MainThread DebTorrent.SocketHandler INFO Successfully 
> bound to port 10002
> 2008-07-08 21:13:59,638 MainThread DebTorrent.SocketHandler INFO Successfully 
> bound to port 9988
> 2008-07-08 21:13:59,639 MainThread DebTorrent INFO New peer ID: 
> "T018-Sgn3oAqZKNf"

If this is all that's in your log file, then DebTorrent is not getting
any requests from apt. Have you done an 'apt-get update'? Are there
lines in your sources.list file that start with
'http://localhost:9988' or 'debtorrent://localhost:9988'?

Thanks,
Cameron



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#489923: debtorrent: Doesn't download .debs

2008-07-08 Thread Simon Pepping
I have got the same problem. Since the upgrade from 1.0.6 to 1.0.8
last saturday (lenny/sid) no torrents are running. From the log: 

2008-07-08 21:13:59,637 MainThread root INFO Logging begins
2008-07-08 21:13:59,638 MainThread DebTorrent.SocketHandler INFO Successfully 
bound to port 10002
2008-07-08 21:13:59,638 MainThread DebTorrent.SocketHandler INFO Successfully 
bound to port 9988
2008-07-08 21:13:59,639 MainThread DebTorrent INFO New peer ID: 
"T018-Sgn3oAqZKNf"

No line like:

2008-05-19 12:43:27,259 MainThread DebTorrent.launchmanycore INFO Starting 
torrent: 7556a2d55a41686b7b46dbc2cb479c96083b161b

so no torrents are started. The web page at port 9988 says the same:
no torrents.

I run lenny/sid on i386.

Regards, Simon

-- 
Simon Pepping



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#489923: debtorrent: Doesn't download .debs

2008-07-08 Thread Cameron Dale
On Tue, Jul 8, 2008 at 11:02 AM, Mark Brown <[EMAIL PROTECTED]> wrote:
> As far as I can tell all packages I attempt to download with debtorrent
> result in a 404 being returned to apt and messages such as:
>
> 2008-07-08 18:48:50,467 MainThread DebTorrent.BT1.AptListener WARNING Unable 
> to find the file in any torrents: 
> ftp.uk.debian.org/debian/pool/main/g/grub2/grub-c
> ommon_1.96+20080704-2_amd64.deb
> 2008-07-08 18:48:50,467 MainThread DebTorrent.HTTPHandler INFO sending
> response: DEBTORRENT 404 Not Found (65 bytes){'Content-Type': 'text/plain', 
> 'Pragma': 'no -cache', 'Server': 'DebTorrent/T-0.1.8'}
>
> in the log.  According to the documentation debtorrent should fall back
> to using HTTP to download from the server in these cases but it doesn't
> seem to do so.  The package does exist on the mirror since I have a http
> version of the same mirror configured as well which apt succesfully
> falls back to.

It does fall back to HTTP, but only if the file can be found in a
torrent so it knows what the hash should be. Did you do an apt-get
update before trying to download any packages? Are there torrent's
running? If they are you should be able to see them listed at
http://localhost:9977/

If torrents aren't being started, or if they are but the files aren't
being downloaded, I need to see more of the log file to figure out
what's wrong.

Thanks,
Cameron



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#489923: debtorrent: Doesn't download .debs

2008-07-08 Thread Mark Brown
Package: debtorrent
Version: 0.1.8
Severity: important

As far as I can tell all packages I attempt to download with debtorrent
result in a 404 being returned to apt and messages such as:

2008-07-08 18:48:50,467 MainThread DebTorrent.BT1.AptListener WARNING Unable to 
find the file in any torrents: ftp.uk.debian.org/debian/pool/main/g/grub2/grub-c
ommon_1.96+20080704-2_amd64.deb
2008-07-08 18:48:50,467 MainThread DebTorrent.HTTPHandler INFO sending
response: DEBTORRENT 404 Not Found (65 bytes){'Content-Type': 'text/plain', 
'Pragma': 'no -cache', 'Server': 'DebTorrent/T-0.1.8'}

in the log.  According to the documentation debtorrent should fall back
to using HTTP to download from the server in these cases but it doesn't
seem to do so.  The package does exist on the mirror since I have a http
version of the same mirror configured as well which apt succesfully
falls back to.

This is with the debtorrent apt method:

deb debtorrent://localhost:9988/ftp.uk.debian.org/debian unstable main contrib

Severity important since this has such a major effect on the usability
of the package.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debtorrent depends on:
ii  adduser   3.108  add and remove users and groups
ii  python2.5.2-1An interactive high-level object-o
ii  python-apt0.7.6  Python interface to libapt-pkg
ii  python-debian 0.1.10 Python modules to work with Debian
ii  python-support0.8.4  automated rebuilding support for P

Versions of packages debtorrent recommends:
ii  apt-transport-debtorrent 0.2.1   an APT transport for communicating
ii  python-crypto2.0.1+dfsg1-2.1 cryptographic algorithms and proto

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]