[Techtalk] probs with apt-proxy configuration in ubuntu-breezy

Robyn Manning rmanning at iinet.net.au
Wed Nov 2 23:32:47 EST 2005


Hi all

I'm running round in circles with this one and I've lost where I'm up
to.

I want to have an apt-proxy cache with hoary and breezy files in it. The
mirror I'm using is http://au.archive.ubuntu.com/ubuntu/ my conf file
and sources.list are following. I know I've got some stuff commented out
but that was only so I'd get some of it working before I went for the
whole thing.

When I try to import files from my apt cache with 
apt-proxy-import -i /var/cache/apt/archives

this is what I get

2005/11/01 22:58 CST [-] [import] libgda2-3_1.2.1-2ubuntu3.1_i386.deb
skipped - no suitable backend found
close failed: [Errno 11] Resource temporarily unavailable
root at dax:~#

Help?

Robyn

----------------------------------------------------------------------
sources.list

#deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/
breezy main restricted

deb http://10.0.0.3:9999/ubuntu/ breezy main restricted universe
multiverse
#deb http://10.0.0.3:9999/ubuntu/ breezy-updates main restricted
universe multiverse
deb http://10.0.0.3:9999/ubuntu-security/ breezy-security main
restricted universe multiverse

#deb http://10.0.0.3:9999/ubuntu/ hoary main restricted universe
multiverse
#deb http://10.0.0.3:9999/ubuntu/ hoary-updates main restricted universe
multiverse
#deb http://10.0.0.3:9999/ubuntu/ hoary-security main restricted
universe multiverse
#deb http://10.0.0.3:9999/ubuntu/ hoary-backports main restricted
universe multiverse


-------------------------------------------------------------------------
apt-proxy-v2.conf

[DEFAULT]

;; Server IP to listen on
address = 10.0.0.3

;; Server port to listen on
port = 9999

min_refresh_delay = 1s

;min_age = 23h

;; complete_clientless_downloads = 1

;; debug = all:9
debug = all:4 db:0

;telnet_port = 9998
;telnet_user = apt-proxy
;telnet_password = secret

;; Network timeout
timeout = 15

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

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

;; Use HTTP proxy?
;http_proxy = 10.0.0.254:800

;; 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 = off

;; 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 = on

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

[ubuntu]
;; Ubuntu archive
backends = 
;	http://au.archive.ubuntu.com/ubuntu
	http://archive.ubuntu.com/ubuntu

[ubuntu-security]
;; Ubuntu security updates
backends = 
;	http://au.archive.ubuntu.com/ubuntu
	http://security.ubuntu.com/ubuntu

;[ubuntu]
;; Ubuntu updates
;backends = 
;	http://au.archive.ubuntu.com/ubuntu
;	http://archive.ubuntu.com/ubuntu

;[ubuntu]
;; Ubuntu archive
;backends =
;        http://au.archive.ubuntu.com/ubuntu
;        http://archive.ubuntu.com/ubuntu

;[ubuntu]
;; Ubuntu security updates
;backends =
;        http://au.archive.ubuntu.com/ubuntu
;	http://security.ubuntu.com/ubuntu
;
;[ubuntu]
;; Ubuntu updates
;backends =
;        http://au.archive.ubuntu.com/ubuntu
;        http://archive.ubuntu.com/ubuntu

;[ubuntu]
;; Ubuntu updates
;backends =
;        http://au.archive.ubuntu.com/ubuntu
;        http://archive.ubuntu.com/ubuntu


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





More information about the Techtalk mailing list