I'm moving my nas box to lenny, driven by the fact that my new SATA port multiplier isn't recognized by etch and my desire to have siproxd running on it to reduce the boxcount.

As with the sarge -> etch migration I've puled the old harddrive, bunged it in an old PC and I'm pointing my new apt-proxy at the old to populate it, I never really got on with apt-proxy-import.

I installed Lenny yesterday and every thing's up to date as of 04:38 GMT 06th Oct 2008
Linux nas 2.6.26-1-486 #1 Wed Sep 10 16:00:21 UTC 2008 i686 GNU/Linux
apt-proxy_1.9.36.3+nmu1_all.deb

nas:~# /etc/init.d/apt-proxy restart
Stopping apt-proxy:.
Starting 
apt-proxy:/usr/lib/python2.5/site-packages/twisted/manhole/telnet.py:8: 
DeprecationWarning: As of Twisted 2.1, twisted.protocols.telnet is deprecated.  
See twisted.conch.telnet for the current, supported API.
  from twisted.protocols import telnet
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 614, 
in run
    runApp(config)
  File "/usr/lib/python2.5/site-packages/twisted/scripts/twistd.py", line 23, 
in runApp
    _SomeApplicationRunner(config).run()
  File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 330, 
in run
    self.application = self.createOrGetApplication()
  File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 416, 
in createOrGetApplication
    application = getApplication(self.config, passphrase)
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 427, 
in getApplication
    application = service.loadApplication(filename, style, passphrase)
  File "/usr/lib/python2.5/site-packages/twisted/application/service.py", line 
368, in loadApplication
    application = sob.loadValueFromFile(filename, 'application', passphrase)
  File "/usr/lib/python2.5/site-packages/twisted/persisted/sob.py", line 214, 
in loadValueFromFile
    exec fileObj in d, d
  File "/usr/sbin/apt-proxy", line 47, in <module>
    config = apConfig(config_file)
  File "/usr/lib/python2.5/site-packages/apt_proxy/apt_proxy_conf.py", line 
145, in __init__
    self.parseConfig(c)
  File "/usr/lib/python2.5/site-packages/apt_proxy/apt_proxy_conf.py", line 
198, in parseConfig
    value = self.parseConfigValue(config, DEFAULTSECT, name, default, getmethod)
  File "/usr/lib/python2.5/site-packages/apt_proxy/apt_proxy_conf.py", line 
267, in parseConfigValue
    return getattr(config, 'get'+getmethod)(section, name)
  File "/usr/lib/python2.5/site-packages/apt_proxy/apt_proxy_conf.py", line 58, 
in gettime
    return int(value)*mult
exceptions.ValueError: invalid literal for int() with base 10: 
'1h\ncomplete_clientless_downloads = 1'

Failed to load application: invalid literal for int() with base 10: 
'1h\ncomplete_clientless_downloads = 1'

 failed!
nas:~#

Also as you can see I give each release it's own backend section, this stops the frequently updated testing packages from pushing out the stable ones.

nas:~# grep -v \# /etc/apt-proxy/apt-proxy-v2.conf | grep -v '^$' |  grep -v 
'^;'
[DEFAULT]
port = 9999
min_refresh_delay = 1h
 complete_clientless_downloads = 1
debug = all:4 db:0
timeout = 15
cache_dir = /var/cache/apt-proxy
cleanup_freq = 1d
max_age = 300d
max_versions = 6
[etch]
backends = http://192.168.24.55:9999/etch
min_refresh_delay = 1d
[etch-security]
backends = http://192.168.24.55:9999/etch-security
min_refresh_delay = 1m
[etch-multimedia]
backends = http://192.168.24.55:9999/etch-multimedia
min_refresh_delay = 60m
[lenny]
backends = http://192.168.24.55:9999/lenny
min_refresh_delay = 60m
[lenny-security]
backends = http://192.168.24.55:9999/lenny-security
min_refresh_delay = 1m
[lenny-multimedia]
backends = http://192.168.24.55:9999/lenny-multimedia
min_refresh_delay = 60m
[sid]
backends = http://192.168.24.55:9999/sid
min_refresh_delay = 60m
[sid-multimedia]
backends = http://192.168.24.55:9999/sid-multimedia
min_refresh_delay = 60m
[experimental]
backends = http://192.168.24.55:9999/experimental
min_refresh_delay = 60m
[experimental-multimedia]
backends = http://192.168.24.55:9999/experimental-multimedia
min_refresh_delay = 60m
nas:~#

Is there anything I can do to help debug this problem? I'm not much of a programmer but I'm not an idiot either.

Thanks Chris for all your work on this, I love apt-proxy, I took a friend off Vista the other month and he was *blown away* that I could setup a whole OS complete with office suite and gimp and the rest from one CD, in under an hour, while we had a chat and a coffee, it's freaky fast.

I've posted in debian-user on the coolness a couple of times.
http://groups.google.com/group/linux.debian.user/tree/browse_frm/thread/e8bb54d0e99e8906/320639842c72d043




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

Reply via email to