From: Steven G. J. <st...@ab...> - 2002-05-26 01:55:49
|
Hi, I am using apt-proxy 1.3.1 under Debian/stable (potato) on x86, and I ran into what appears to be a serious bug in apt-proxy-import. (It looks like this utility hasn't been tested under potato; see below.) First of all, it appears that apt-proxy-import deletes all of the .deb files in the directory you point it to. Is this the intended behavior? (It doesn't seem to be documented in the man page.) I don't think that such destructive behavior should be the default. It wouldn't be so bad if it just moved the files, rather than deleting them (although I still think it should only copy and not move), but it appears there is a bug that causes this to fail. In particular, I imported a directory full of .deb files, and it seems that more than half of them were skipped (according to the apt-proxy-import output), and I can no longer find the skipped .deb files anywhere (neither in their original directory nor under /var/cache/apt-proxy). As a simple test case, I created a directory tst/ containing ash_0.3.5-11_i386.deb, and the output was: root# apt-proxy-import --verbose tst tst: dpkg-name: can't find `-k' moved `ash_0.3.5-11_i386.deb' to `/var/cache/apt-proxy/dpkg-name.links/ash_0.3.5-11_i386.deb' skipped ash_0.3.5-11_i386.deb Note the message about "-k"...the apt-proxy-import script is passing the "-k" option to dpkg-name, but this option is apparently unsupported under potato. Also, it claims to be moving the .deb to /var/cache/apt-proxy/dpkg-name.links/, but the dpkg-name.links subdirectory is nonexistent. Thanks for your help. Cordially, Steven G. Johnson |