Your message dated Tue, 16 Aug 2005 21:17:04 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#121173: fixed in dpkg 1.13.11
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; 26 Nov 2001 03:08:19 +0000
>From [EMAIL PROTECTED] Sun Nov 25 21:08:19 2001
Return-path: <[EMAIL PROTECTED]>
Received: from mnmai05.mn.mediaone.net [24.131.1.59] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 168C83-0008TT-00; Sun, 25 Nov 2001 21:08:19 -0600
Received: from teela.ringworld.org ([EMAIL PROTECTED] [66.41.136.195])
        by mnmai05.mn.mediaone.net (8.11.1/8.11.1) with ESMTP id fAQ38iu11994;
        Sun, 25 Nov 2001 22:08:44 -0500 (EST)
Received: by teela.ringworld.org (Postfix, from userid 1000)
        id B7B642948; Sun, 25 Nov 2001 21:08:18 -0600 (CST)
From: "Scott M.Dier" <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: dpkg: Dpkg doesnt stop on errors that "ar x" reports
X-Reportbug-Version: 1.37
X-Mailer: reportbug 1.37
Date: Sun, 25 Nov 2001 21:05:42 -0600
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]

Package: dpkg
Version: 1.9.18
Severity: normal

When installing a new 'debconf' from incoming, I inadverntly downloaded a
partial .deb file. [1]  I attempted to install this file and:

teela:~# dpkg -i debconf_1.0.20_all.deb
Selecting previously deselected package debconf.
(Reading database ... 132153 files and directories currently installed.)
Unpacking debconf (from debconf_1.0.20_all.deb) ...
Setting up debconf (1.0.20) ...
Can't locate Debconf/Db.pm in @INC (@INC contains: /usr/local/lib/perl/5.6.1 
/usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 
/usr/share/perl/5.6.1 /usr/local/lib/site_perl /usr/lib/perl5/5.6 
/usr/lib/perl5/5.005 .) at /usr/share/debconf/frontend line 22.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 22.
dpkg: error processing debconf (--install):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 debconf

was the output.

Then I went a step further and used "ar x debconf_1.0.20_all.deb" on the file:

teela:~# ar x debconf_1.0.20_all.deb
ar: debconf_1.0.20_all.deb is not a valid archive

ar still unpacked as much as it could.

In this case, is dpkg able to learn if the package is 'not a valid archive'
and abort processing that package?

I think apt does check md5sums before passing to dpkg, so this shouldn't be
a widespread problem at all.  If you feel that this is beyond the scope of
dpkg, feel free to set it to wishlist.

[1] http://www.ringworld.org/~dieman/stuff/debconf_1.0.20_all.deb
        (partial download that was used in this case)

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux teela 2.4.12-686-smp #2 SMP Sat Oct 13 20:14:19 EST 2001 i686
Locale: LANG=english, LC_CTYPE=en_US

Versions of packages dpkg depends on:
ii  libc6                  2.2.4-6           GNU C Library: Shared libraries an
ii  libncurses5            5.2.20010318-3    Shared libraries for terminal hand
ii  libstdc++2.10-glibc2.2 1:2.95.4-0.011006 The GNU stdc++ library


---------------------------------------
Received: (at 121173-close) by bugs.debian.org; 17 Aug 2005 04:19:58 +0000
>From [EMAIL PROTECTED] Tue Aug 16 21:19:58 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1E5FMO-00016F-00; Tue, 16 Aug 2005 21:17:04 -0700
From: Scott James Remnant <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#121173: fixed in dpkg 1.13.11
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 16 Aug 2005 21:17:04 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

Source: dpkg
Source-Version: 1.13.11

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

dpkg-dev_1.13.11_all.deb
  to pool/main/d/dpkg/dpkg-dev_1.13.11_all.deb
dpkg_1.13.11.dsc
  to pool/main/d/dpkg/dpkg_1.13.11.dsc
dpkg_1.13.11.tar.gz
  to pool/main/d/dpkg/dpkg_1.13.11.tar.gz
dpkg_1.13.11_i386.deb
  to pool/main/d/dpkg/dpkg_1.13.11_i386.deb
dselect_1.13.11_i386.deb
  to pool/main/d/dpkg/dselect_1.13.11_i386.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott James Remnant <[EMAIL PROTECTED]> (supplier of updated dpkg 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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Wed, 17 Aug 2005 04:44:44 +0100
Source: dpkg
Binary: dpkg dselect dpkg-dev
Architecture: source i386 all
Version: 1.13.11
Distribution: unstable
Urgency: low
Maintainer: Scott James Remnant <[EMAIL PROTECTED]>
Changed-By: Scott James Remnant <[EMAIL PROTECTED]>
Description: 
 dpkg       - package maintenance system for Debian
 dpkg-dev   - package building tools for Debian
 dselect    - user tool to manage Debian packages
Closes: 5571 47404 57194 82407 95570 113626 121173 147574 151651 156319 169928 
170869 171762 201848 236733 268639 273489 296026 302229 306474 306874 310306 
310390 316470 317760 317770 318376 318473 318659 318745 319781 319784 319816 
320925 320952 322359 322361 322362 322595 322917
Changes: 
 dpkg (1.13.11) unstable; urgency=low
 .
   The "Good, clean fun" Release.
 .
   * Fixed the always broken error handling so that only the intended
     cleanup handlers are run, rather than ones that we didn't expect.
     This corrects the bug when a package's postrm fails and the package is
     left in an installed state with no files; the package will now be left
     in a half-installed state, as originally intended.  Found by Marga
     Manterola while documenting the maintainer scripts.  Closes: #296026.
   * Fixed removal of files involved in diversions during upgrade, caused by
     checking whether the "directory" was in use by another package without
     actually checking whether or not it was a directory.  Closes: #310390.
   * Fixed package saving to not disappear packages who divert anything from
     the installing package out of the way.  Closes: #113626.
   * Improved clean-up of unpack failure during install or upgrade, to leave
     the system in exactly the same state as it started in.
     Closes: #47404, #82407, #121173, #170869, #201848, #236733, #268639.
   * Fixed crash when unpacking a package which has an unversioned Replaces
     declared on it by another package previously unpacked in the same run
     (Colin Watson).  Closes: #322595.
 .
   * New install unwinding fixed to ensure we don't leave a version in the
     status db for a not-installed package.
   * Corrected error call when encountering a corrupted filesystem tarfile
     to not print "Success".  Closes: #95570.
   * Fixed castration of potentially unsafe devices to not follow symlinks.
     Closes: #169928.
   * Marked log file descriptor as close-on-exec.  Closes: #320925.
   * Re-worked dpkg-source -x to allow all manner of strange things maintainers
     seem to do, unpacking isn't the right place to enforce sanity; we'll
     do it in -b later on >:-).  Closes: #316470, #317760, #318473, #318745,
     #322359, #322361, #322362.
 .
   * Corrected dselect synopsis line to match consensus.  Closes: #318659.
   * Changed dpkg-name to use a shell redirect rather than the /dev/stderr
     device that may not be writable.  Closes: #318376.
   * Adjusted various dpkg-query options to avoid outputting a trailing
     newline.  Closes: #151651, #319781.
   * Changed references to "statusoverride" file to just "statoverride"
     to make it match reality.  Closes: #320952.
   * Fixed several bugs with the default diff ignore list used by dpkg-source.
   * Added ,,* to the list of default diff ignore list.  Closes: #322917.
 .
   * Fixes to dpkg-dev (Frank Lichtenheld):
     - dpkg-checkbuilddeps will now exit with an error if it is unable to
       parse a dependency field.  Closes: #171762, #302229.
     - dpkg-genchanges will now output a warning if given -sd for a native
       package, as it's going to ignore it.  Closes: #5571.
     - dpkg-source fixed to give a more meaningful error message if given
       a directory as the first argument.  Closes: #306874.
     - dpkg-source fixed to handle being given an absolute path to -b.
       Closes: #147574.
     - Fix controllib.pl to allow whitespace before version operators.
       Closes: #273489, #310306.
     - Fix architecture dependency parsing that sometimes generated wrong
       list of requirements.  Closes: #319816.
     - Make the default control field name mangling behaviour "nicer" by
       upper-casing all letters that come after a dash.  Closes: #306474.
     - Ignore trailing newlines in single paragraph control files.
       Closes: #57194, #156319
   * Documentation:
     - Fixed typo in dpkg-architecture man page.  Closes: #317770.
     - Documented dpkg-deb -W/--show and --showformat.  Closes: #319784.
Files: 
 58e36a37b7b2557cad0ba4ac62ba262f 637 base required dpkg_1.13.11.dsc
 1c270abc1e0eb19a56042ee5c78f2c02 3571530 base required dpkg_1.13.11.tar.gz
 6ee6f8d5a6b35f66b8744e231fe1eb7c 1820772 base required dpkg_1.13.11_i386.deb
 ece1d4861d07e98df7dee3ad919c5ec4 119780 base required dselect_1.13.11_i386.deb
 c5492ff26b9de19da9e817be40a46d97 163106 utils standard dpkg-dev_1.13.11_all.deb

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

iD8DBQFDArWGIexP3IStZ2wRAgJzAJ9M5HGRsZPDFLIMECiIIl3H08QqrwCgmtRV
UcV2WKZcKO/OnP9TmDcRO14=
=LBQZ
-----END PGP SIGNATURE-----


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

Reply via email to