Package: debpartial-mirror
Version: 0.2.94
Severity: normal

I created /etc/debpartial-mirror.conf and ran "debpartial-mirror all".  Many 
packages were downloaded, 
but then debpartial-mirror crashed, producing the following traceback:

Traceback (most recent call last):
  File "/usr/bin/debpartial-mirror", line 246, in ?
    main()
  File "/usr/bin/debpartial-mirror", line 223, in main
    merge()
  File "/usr/bin/debpartial-mirror", line 140, in merge
    b.merge()
  File "/var/lib/python-support/python2.4/debpartial_mirror/Backend.py", line 
128, in merge
    self._dists.merge()
  File "/var/lib/python-support/python2.4/debpartial_mirror/Dists.py", line 
304, in merge
    architecture = (index.split("/")[3]).split("-")[1]
IndexError: list index out of range


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages debpartial-mirror depends on:
ii  python                        2.4.3-11   An interactive high-level object-o
ii  python-apt                    0.6.19     Python interface to libapt-pkg
ii  python-cdd                    0.0.5      library to make easier to build CD
ii  python-pycurl                 7.15.5-1   Python bindings to libcurl
ii  python-support                0.5.4      automated rebuilding support for p

debpartial-mirror recommends no packages.

-- no debconf information
;;
;; debpartial-mirror configuration file.
;;

[GLOBAL]
;; Show debug information?
;debug = DEBUG

;; Mirror destination directory
mirror_dir = /u12/home/synrg/etch-jr-mirror/

;; Which architectures should I download?
architectures = i386

;; What should I look for, by default?
components = main
distributions = etch

;; What should I get?
get_suggests = true
get_recommends = true
get_provides = true
get_sources = false
get_packages = true

;; Here is our first backend.  It mirrors a subset of packages from the
;; Debian official repositories.
[etch]
server = http://saens.debian.org/debian
components = main
distributions = etch
filter = subsection:base priority:important
get_sources = false

[etch-security]
server = http://security.debian.org/
components = main
distributions = etch/updates
filter = subsection:base priority:important
resolve_deps_using = etch

[etch-junior]
server = http://saens.debian.org/debian
components = main
distributions = etch
filter = include-from:/u12/home/synrg/task-junior

;; And get the source packages as well for this backend.
get_sources = false

;; Here is a merging backend.  It uses the backends we specify above to
;; create a custom distribution that provides all the packages in each
;; backend.  This will be created using hard links to the package files
;; in each backend directory.
[etch-jr]
backends = etch etch-security etch-junior
name = etch-jr

Reply via email to