tags 596672 + confirmed

Thanks  for reporting this bug

On Mon, Sep 13, 2010 at 11:13 AM, Emile Anclin <emile.anc...@logilab.fr> wrote:
> Package: debpartial-mirror
> Version: 0.2.98
>
> The "debpartial-mirror clean" command crahes in different situations:
>
> 1/ running it without repository built, and with the attached mirror.conf
> and my_pkgs as package list yields the following crash:
>
> $ debpartial-mirror -c mirror.conf clean
>    parse_in = open(filename, "r")
> IOError: [Errno 2] No such file or
> directory: 
> './tmp/debmir/mirror-i386/lenny/dists/lenny/main/binary-i386/Packages'
>
Confirmed, will look into this.

>
> 2/ once 'debpartial-mirror update' is done, we have another bug :
>
> $ debpartial-mirror -c mirror.conf clean
> Loading backend lenny
>  File "/home/emile/src/debpartial_mirror/Dists.py", line 479, in
> processTagFile
>    for section in apt_pkg.TagFile(parse_in):
> AttributeError: 'module' object has no attribute 'TagFile'
>

Could you please indicate the version of python-apt you have installed?

The above error indicates that the old version < 0.7.93.2 is being used
however debpartial-mirror 0.2.98 has a dependence on >= 0.7.93.2
so this is very strange.

> 3/ finally, running 'debpartial-mirror clean' on 0.2.97 yielded another
> bug that is not reproduceable in 0.2.98 but nevertheless points to an
> obvious error in the source code :
>
> $ debpartial-mirror -c mirror.conf clean
> self._backend.get_binary_list().values()]
> TypeError: get_binary_list() takes exactly 2 arguments (1 given)
>

I _do_ get this problem on 0.2.98, because I don't have problem
2 first.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to