Can`t get apt-proxy working

Tim Frost timfrost at
Wed Nov 30 21:16:12 UTC 2005

On Wed, 2005-11-30 at 13:41 -0500, Bill Marcum wrote:
> On Wed, 30 Nov 2005 03:19:42 +0300, Makurin Roman
>   <drolyk at> wrote:
> >
> > [ubuntu]
> > backends =
> >  
> >
> Maybe those urls should be for /ubuntu/breezy (or hoary) instead of just 
> /ubuntu.

I don't see the "[apt_pkg] No Packages files available for ubuntu 
backend" error that Makurin Roman reports.  However, I do get the import
error  '[import] <file>.deb skipped - no suitable backend found'

I have the following directories
under /var/cache/apt-proxy/ubuntu/dists:
root at marvin:/var/cache/apt-proxy/ubuntu/dists# ls -l
total 16
drwx------  6 aptproxy nogroup 4096 Nov 25 19:40 breezy
drwx------  6 aptproxy nogroup 4096 Nov 25 19:43 breezy-backports
drwx------  6 aptproxy nogroup 4096 Nov 25 19:42 breezy-security
drwx------  6 aptproxy nogroup 4096 Nov 25 19:54 breezy-updates

And those repositories which have files appear with a Packages.bz2 or

This corresponds to the deb/debsrc entries in my /etc/apt/sources.list.
What I wonder is whether apt-proxy-import is not able to handle the
bzip2 compressed Packages files.

I tried debugging with
	apt-proxy-import -v -d4 -i /var/cache/apt/archives
which gave messages (for each .deb) like:
        2005/12/01 09:54 NZDT [-] [import] considering: /var/cache/apt/archives/apache2-common_2.0.54-5ubuntu2_i386.deb
        2005/12/01 09:54 NZDT [-] [import] Not found, trying to guess
        2005/12/01 09:54 NZDT [-] [import] apache2-common_2.0.54-5ubuntu2_i386.deb skipped - no suitable backend found

And yet the file does appear in the apt list:
        root at marvin:~# grep apache2-common_2.0.54-5ubuntu2_i386.deb /var/lib/apt/lists/*Packages
        /var/lib/apt/lists/ pool/main/a/apache2/apache2-common_2.0.54-5ubuntu2_i386.deb
        /var/lib/apt/lists/Ubuntu%205.10%20%5fBreezy%20Badger%5f%20-%20Release%20i386%20(20051012)_dists_breezy_main_binary-i386_Packages:Filename: pool/main/a/apache2/apache2-common_2.0.54-5ubuntu2_i386.deb
        root at marvin:~#
(The second file is the Packages list for the breezy i386 CD, because
apache is on the distribution CD)

Next step is to brush up my python programming skills, and see if I can
figure out the issue, in which case I will file a formal bug report.


More information about the ubuntu-users mailing list