From: SourceForge.net <no...@so...> - 2006-06-01 14:19:11
|
Bugs item #1223254, was opened at 2005-06-18 10:21 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112078&aid=1223254&group_id=12078 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: apt-proxy-import: no suitable backend Initial Comment: Upon updating to Sarge I wanted to minimize mirror traffic so I attempted to install and initialize apt-proxy version 2. Attempting to run apt-proxy-import -i /var/cachce/apt/archives gave a permissions error. I changed the shell in /etc/passwd for aptproxy to be bash, did: su - aptproxy, and attempted to re-run the above command. At this point, I was told that every package was being skipped due to the inability to find a suitable backend. After searching the bug data base, it appears that this problem was reported, then reported fixed more than ten days ago, but it appears to still be in the apt-proxy package I installed on 2005 Jun 18. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2006-06-01 07:18 Message: Logged In: NO (using apt-proxy 1.9.x (1.9.33-0.1) on debian) Having digged through the sources of apt-proxy-import, it seems the import utility relies on packages.db in /var/cache/apt-proxy/.apt-proxy-import/backend/xxxxx directories. On my system these directories are empty until I start apt-proxy-import. After that there are databases, but they are empty. Is it possible, that apt-proxy-import is not up to date with apt-proxy 2 ? ---------------------------------------------------------------------- Comment By: chris (cbz) Date: 2005-11-23 16:25 Message: Logged In: YES user_id=24312 Additionally, the other message printed out repeatedly is: No Packages files available for %s backend ---------------------------------------------------------------------- Comment By: chris (cbz) Date: 2005-11-23 16:17 Message: Logged In: YES user_id=24312 This is still a problem as of version 1.9.32 of apt-proxy. >From a brief look at the problem, when 'import_file' in packages.py is reached, the value of 'paths' returned by: try: paths = get_mirror_path(factory, dir+'/'+file) except SystemError: log.msg(file + ' skipped - wrong format or corrupted', 'import') return is the empty array. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2005-06-18 10:22 Message: Logged In: NO Email me at john at betelgeuse dot us Thanks ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112078&aid=1223254&group_id=12078 |