[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#235668: marked as done (Returning false from pkgAcquireStatus::Pulse does not cleanly shut down a download.)



Your message dated Wed, 17 Mar 2004 02:32:02 -0500
with message-id <E1B3VX0-0006xJ-00@newraff.debian.org>
and subject line Bug#234685: fixed in apt 0.5.24
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 1 Mar 2004 20:13:56 +0000
>From d.burrows4@verizon.net Mon Mar 01 12:13:55 2004
Return-path: <d.burrows4@verizon.net>
Received: from out006pub.verizon.net (out006.verizon.net) [206.46.170.106] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AxtnX-00073m-00; Mon, 01 Mar 2004 12:13:55 -0800
Received: from cerebus ([207.68.117.146]) by out006.verizon.net
          (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP
          id <20040301201354.WGSX1634.out006.verizon.net@cerebus>
          for <submit@bugs.debian.org>; Mon, 1 Mar 2004 14:13:54 -0600
Received: from [192.168.1.15] (helo=torrent)
	by cerebus with esmtp (Exim 3.35 #1 (Debian))
	id 1AxtnW-0002h2-00
	for <submit@bugs.debian.org>; Mon, 01 Mar 2004 15:13:54 -0500
Received: from daniel by torrent with local (Exim 3.36 #1 (Debian))
	id 1AxtnV-00010k-00
	for <submit@bugs.debian.org>; Mon, 01 Mar 2004 15:13:53 -0500
Resent-From: dburrows@brown.edu
Resent-Date: Mon, 1 Mar 2004 15:13:53 -0500
Resent-Message-ID: <20040301201353.GA3884@torrent>
Resent-To: submit@bugs.debian.org
Date: Mon, 1 Mar 2004 14:41:01 -0500
From: Daniel Burrows <dnb114@psu.edu>
To: control@bugs.debian.org
Subject: Returning false from pkgAcquireStatus::Pulse does not cleanly shut down a download.
Message-ID: <[🔎] 20040301194101.GA3782@torrent>
References: <20040229215533.GA23095@torrent> <[🔎] Pine.LNX.3.96.1040301001206.4558D-100000@wakko.debian.net> <20040229215533.GA23095@torrent>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] Pine.LNX.3.96.1040301001206.4558D-100000@wakko.debian.net> <20040229215533.GA23095@torrent>
User-Agent: Mutt/1.5.5.1+cvs20040105i
Resent-Sender: Daniel Burrows <daniel@torrent>
X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [207.68.117.146] at Mon, 1 Mar 2004 14:13:54 -0600
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_01 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.4 required=4.0 tests=FROM_ENDS_IN_NUMS,HAS_PACKAGE,
	MAILTO_TO_SPAM_ADDR autolearn=no 
	version=2.60-bugs.debian.org_2004_03_01
X-Spam-Level: 

Package: apt
Version: 0.5.23
Severity: normal

On Sun, Feb 29, 2004 at 04:55:33PM -0500, Daniel Burrows <dnb114@psu.edu> was heard to say:
>   What is the correct way for an apt frontend to cancel a download?  The
> obvious thing from reading the header files is to return false from
> the Pulse method of the status object, but this results in a large
> number of errors:
> 
> E: Tried to dequeue a fetching object
> 
>   [repeat once for every unfinished item]
> 
>   When I ran into this in aptitude, I tried a number of things to fix
> it, such as calling Finished on every item, but I wasn't succesful.  Are
> there any apt gurus who could tell me what the approved way of cleanly
> aborting a download is?  Obviously returning false from Pulse isn't it :-(
> 
>   (I'm at the point where I'm considering just suppressing any error
>    that matches the above message, but that's ugly)

On Mon, Mar 01, 2004 at 12:18:33AM -0700, Jason Gunthorpe <jgg@debian.org> was heard to say:
> 
> On Sun, 29 Feb 2004, Daniel Burrows wrote:
> 
> >   What is the correct way for an apt frontend to cancel a download?  The
> > obvious thing from reading the header files is to return false from
> > the Pulse method of the status object, but this results in a large
> > number of errors:
> 
> IIRC this is it.
> 
> But this is the firt time ever that someone has tried to use it, and it
> looks like it has a bug.
> 
> It looks to me like I just forgot to clear out the item Status while
> blowing everything away.

  Ok, I wasn't sure if that was the case. [0] I'll report this as a bug
then.

  Daniel

  [0] I vaguely remember getting inconclusive answers about this a few
      years back, but I may have been asking the wrong questions, or
      asking in the wrong place.

-- 
/-------------------- Daniel Burrows <dburrows@debian.org> -------------------\
|         "In the old days of analog sound, if you turned the volume          |
|          up too high, everything started to sound like Bob Dylan."          |
\-- Does your computer have Super Cow Powers? ------- http://www.debian.org --/

---------------------------------------
Received: (at 234685-close) by bugs.debian.org; 17 Mar 2004 07:38:11 +0000
>From katie@ftp-master.debian.org Tue Mar 16 23:38:11 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1B3Vcx-00007q-00; Tue, 16 Mar 2004 23:38:11 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1B3VX0-0006xJ-00; Wed, 17 Mar 2004 02:32:02 -0500
From: Matt Zimmerman <mdz@debian.org>
To: 234685-close@bugs.debian.org
X-Katie: $Revision: 1.45 $
Subject: Bug#234685: fixed in apt 0.5.24
Message-Id: <E1B3VX0-0006xJ-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Wed, 17 Mar 2004 02:32:02 -0500
Delivered-To: 234685-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_12 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.7 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	MAILTO_TO_SPAM_ADDR autolearn=no 
	version=2.60-bugs.debian.org_2004_03_12
X-Spam-Level: 

Source: apt
Source-Version: 0.5.24

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive:

apt-doc_0.5.24_all.deb
  to pool/main/a/apt/apt-doc_0.5.24_all.deb
apt-utils_0.5.24_i386.deb
  to pool/main/a/apt/apt-utils_0.5.24_i386.deb
apt_0.5.24.dsc
  to pool/main/a/apt/apt_0.5.24.dsc
apt_0.5.24.tar.gz
  to pool/main/a/apt/apt_0.5.24.tar.gz
apt_0.5.24_i386.deb
  to pool/main/a/apt/apt_0.5.24_i386.deb
libapt-pkg-dev_0.5.24_i386.deb
  to pool/main/a/apt/libapt-pkg-dev_0.5.24_i386.deb
libapt-pkg-doc_0.5.24_all.deb
  to pool/main/a/apt/libapt-pkg-doc_0.5.24_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 234685@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matt Zimmerman <mdz@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 16 Mar 2004 22:47:55 -0800
Source: apt
Binary: apt-utils libapt-pkg-doc libapt-pkg-dev apt-doc apt
Architecture: source all i386
Version: 0.5.24
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Matt Zimmerman <mdz@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 174945 234685 235822 236688 237403 237771 237806 237863 237892 237960 238333
Changes: 
 apt (0.5.24) unstable; urgency=low
 .
   * Updated Czech translation from Miroslav Kure <kurem@upcase.inf.upol.cz>
     (Closes: #235822)
   * Updated French translation from Christian Perrier <bubulle@debian.org>
     (Closes: #237403)
   * Updates to XML man pages from richard.bos@xs4all.nl
   * Updated Danish translation from Claus Hindsgaul <claus_h@image.dk>
     (Closes: #237771)
   * Updated Greek translation from Konstantinos Margaritis
     <markos@debian.org>
     (Closes: #237806)
   * Updated Spanish translation from Ruben Porras <nahoo82@telefonica.net>
     (Closes: #237863)
   * Updated pt_BR translation from Andre Luis Lopes <andrelop@debian.org>
     (Closes: #237960)
   * Regenerate .pot file (Closes: #237892)
   * Updated Polish translation from Marcin Owsiany <porridge@debian.org>
     (Closes: #238333)
   * In pkgAcquire::Shutdown(), set the status of fetching items to
     StatError to avoid a sometimes large batch of error messages
     (Closes: #234685)
   * Implement an ugly workaround for the 10000-character limit on the
     Binaries field in debSrcRecordParser, until such time as some things
     can be converted over to use STL data types (ABI change) (Closes: #236688)
   * Increase default tagfile buffer from 32k to 128k; this arbitrary limit
     should also be removed someday (Closes: #174945)
   * Checked against Standards-Version 3.6.1 (no changes)
Files: 
 b857db17be95febb0961cae83a43a4a1 754 admin important apt_0.5.24.dsc
 06f385f2317b633fd454b17a63290c1a 2274944 admin important apt_0.5.24.tar.gz
 5437e5beb788c79afd8de55f0a80009b 67124 doc optional apt-doc_0.5.24_all.deb
 048c739e3010d9c1645ac8fbfbd87bab 95938 doc optional libapt-pkg-doc_0.5.24_all.deb
 18e9a0d1b8528b39fa6c4f4353165cff 920544 base important apt_0.5.24_i386.deb
 c7f761f12af46229f51b92c5a518c956 66474 libdevel optional libapt-pkg-dev_0.5.24_i386.deb
 854179d4b39197476fc51d81c3571347 180636 admin optional apt-utils_0.5.24_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAV/mQArxCt0PiXR4RAtt/AJ4v4fIlvrGfWZ+a6CKOO8c8BcwiHACgpqcP
iRaPjngbW0tKDuNCgSJq7OE=
=SAta
-----END PGP SIGNATURE-----



Reply to: