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

Bug#210915: marked as done (base-installer fails installing queued packages if one of them fails)



Your message dated Mon, 15 Sep 2003 16:02:43 -0400
with message-id <E19yzYZ-0006QW-00@auric.debian.org>
and subject line Bug#210915: fixed in base-installer 0.030
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; 14 Sep 2003 17:25:20 +0000
>From sesse@dessverre.samfundet.no Sun Sep 14 12:25:17 2003
Return-path: <sesse@dessverre.samfundet.no>
Received: from dessverre.samfundet.no [129.241.93.53] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19yacf-0002nM-00; Sun, 14 Sep 2003 12:25:17 -0500
Received: from sesse by dessverre.samfundet.no with local (Exim 3.36 #1 (Debian))
	id 19yacU-00050y-00; Sun, 14 Sep 2003 19:25:06 +0200
Content-Type: multipart/mixed; boundary="===============0880096316=="
MIME-Version: 1.0
From: "Steinar H. Gunderson" <sgunderson@bigfoot.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: base-installer fails installing queued packages if one of them fails
X-Mailer: reportbug 2.28
Date: Sun, 14 Sep 2003 19:25:06 +0200
Message-Id: <[🔎] E19yacU-00050y-00@dessverre.samfundet.no>
Sender: "Steinar H. Gunderson" <sesse@dessverre.samfundet.no>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-11.3 required=4.0
	tests=HAS_PACKAGE,PATCH_UNIFIED_DIFF
	autolearn=ham version=2.53-bugs.debian.org_2003_9_13
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_9_13 (1.174.2.15-2003-03-30-exp)

This is a multi-part MIME message sent by reportbug.

--===============0880096316==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: base-installer
Version: 0.029 (not installed)
Severity: important
Tags: patch

If multiple extra packages are queued for installation, base-installer
sends them all to apt-install at the same time, which fails if one of
them is not installable. Please see the included patch, which makes it
install the packages one by one, which might be a little slower but is a
lot safer.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux dessverre 2.4.20-k7 #1 Tue Jan 14 00:29:06 EST 2003 i686
Locale: LANG=C, LC_CTYPE=en_US.ISO8859-1


--===============0880096316==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="multi-install.patch"

Index: debian/postinst
===================================================================
RCS file: /cvs/debian-boot/debian-installer/tools/base-installer/debian/postinst,v
retrieving revision 1.47
diff -u -r1.47 postinst
--- debian/postinst	30 Jul 2003 08:46:30 -0000	1.47
+++ debian/postinst	14 Sep 2003 17:21:08 -0000
@@ -133,7 +133,10 @@
 db_progress INFO base-installer/apt/progress/step_install
 
 if [ -f /var/lib/apt-install/queue ] ; then
-    apt-install `cat /var/lib/apt-install/queue` || true
+    # We need to install these one by one in case one of them fails.
+    for PKG in `cat /var/lib/apt-install/queue`; do
+        apt-install $PKG || true
+    done
 fi
 
 db_progress STEP 1

--===============0880096316==--

---------------------------------------
Received: (at 210915-close) by bugs.debian.org; 15 Sep 2003 20:09:55 +0000
>From katie@auric.debian.org Mon Sep 15 15:09:55 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19yzfW-0004Re-00; Mon, 15 Sep 2003 15:09:54 -0500
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 19yzYZ-0006QW-00; Mon, 15 Sep 2003 16:02:43 -0400
From: Petter Reinholdtsen <pere@debian.org>
To: 210915-close@bugs.debian.org
X-Katie: $Revision: 1.35 $
Subject: Bug#210915: fixed in base-installer 0.030
Message-Id: <E19yzYZ-0006QW-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Mon, 15 Sep 2003 16:02:43 -0400
Delivered-To: 210915-close@bugs.debian.org

Source: base-installer
Source-Version: 0.030

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

base-installer_0.030.dsc
  to pool/main/b/base-installer/base-installer_0.030.dsc
base-installer_0.030.tar.gz
  to pool/main/b/base-installer/base-installer_0.030.tar.gz
base-installer_0.030_i386.udeb
  to pool/main/b/base-installer/base-installer_0.030_i386.udeb
kernel-installer_0.030_all.udeb
  to pool/main/b/base-installer/kernel-installer_0.030_all.udeb



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 210915@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere@debian.org> (supplier of updated base-installer 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: Mon, 15 Sep 2003 21:31:32 +0200
Source: base-installer
Binary: kernel-installer base-installer
Architecture: source i386 all
Version: 0.030
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
Description: 
 base-installer - Install the base system (udeb)
 kernel-installer - Install the kernel (udeb)
Closes: 210915
Changes: 
 base-installer (0.030) unstable; urgency=low
 .
   * Petter Reinholdtsen
     - Keep installing packages into /target/ even if one package fail.
       Based on patch from Steinar H. Gunderson. (Closes: #210915)
     - Log to syslog, not /var/log/messages in kernel-installer.
Files: 
 feb19ffb7692f78acf5360fc74a63d03 645 debian-installer required base-installer_0.030.dsc
 f47fec608ac62dde46c2d2109381b01b 39523 debian-installer required base-installer_0.030.tar.gz
 9ebb505ec8294b3b70aa755491308e64 8844 debian-installer required kernel-installer_0.030_all.udeb
 af461de06699affb44905040937d26b6 13858 debian-installer required base-installer_0.030_i386.udeb

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

iD8DBQE/ZhO/20zMSyow1ykRApwYAKDX8Z0lFFuxZGS0MoXwWk2tKMJD1gCgp+TG
utVmsGw3a58UPVczmO580s8=
=eXVP
-----END PGP SIGNATURE-----



Reply to: