On 2015-08-26 23:09, Riley Baird wrote: > On Wed, 26 Aug 2015 18:08:31 +0200 > Petter Reinholdtsen <p...@hungry.com> wrote: > >> [Riley Baird] >>> This isn't a permanent solution, but it's kind of a workaround. >>> apt-file doesn't seem to allow the plus sign to be in the protocol >>> name, I've changed it to change it to torhttp. After that, add the >>> following line to your /etc/apt/apt-file.conf and it should work. Be >>> careful, though, because torify isn't perfect, and I don't know if it >>> preserves anonymity when used with diffindex-download. >> >> Thank you for this tip. While I guess apt-file can be adjusted to >> accept the plus sign in protocol names (or apt-transport-tor can be >> changed to use another protocol name), isn't it better to change >> apt-file to use the apt transport method in /usr/lib/apt/methods/, and >> thus download the exact same way apt is? Why isn't apt-file already >> using those methods for downloading? > > Good point. It would be much better for apt-file to use the apt > transport methods in /usr/lib/apt/methods/ so that there doesn't need > to be a new bug opened every time that there's a new method. >
Update on the apt-file rewrite[1]: * Regular search seems to work again - Testing welcome * The test suite pass again * More "exotic" (like -a <arch>) are not implemented yet - Notably, -a source and -a udeb-<arch> Thanks, ~Niels [1] https://anonscm.debian.org/cgit/users/nthykier/apt-file.git/log/?h=apt-acquire
signature.asc
Description: OpenPGP digital signature