--- Begin Message ---
>From [EMAIL PROTECTED] Fri Oct 06 08:38:27 2006
X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on 
        dancer64.netfort.gr.jp
X-Spam-Level: 
X-Spam-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,
        DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS autolearn=no 
        version=3.1.4
Delivered-To: [EMAIL PROTECTED]
Date: Fri, 06 Oct 2006 10:36:15 +0200
From: David Baron <[EMAIL PROTECTED]>
Subject: Re: Bug#391180: apt-listbugs: Sporadic failures
In-reply-to: <[EMAIL PROTECTED]>
To: Junichi Uekawa <[EMAIL PROTECTED]>
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT
Content-disposition: inline
References: <[EMAIL PROTECTED]>
 <[EMAIL PROTECTED]>
 <[EMAIL PROTECTED]>
User-Agent: KMail/1.9.4

On Friday 06 October 2006 00:22, you wrote:
> retitle 391180 apt-listbugs times out while doing SOAP.
> thanks
>
> Hi,
>
> > > > Usually works just fine. Every few runs, get:
> > > > E: Sub-process if dpkg -s apt-listbugs | grep -q '^Status: .* ok
> > > > installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 ||
> > > > exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key
> > > > to continue.' 1>&2 ; read a < /dev/tty ); fi returned an error code
> > > > (10) E: Failure running script if dpkg -s apt-listbugs | grep -q
> > > > '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test
> > > > $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally,
> > > > hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi
> > >
> > > I need the message above these two lines to analyse the problem.
> > > It's the generic message from apt which has no meaning.
> >
> > OK. I believe that the last item before this is "downloading bug reports
> > 0" or the like.
>
> The part after that 0% is the important bit.

OK, ... E: no block given. This comes up in far less than 30 seconds!
>
> Please try the following command-line to reproduce:
>
> ls -1 /var/cache/apt/archives/PACKAGE_*.deb | /usr/sbin/apt-listbugs apt -d
>  (substitute PACKAGE with the package name)

> > My idea is that the thing simply times out too quickly. If I get a
> > prompt indication of two-way traffic on the network monitor at this
> > point, the program works fine.
>
> Current timeout is 30 seconds or so; how long do you need?
>
Got notice that the bug has been closed with a 999 seconds time out. I did not 
count the seconds until error but it seemed less than 30 seconds. In any 
event, this parameter might be a setable rather than hard coded since no one 
would want to sit 15 minutes waitinf for a response.

I just had it fail twice in far less than 30 seconds. The third try worked 
just fine. I would say, reopen it.

(BTW, It seemed past versions allowed one to continue anyway on such error. At 
one's own risk, of course :-) )



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--- End Message ---

Reply via email to