On Fri, Oct 02, 2009 at 05:05:29PM +0200, Alex Bennee wrote: > Package: apt > Version: 0.7.20.2+lenny1 > Severity: normal > > libapt's AR File implementation gets confused by file names which are > terminated with "/" (which is sysv feature allowing spaces in file > names). The result is hand rolling a .deb file with "ar" generates > packages which are installable with dpkg but not GDebi (as it uses > libapt).
It should work since 0.7.20: * apt-inst/contrib/arfile.cc: - support members ending with '/' as well (thanks to Michal Cihr, closes: #500988) I don't know why it does not work for you on apt 0.7.20.2, if you find the problem please tell us. After doing "ar r archive.ar README", I can do in Python (using python-apt 0.7.92): >>> import apt_inst >>> ar = apt_inst.ArArchive("a.ar") >>> ar.getnames() ['README'] As can be seen, the '/' is properly removed from the filename. -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org