Package: apt-mirror
Version: 0.4.4-2
Severity: normal

If for example a line in /etc/apt/mirror.list looks like this:

  deb http://user:[EMAIL PROTECTED] testing main

The list download will succeed, but the "Proceed indexes" logic will
fail with an error like this:

  Proceed indexes: [Psh:
  user:[EMAIL PROTECTED]/dists/stable/main/binary-i386/Packages.gz:
  No such file or directory
  apt-mirror: can't open index in proceed_index_gz at /usr/bin/apt-mirror
  line 368.

apt-mirror should be using this path instead:

  server/dists/stable/main/binary-i386/Packages.gz

Python has a handy "urlparse" library for extracting URL elements,
doesn't Perl have something similar?

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apt-mirror depends on:
ii  perl                          5.8.8-6.1  Larry Wall's Practical Extraction
ii  perl-modules                  5.8.8-6.1  Core Perl modules
ii  wget                          1.10.2-2   retrieves files from the web

apt-mirror recommends no packages.

-- no debconf information



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

Reply via email to