-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have the same error while trying to import .debs from the Ubuntu 8.10 ISO.

Here's my version of the requested info:

/etc/apt-proxy/apt-proxy-v2.conf
[DEFAULT]
;; All times are in seconds, but you can add a suffix
;; for minutes(m), hours(h) or days(d)

;; Server IP to listen on
;address = 10.10.10.15

;; Server port to listen on
port = 9999

;; Control files (Packages/Sources/Contents) refresh rate
;;
;; Minimum time between attempts to refresh a file
min_refresh_delay = 6h

;; Uncomment to make apt-proxy continue downloading even if all
;; clients disconnect.  This is probably not a good idea on a
;; dial up line.
complete_clientless_downloads = 1

;; Debugging settings.
;; for all debug information use this:
;; debug = all:9
debug = all:4 db:0

;; Debugging remote python console
;; Do not enable in an untrusted environment
;telnet_port = 9998
;telnet_user = apt-proxy
;telnet_password = secret

;; Network timeout when retrieving from backend servers
timeout = 5

;; Cache directory for apt-proxy
cache_dir = /var/cache/apt-proxy

;; Use passive FTP? (default=on)
;passive_ftp = on

;; Use HTTP proxy?
;http_proxy = host:port

;; Limit download rate from backend servers (http and rsync only), in
bytes/sec
;bandwidth_limit = 100000

;; Enable HTTP pipelining within apt-proxy (for test purposes)
;disable_pipelining=0

;;--------------------------------------------------------------
;; Cache housekeeping

;; Time to perform periodic housekeeping:
;;  - delete files that have not been accessed in max_age
;;  - scan cache directories and update internal tables
cleanup_freq = 1d

;; Maximum age of files before deletion from the cache (seconds)
max_age = 180d

;; Maximum number of versions of a .deb to keep per distribution
max_versions = 3

;; Add HTTP backends dynamicaly if not already defined? (default=on)
dynamic_backends = off

;;---------------------------------------------------------------
;;---------------------------------------------------------------
;; Backend servers
;;
;; Place each server in its own [section]

[debian]
;; The main Debian archive
;; You can override the default timeout like this:
;timeout = 30

;; Rsync server used to rsync the Packages file (NOT YET IMPLEMENTED)
;;rsyncpackages = rsync://ftp.de.debian.org/debian
;; Backend servers, in order of preference
backends =
    http://ftp.us.debian.org/debian
    http://debian.uchicago.edu/debian

;http://mirrors.acm.jhu.edu/debian/
;http://debian.cites.uiuc.edu/pub/debian

[debian-archive]
backends =
    http://archive.debian.org/debian-archive/debian/

[security]
;; Debian security archive
backends =
    http://security.debian.org/debian-security
        http://ftp.us.debian.org/debian-security
;   http://mirror.fdcservers.net/debian-security
;       http://ftp2.de.debian.org/debian-security

[ubuntu]
;; Ubuntu archive
timeout = 60
backends =
    http://archive.ubuntu.com/ubuntu
;    http://us.archive.ubuntu.com/ubuntu

[ubuntu-security]
;; Ubuntu security updates
timeout = 60
backends = http://security.ubuntu.com/ubuntu

[ubuntu-partner]
;; Ubuntu/Canonical partner software
timeout = 60
backends = http://archive.canonical.com/ubuntu

;[openoffice]
;; OpenOffice.org packages
;backends =
;       http://ftp.freenet.de/pub/debian-openoffice
;       http://ftp.sh.cvut.cz/MIRRORS/OpenOffice.deb
;       http://borft.student.utwente.nl/debian

;[apt-proxy]
;; Apt-proxy new versions
;backends = http://apt-proxy.sourceforge.net/apt-proxy

[backports.org]
;; backports.org
backends = http://www.backports.org/debian

;[blackdown]
;; Blackdown Java
;backends = http://ftp.gwdg.de/pub/languages/java/linux/debian

[omsa]
backends = ftp://ftp.sara.nl/pub/sara-omsa

;[debian-people]
;; people.debian.org
;backends = http://people.debian.org

;[emdebian]
;; The Emdebian project
;backends = http://emdebian.sourceforge.net/emdebian

;[rsync]
;; An example using an rsync server.  This is not recommended
;; unless http is not available, becuause rsync is only more
;; efficient for transferring uncompressed files and puts much
;; more overhead on the server.  See the rsyncpacakges parameter
;; for a way of rsyncing just the Packages files.
;backends = rsync://ftp.uk.debian.org/debian




# ls -lrt /var/cache/apt/archives
total 170572
- -rw-r--r-- 1 root root   314924 2006-06-16 19:02
python-twisted-web_0.6.0-1_all.deb
- -rw-r--r-- 1 root root    13034 2006-06-29 03:02
python-pam_0.4.2-10.4_i386.deb
- -rw-r--r-- 1 root root    74306 2006-06-30 14:17
python-pyopenssl_0.6-2.3_i386.deb
- -rw-r--r-- 1 root root   268826 2006-08-26 16:49 bzip2_1.0.3-6_i386.deb
- -rw-r--r-- 1 root root    37792 2006-10-28 10:17
python-serial_2.2-4_all.deb
- -rw-r--r-- 1 root root   676246 2007-01-07 18:32
python-twisted-core_2.4.0-3_all.deb
- -rw-r--r-- 1 root root    17334 2007-01-07 18:32
python-twisted-bin_2.4.0-3_i386.deb
- -rw-r--r-- 1 root root   132600 2007-01-18 14:02
python-zopeinterface_3.3.0-6_i386.deb
- -rw-r--r-- 1 root root    82288 2007-03-11 23:17
apt-proxy_1.9.35-0.3_all.deb
- -rw-r--r-- 1 root root   341748 2008-03-22 07:02
apache2-utils_2.2.3-4+etch5_i386.deb
- -rw-r--r-- 1 root root    40016 2008-03-22 08:02
debconf-utils_1.5.11etch2_all.deb
- -rw-r--r-- 1 root root   151720 2008-03-22 08:02
debconf-i18n_1.5.11etch2_all.deb
- -rw-r--r-- 1 root root   146740 2008-03-22 08:02
debconf_1.5.11etch2_all.deb
- -rw-r--r-- 1 root root   355250 2008-04-12 17:47
tzdata_2007k-1etch1_all.deb
- -rw-r--r-- 1 root root   374654 2008-04-13 02:17
grub_0.97-27etch1_i386.deb
- -rw-r--r-- 1 root root   408464 2008-04-30 03:02
libkrb53_1.4.4-7etch6_i386.deb
- -rw-r--r-- 1 root root    56222 2008-05-19 13:32
sysv-rc_2.86.ds1-38+etchnhalf.1_all.deb
- -rw-r--r-- 1 root root    65722 2008-05-21 06:47
sysvinit-utils_2.86.ds1-38+etchnhalf.1_i386.deb
- -rw-r--r-- 1 root root   108090 2008-05-21 06:47
sysvinit_2.86.ds1-38+etchnhalf.1_i386.deb
- -rw-r--r-- 1 root root    59718 2008-05-21 06:47
initscripts_2.86.ds1-38+etchnhalf.1_i386.deb
- -rw-r--r-- 1 root root  4019774 2008-06-02 00:02
locales_2.3.6.ds1-13etch7_all.deb
- -rw-r--r-- 1 root root    62736 2008-06-05 05:32
initramfs-tools_0.85i_all.deb
- -rw-r--r-- 1 root root  6106234 2008-06-09 11:32
locales-all_2.3.6.ds1-13etch7_i386.deb
- -rw-r--r-- 1 root root  1116996 2008-06-09 11:32
libc6-i686_2.3.6.ds1-13etch7_i386.deb
- -rw-r--r-- 1 root root  2717768 2008-06-09 11:32
libc6-dev_2.3.6.ds1-13etch7_i386.deb
- -rw-r--r-- 1 root root  4700270 2008-06-09 11:32
libc6_2.3.6.ds1-13etch7_i386.deb
- -rw-r--r-- 1 root root 16336868 2008-06-17 23:32
linux-image-2.6.18-6-686_2.6.18.dfsg.1-22_i386.deb
- -rw-r--r-- 1 root root    61474 2008-06-19 11:32
xpdf-common_3.01-9.1+etch5_all.deb
- -rw-r--r-- 1 root root  1450754 2008-06-28 15:02
xpdf-utils_3.01-9.1+etch5_i386.deb
- -rw-r--r-- 1 root root   196894 2008-07-04 16:15
libpcre3_6.7+7.4-4_i386.deb
- -rw-r--r-- 1 root root   443684 2008-07-06 11:25
libpoppler0c2_0.4.5-5.1etch3_i386.deb
- -rw-r--r-- 1 root root   110134 2008-07-06 22:20
liblwres9_1%3a9.3.4-2etch3_i386.deb
- -rw-r--r-- 1 root root   106034 2008-07-06 22:20
libisccfg1_1%3a9.3.4-2etch3_i386.deb
- -rw-r--r-- 1 root root    94838 2008-07-06 22:20
libisccc0_1%3a9.3.4-2etch3_i386.deb
- -rw-r--r-- 1 root root   169930 2008-07-06 22:20
libisc11_1%3a9.3.4-2etch3_i386.deb
- -rw-r--r-- 1 root root   472708 2008-07-06 22:20
libdns22_1%3a9.3.4-2etch3_i386.deb
- -rw-r--r-- 1 root root    94822 2008-07-06 22:20
libbind9-0_1%3a9.3.4-2etch3_i386.deb
- -rw-r--r-- 1 root root   113162 2008-07-06 22:20
bind9-host_1%3a9.3.4-2etch3_i386.deb
- -rw-r--r-- 1 root root    47968 2008-07-09 04:05
mysql-server_5.0.32-7etch6_all.deb
- -rw-r--r-- 1 root root    54220 2008-07-09 04:05
mysql-common_5.0.32-7etch6_all.deb
- -rw-r--r-- 1 root root 25225784 2008-07-11 00:35
mysql-server-5.0_5.0.32-7etch6_i386.deb
- -rw-r--r-- 1 root root  7198430 2008-07-11 00:35
mysql-client-5.0_5.0.32-7etch6_i386.deb
- -rw-r--r-- 1 root root  1792338 2008-07-11 00:35
libmysqlclient15off_5.0.32-7etch6_i386.deb
- -rw-r--r-- 1 root root   105974 2008-07-19 16:30
xsltproc_1.1.19-3_i386.deb
- -rw-r--r-- 1 root root   589190 2008-07-19 16:30
libxslt1-dev_1.1.19-3_i386.deb
- -rw-r--r-- 1 root root   216014 2008-07-19 16:30
libxslt1.1_1.1.19-3_i386.deb
- -rw-r--r-- 1 root root   342704 2008-08-12 21:50
libfreetype6_2.2.1-5+etch3_i386.deb
- -rw-r--r-- 1 root root   681830 2008-08-17 06:15
libxml2-dev_2.6.27.dfsg-3_i386.deb
- -rw-r--r-- 1 root root   755986 2008-08-17 06:15
libxml2_2.6.27.dfsg-3_i386.deb
- -rw-r--r-- 1 root root 16337664 2008-08-19 00:15
linux-image-2.6.18-6-686_2.6.18.dfsg.1-22etch2_i386.deb
- -rw-r--r-- 1 root root  1090008 2008-08-19 01:55
postfix_2.3.8-2+etch1_i386.deb
- -rw-r--r-- 1 root root   483094 2008-08-26 11:05
libtiff4_3.8.2-7+etch1_i386.deb
- -rw-r--r-- 1 root root   681202 2008-08-26 12:00
libxml2-dev_2.6.27.dfsg-4_i386.deb
- -rw-r--r-- 1 root root   755716 2008-08-26 12:00
libxml2_2.6.27.dfsg-4_i386.deb
- -rw-r--r-- 1 root root   343510 2008-09-06 11:17
apache2-utils_2.2.3-4+etch6_i386.deb
- -rw-r--r-- 1 root root   283612 2008-09-06 12:17
libpq4_8.1.13-0etch1_i386.deb
- -rw-r--r-- 1 root root     1052 2008-09-15 15:50
ssh_1%3a4.3p2-9etch3_all.deb
- -rw-r--r-- 1 root root   223696 2008-09-15 16:15
openssh-server_1%3a4.3p2-9etch3_i386.deb
- -rw-r--r-- 1 root root   659992 2008-09-15 16:15
openssh-client_1%3a4.3p2-9etch3_i386.deb
- -rw-r--r-- 1 root root 16459068 2008-10-10 01:00
linux-image-2.6.18-6-686_2.6.18.dfsg.1-22etch3_i386.deb
- -rw-r--r-- 1 root root   681472 2008-10-14 12:00
libxml2-dev_2.6.27.dfsg-5_i386.deb
- -rw-r--r-- 1 root root   755986 2008-10-14 12:00
libxml2_2.6.27.dfsg-5_i386.deb
- -rw-r--r-- 1 root root 16338210 2008-10-14 17:32
linux-image-2.6.18-6-686_2.6.18.dfsg.1-23_i386.deb
- -rw-r--r-- 1 root root   352998 2008-10-17 13:17
tzdata_2008e-1etch3_all.deb
- -rw-r--r-- 1 root root   901636 2008-10-22 16:05
python2.4-minimal_2.4.4-3+etch2_i386.deb
- -rw-r--r-- 1 root root  2850824 2008-10-22 16:05
python2.4_2.4.4-3+etch2_i386.deb
- -rw-r--r-- 1 root root    48142 2008-11-03 03:00
mysql-server_5.0.32-7etch8_all.deb
- -rw-r--r-- 1 root root    54452 2008-11-03 03:00
mysql-common_5.0.32-7etch8_all.deb
- -rw-r--r-- 1 root root 25233474 2008-11-04 03:05
mysql-server-5.0_5.0.32-7etch8_i386.deb
- -rw-r--r-- 1 root root  7199354 2008-11-04 03:05
mysql-client-5.0_5.0.32-7etch8_i386.deb
- -rw-r--r-- 1 root root  1792994 2008-11-04 03:05
libmysqlclient15off_5.0.32-7etch8_i386.deb
- -rw-r--r-- 1 root root   681544 2008-11-16 15:30
libxml2-dev_2.6.27.dfsg-6_i386.deb
- -rw-r--r-- 1 root root   756128 2008-11-16 15:30
libxml2_2.6.27.dfsg-6_i386.deb
drwxr-xr-x 2 root root     4096 2008-11-20 06:46 partial
- -rw-r----- 1 root root        0 2008-11-25 07:19 lock

# apt-proxy-import --debug /var/cache/apt/archives
2008/12/01 12:37 EST [-] Log opened.
2008/12/01 12:37 EST [-] debug
2008/12/01 12:37 EST [-] Traceback (most recent call last):
2008/12/01 12:37 EST [-]   File "/usr/sbin/apt-proxy-import", line 81, in ?
2008/12/01 12:37 EST [-]     apiConfig.setDebug('all:9')
2008/12/01 12:37 EST [-] TypeError: setDebug() takes exactly 1 argument
(2 given)

I hope this helps.





- --
- - Matt Miller -
Solutions for Progress
728 South Broad Street
Philadelphia, PA  19146
215-701-6108 (v)
215-972-8109 (f)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJNCFmCg+4SLjWLD0RAskoAJ4xkI72fpkB0+1FSY1Bf+04dMbaVQCfcF5z
C62VJodL4bgCztlvdPLrlVo=
=I0Zv
-----END PGP SIGNATURE-----



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

Reply via email to