Package: apt-proxy
Version: 1.9.28
Severity: serious

The apt-proxy-v1tov2 script seems broken as it creates in the
v2 configuration file something like:

;; Network timeout when retrieving from backend servers
timeout =

which prevent apt-proxy to start:

~# /etc/init.d/apt-proxy start
Starting apt-proxy
Failed to load application: string index out of range
.

apt-proxy-v1tov2 seems to use the RSYNC_TIMEOUT value from
apt-proxy.conf which is set in the old format preference file:

#       Number of seconds for rsync to wait before timing out.
RSYNC_TIMEOUT=30

By changing the timeout value in the v2 configuration file, apt-proxy
starts and works correctly.

I don't think that stopping because a value is defined to empty in a
configuration file is normal. This should be catched by the program,
shourdn't it ?



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.29-plusat.4
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

# dpkg -l debconf python python2.3 python-twisted python-apt
# python-bsddb3 bzip2 logrotate rsync 
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  debconf        1.4.30.11      Debian configuration management system
ii  python         2.3.5-1        An interactive high-level object-oriented la
ii  python2.3      2.3.5-1        An interactive high-level object-oriented la
ii  python-twisted 1.3.0-8        Event-based framework for internet applicati
ii  python-apt     0.5.10         Python interface to libapt-pkg
ii  python-bsddb3  3.3.0-6        Python interface to libdb3
ii  bzip2          1.0.2-5        high-quality block-sorting file compressor -
ii  logrotate      3.7-2          Log rotation utility
un  rsync          <none>         (no description available)


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

Reply via email to