Medibuntu with apt-proxy

Asked by Michael Zoet

I try to get apt-proxy up and running with the medibuntu repo. apt-proxy runs fine with all other repos that I have configured (ubuntu main universe multiverse, security, backports, canonical partners, and so on)

Using medibuntu apt-proxy prints the follwoing log messages:

2008/04/04 18:08 +0200 [TimeoutProtocol,client] Starting factory <apt_proxy.fetchers.HttpFetcher instance at 0x83a308c>
2008/04/04 18:08 +0200 [TimeoutProtocol,client] Starting factory <twisted.protocols.policies.ThrottlingFactory instance at 0x83a326c>
2008/04/04 18:08 +0200 [TimeoutProtocol,client] Starting factory <twisted.protocols.policies.TimeoutFactory instance at 0x83a33ac>
2008/04/04 18:08 +0200 [TimeoutProtocol,client] Stopping factory <apt_proxy.fetchers.HttpFetcher instance at 0x8543c4c>
2008/04/04 18:08 +0200 [TimeoutProtocol,client] Stopping factory <twisted.protocols.policies.ThrottlingFactory instance at 0x839bd6c>
2008/04/04 18:08 +0200 [TimeoutProtocol,client] Stopping factory <twisted.protocols.policies.TimeoutFactory instance at 0x839baec>
2008/04/04 18:08 +0200 [TimeoutProtocol,client] [fetcher] () file not found: dists/gutsy/free/source/Sources.gz
2008/04/04 18:08 +0200 [TimeoutProtocol,client] [Fetcher] download_failed: (404) file not found on backend
2008/04/04 18:08 +0200 [TimeoutProtocol,client] [CacheEntry] download_failure /var/cache/apt-proxy/medibuntu/dists/gutsy/free/source/Sources.gz: (404) file not found on ba
ckend

I can download the non-free Source.bz2 with the apt-proxy. With the free Source.gz file I get the error file not found. When I try to resolve the URL by hand with firefox I can download the free Source.gz...

So this works only on the non-free part of medibuntu. How can I get apt-proxy running with the free part of medibuntu also?

THX and greetings

Michael

Question information

Language:
English Edit question
Status:
Answered
For:
Medibuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Maxence DUNNEWIND (maxenced) said :
#1

Can you provide your apt-proxy configuration ?

Did you retry many times ?

Revision history for this message
Glenn Ramsey (glennr) said :
#2

I have the same issue where apt-get update hangs getting the medibuntu update. Retrying does not help but if I restart apt-proxy (/etc/init.d/apt-proxy restart) then apt-get update will complete once but not again until I restart apt-proxy.

Here is my 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 = 192.168.0.254

;; 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 = 1s

;; Minimum age of a file before attempting an update (NOT YET IMPLEMENTED)
;min_age = 23h

;; 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
complete_clientless_downloads = 0

;; 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 = 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 = 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 = 120d

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

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

;;---------------------------------------------------------------
;;---------------------------------------------------------------
;; 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://ftp.de.debian.org/debian
; http://ftp2.de.debian.org/debian
; ftp://ftp.uk.debian.org/debian

;[security]
;; Debian security archive
;backends =
; http://security.debian.org/debian-security
; http://ftp2.de.debian.org/debian-security

[ubuntu]
;; Ubuntu archive
backends =
 http://nz.archive.ubuntu.com/ubuntu
 http://nz2.archive.ubuntu.com/ubuntu
 http://nz3.archive.ubuntu.com/ubuntu
 http://nz4.archive.ubuntu.com/ubuntu
 http://au.archive.ubuntu.com/ubuntu
 http://sp.archive.ubuntu.com/ubuntu
 http://archive.ubuntu.com/ubuntu

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

[virtualbox]
;; virtualbox
backends =
 http://download.virtualbox.org/virtualbox/debian

[eyecandy]
; Treviño's Ubuntu feisty EyeCandy Repository (GPG key: 81836EBF - DD800CD9)
; Many eyecandy 3D apps like Beryl, Compiz, Fusion and kiba-dock snapshots
; built using latest available (working) sources from git/svn/cvs.
;deb http://download.tuxfamily.org/3v1deb feisty eyecandy
;deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy
backends =
 http://download.tuxfamily.org/3v1deb

;[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://backports.org/debian

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

;[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

[medibuntu]
backends =
 http://packages.medibuntu.org

Can you help with this problem?

Provide an answer of your own, or ask Michael Zoet for more information if necessary.

To post a message you must log in.