Debian Bug report logs - #15695
dpkg: corrupt .deb should abort upgrade

version graph

Package: lilo; Maintainer for lilo is Joachim Wiedorn <joodebian@joonet.de>; Source for lilo is src:lilo (PTS, buildd, popcon).

Reported by: adrian.bridgett@poboxes.com

Date: Sun, 7 Dec 1997 18:18:02 UTC

Severity: normal

Fixed in version 1:22.6.1-6.2

Done: Nathanael Nerode <neroden@fastmail.fm>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>:
Bug#15695; Package dpkg. (full text, mbox, link).


Acknowledgement sent to adrian.bridgett@poboxes.com:
New bug report received and forwarded. Copy sent to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Adrian Bridgett <adrian.bridgett@poboxes.com>
To: submit@bugs.debian.org
Subject: dpkg: corrupt .deb should abort upgrade
Date: Sun, 7 Dec 1997 13:59:42 +0000
Package: dpkg
Version: 1.4.0.19

If there is a problem unpacking the .deb, then the postinst should *not* be
run IMO. I hate to think what would happen if I hadn't said no to the
following question (my hard disk could have been messed up).

Preparing to replace lilo 19-2 (using lilo_20-0.1.deb) ...
Unpacking replacement lilo ...
dpkg: error processing lilo_20-0.1.deb (--install):
 corrupted filesystem tarfile - corrupted package archive
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Running /usr/sbin/liloconfig

LILO, the LInux LOader, sets up your system to boot Linux directly
from your hard disk, without the need for a boot floppy.

You already have a LILO configuration in the file /etc/lilo.conf
Install a boot block using your current LILO configuration? [Yes] n

Wipe out your old LILO configuration and make a new one? [No] n
No changes made.
Preparing to replace mpage 2.4-6 (using mpage_2.4-7.deb) ...
Unpacking replacement mpage ...

Adrian

email: adrian.bridgett@poboxes.com       | Debian Linux - www.debian.org
http://www.poboxes.com/adrian.bridgett   | Because bloated, unstable 
PGP key available on public key servers  | operating systems are from MS


Merged 15162 15695. Request was from Michael Piefel <piefel@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Disconnected #15162 from all other report(s). Request was from Adam Heath <doogie@brainfood.com> to control@bugs.debian.org. (full text, mbox, link).


Merged 15695 15865 65690 82407 89771 96391 106224 121173. Request was from Thomas Hood <jdthood@yahoo.co.uk> to control@bugs.debian.org. (full text, mbox, link).


Message sent on to adrian.bridgett@poboxes.com:
Bug#15695. (full text, mbox, link).


Message #14 received at 15695-submitter@bugs.debian.org (full text, mbox, reply):

From: Thomas Hood <jdthood@yahoo.co.uk>
To: control@bugs.debian.org
Cc: 15695-submitter@bugs.debian.org, 121173-submitter@bugs.debian.org, 106224-quiet@bugs.debian.org
Subject: merge 15695 121173 106224
Date: 10 Oct 2002 12:56:34 +0200
merge 15695 121173 106224
thanks

Add these to the pile.  All the merged reports concern bad
handling of errors in the unpack phase.

15695:  corrupt .deb should abort upgrade
121173: Dpkg doesnt stop on errors that "ar x" reports

dpkg needs to be changed so that it:
1. validates the package archive before trying to unpack;
2. checks for disk space before trying to unpack;
3. fails gracefully if the package is corrupt, if not enough
   disk space is found, if the unpack returns an error, or
   the system runs out of disk space;
   ... in particular it should not run the postinst script ...
   ... and should delete any unpacked files.

--
Thomas Hood




Merged 15695 15865 65690 82407 89771 96391 106224 121173 178735. Request was from Martin Quinson <mquinson@ens-lyon.fr> to control@bugs.debian.org. (full text, mbox, link).


Merged 15162 15695 15865 65690 82407 89771 95570 96391 106224 121173 178735. Request was from Thomas Hood <jdthood@yahoo.co.uk> to control@bugs.debian.org. (full text, mbox, link).


Disconnected #15865 from all other report(s). Request was from Thomas Hood <jdthood@yahoo.co.uk> to control@bugs.debian.org. (full text, mbox, link).


Merged 15162 15695 65690 82407 89771 95570 96391 106224 121173 178735 236733. Request was from Scott James Remnant <scott@netsplit.com> to control@bugs.debian.org. (full text, mbox, link).


Merged 15162 15695 65690 82407 89771 95570 96391 106224 121173 170869 178735 236733. Request was from jdthood@yahoo.co.uk (Thomas Hood) to control@bugs.debian.org. (full text, mbox, link).


Merged 15162 15695 65690 82407 89771 95570 96391 106224 121173 170869 178735 201848 236733. Request was from jdthood@yahoo.co.uk (Thomas Hood) to control@bugs.debian.org. (full text, mbox, link).


Disconnected #15162 from all other report(s). Request was from Scott James Remnant <scott@netsplit.com> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#15695; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Scott James Remnant <scott@netsplit.com>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #33 received at 15695@bugs.debian.org (full text, mbox, reply):

From: Scott James Remnant <scott@netsplit.com>
To: Andrés Roldán <aroldan@debian.org>, 15695@bugs.debian.org, adrian.bridgett@poboxes.com
Subject: Not a dpkg bug
Date: Sun, 17 Jul 2005 00:48:14 +0300
[Message part 1 (text/plain, inline)]
unmerge 15695
reassign 15695 lilo
merge 15162 15965
kthxbye

This is another bug that's a copy of 15162, dpkg is informing the old
version that an upgrade to it was aborted -- and lilo's postinst is
failing to catch that particular postinst argument.

(ps. Andrés, as you can guess, you can just close these <g> -- we're
just drinking too much coke in our little BSP here and having fun)

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?
[signature.asc (application/pgp-signature, inline)]

Disconnected #15695 from all other report(s). Request was from Scott James Remnant <scott@netsplit.com> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `dpkg' to `lilo'. Request was from Scott James Remnant <scott@netsplit.com> to control@bugs.debian.org. (full text, mbox, link).


Bug marked as fixed in version 1:22.6.1-6.2, send any further explanations to adrian.bridgett@poboxes.com Request was from Nathanael Nerode <neroden@fastmail.fm> to control@bugs.debian.org. (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 27 Jun 2007 06:14:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 24 14:25:04 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.