apt-proxy-import crashes while importing

Bug #60217 reported by Vassilis Pandis
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apt-proxy (Ubuntu)
Confirmed
Undecided
MOTU

Bug Description

Steps to reproduce:

1. sudo aptitude install apt-proxy
2. sudo apt-proxy-import /var/cache/apt/archives

(I haven't touched any configuration file).

I get a lot of the following:

2006/09/13 14:21 EEST [-] [import] python-numeric_24.2-5build1_i386.deb skipped - no suitable backend found
2006/09/13 14:21 EEST [-] [apt_pkg] No Packages files available for security backend
2006/09/13 14:21 EEST [-] [apt_pkg] No Packages files available for ubuntu-security backend
2006/09/13 14:21 EEST [-] [apt_pkg] No Packages files available for debian backend
2006/09/13 14:21 EEST [-] [apt_pkg] No Packages files available for ubuntu backend
2006/09/13 14:21 EEST [-] [apt_pkg] No Packages files available for debian-non-US backend
2006/09/13 14:21 EEST [-] [apt_pkg] No Packages files available for security backend
2006/09/13 14:21 EEST [-] [apt_pkg] No Packages files available for ubuntu-security backend
2006/09/13 14:21 EEST [-] [apt_pkg] No Packages files available for debian backend
2006/09/13 14:21 EEST [-] [apt_pkg] No Packages files available for ubuntu backend
2006/09/13 14:21 EEST [-] [apt_pkg] No Packages files available for debian-non-US backend

This is definitely a configuration issue ( I will look into it now). But hitting ctrl+c while all this flows by makes apt-proxy-import crash with the attached traceback.

This is on current edgy, x86:

python-twisted 2.4.0-2
python 2.4.3-11ubuntu1
apt-proxy 1.9.33ubuntu2

Changed in apt-proxy:
assignee: nobody → motu
Revision history for this message
William Grant (wgrant) wrote :

Can you please confirm that this continues to occur with new apt-proxy version 1.9.35ubuntu1?

Changed in apt-proxy:
status: Unconfirmed → Needs Info
Revision history for this message
Vassilis Pandis (pandisv) wrote :

Still happens. I had forgotten the traceback, here it is:

2006/09/24 15:01 EEST [-] Traceback (most recent call last):
2006/09/24 15:01 EEST [-] File "/usr/sbin/apt-proxy-import", line 91, in ?
2006/09/24 15:01 EEST [-] packages.import_directory(factory, import_dir, config.opts['recursive'])
2006/09/24 15:01 EEST [-] File "/usr/lib/python2.4/site-packages/apt_proxy/packages.py", line 376, in import_directory
2006/09/24 15:01 EEST [-] imported_count += import_file(factory, dir, file)
2006/09/24 15:01 EEST [-] File "/usr/lib/python2.4/site-packages/apt_proxy/packages.py", line 394, in import_file
2006/09/24 15:01 EEST [-] paths = get_mirror_path(factory, dir+'/'+file)
2006/09/24 15:01 EEST [-] File "/usr/lib/python2.4/site-packages/apt_proxy/packages.py", line 308, in get_mirror_path
2006/09/24 15:01 EEST [-] info = AptDpkgInfo(file)
2006/09/24 15:01 EEST [-] File "/usr/lib/python2.4/site-packages/apt_proxy/packages.py", line 41, in __init__
2006/09/24 15:01 EEST [-] self.control = apt_inst.debExtractControl(filehandle)
2006/09/24 15:01 EEST [-] KeyboardInterrupt

Changed in apt-proxy:
status: Needs Info → Unconfirmed
Revision history for this message
Vassilis Pandis (pandisv) wrote :

Still happens with 1.9.35ubuntu2 on feisty. This is just an issue about the traceback appearing when hitting ctrl+c

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report. This is still an issue with intrepid but is this really an issue ?

apt-proxy:
  Installed: 1.9.36.3ubuntu1

Changed in apt-proxy:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.