Control: tags -1 + moreinfo
On Fri, 21 Jul 2017 03:23:13 +0200 Vincent Lefevre wrote: > Hi Francesco, > > On 2017-07-20 23:45:54 +0200, Francesco Poli wrote: > > While it's true that the man page states what you quoted, it also goes > > on stating: > > > > | The notable configuration options are > > > > followed by a list of the options that are read and used by apt-listbugs. > > And Acquire::http::TimeOut is _not_ included in the list... > > If you meant that these are the only supported options, then "notable" > is not the right word (as I understood "notable configuration > options", I thought these were the most important options in > practice, in the context of apt-listbugs). Maybe "relevant" would be clearer: what do you think? > > > As far as the feature request itself is concerned, it seems to me > > that apt.conf(5) man page says: > > > > | The option timeout sets the timeout timer used by the method; this > > | value applies to the connection as well as the data timeout. > > > > It's not too clear to me whether the value is in seconds or in some > > other unit of measurement. Where is this documented? > > I was wondering the same thing (since I had to use this option for > "apt"), and assumed that this was in seconds, as this is the standard > time unit (and the man page also mentions "seconds" for other time > options). And indeed, this corresponds to the observed behavior. OK, maybe you should ask for confirmation to Apt developers and request them to properly document that the timeout has to be specified in seconds. > > > Anyway, I'll try and take a look at some method to set the timeout > > for ruby-httpclient. Let's hope it's not too difficult to do. > > That would be strange that standard modules wouldn't allow a > configurable timeout. Could you please perform the following test? As root, back up one file: # cp -ai /usr/lib/ruby/vendor_ruby/aptlistbugs/debian/btssoap.rb /root/ Then, edit lines 35รท37 of the file itself (using VIM or any other editor of your choice): # vim /usr/lib/ruby/vendor_ruby/aptlistbugs/debian/btssoap.rb Please try to set 10 (in stead of 999) for the three timeout values. Does this solve your issue? Please take into account that I seem to understand that send_timeout will be ignored, unless you have the recommended ruby-httpclient package installed... After doing the test, in case you want to restore the previous clean state, please restore the backed up file: # cp -a /root/btssoap.rb /usr/lib/ruby/vendor_ruby/aptlistbugs/debian/ Please let me know how it went. Thanks for your time. -- http://www.inventati.org/frx/ There's not a second to spare! To the laboratory! ..................................................... Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
pgpT47WKnctgS.pgp
Description: PGP signature

