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

Bug#258690: marked as done (base-config: fails to install mdetect if read-edid isn't there (!i386))



Your message dated Wed, 14 Jul 2004 22:47:03 -0400
with message-id <E1BkwH1-0002Wb-00@newraff.debian.org>
and subject line Bug#258690: fixed in base-config 2.36
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; 11 Jul 2004 03:01:20 +0000
>From cjwatson@flatline.org.uk Sat Jul 10 20:01:20 2004
Return-path: <cjwatson@flatline.org.uk>
Received: from chiark.greenend.org.uk [193.201.200.170] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BjUad-0005Ax-00; Sat, 10 Jul 2004 20:01:20 -0700
Received: from [192.168.124.112] (helo=riva.lab.dotat.at)
	by chiark.greenend.org.uk (Debian Exim 3.35 #1) with esmtp
	for submit@bugs.debian.org
	id 1BjUab-0004Wq-00; Sun, 11 Jul 2004 04:01:18 +0100
Received: from cjwatson by riva.lab.dotat.at with local (Exim 3.35 #1 (Debian))
	for submit@bugs.debian.org
	id 1BjUaZ-0007r9-00; Sun, 11 Jul 2004 04:01:15 +0100
Date: Sun, 11 Jul 2004 04:01:15 +0100
From: Colin Watson <cjwatson@debian.org>
To: submit@bugs.debian.org
Subject: base-config: fails to install mdetect if read-edid isn't there (!i386)
Message-ID: <[🔎] 20040711030115.GA30048@riva.ucam.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: base-config
Version: 2.35
Severity: normal

'apt-get install foo bar' only succeeds if foo and bar are both
available; if bar is missing, it doesn't install foo.

At the moment, read-edid only exists on i386.

The combination of these two facts means that
base-config/lib/menu/pkgsel never installs mdetect on non-i386
architectures. It should install the two separately so that it can cope
with either one being missing.

Here's an untested (sorry) patch:

Index: lib/menu/pkgsel
===================================================================
--- lib/menu/pkgsel	(revision 1139)
+++ lib/menu/pkgsel	(working copy)
@@ -31,12 +31,11 @@
 	# aptitude and installs using aptitude, they will be available.
 	for pkg in mdetect read-edid ; do
 		if ! dpkg --get-selections | grep "$pkg" | grep -q install; then
-			extra="$pkg $extra"
+			if apt-get -y -f install "$pkg" >/dev/null 2>&1; then
+				extra="$pkg $extra"
+			fi
 		fi
 	done
-	if [ "$extra" ] ; then
-		apt-get -y -f install $extra >/dev/null 2>&1 || true
-	fi
 
 	if which tasksel >/dev/null 2>&1; then
 		if [ "$1" = new ]; then

By the way, why the redirection of useful information to /dev/null? It
would have been easier to find this problem if the output had been
visible. I guess the error messages about read-edid not being available
might confuse some people or something.

Thanks,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]

---------------------------------------
Received: (at 258690-close) by bugs.debian.org; 15 Jul 2004 02:49:37 +0000
>From katie@ftp-master.debian.org Wed Jul 14 19:49:37 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 1BkwJV-0004Rh-00; Wed, 14 Jul 2004 19:49:37 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BkwH1-0002Wb-00; Wed, 14 Jul 2004 22:47:03 -0400
From: Joey Hess <joeyh@debian.org>
To: 258690-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#258690: fixed in base-config 2.36
Message-Id: <E1BkwH1-0002Wb-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Wed, 14 Jul 2004 22:47:03 -0400
Delivered-To: 258690-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: base-config
Source-Version: 2.36

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

base-config_2.36.dsc
  to pool/main/b/base-config/base-config_2.36.dsc
base-config_2.36.tar.gz
  to pool/main/b/base-config/base-config_2.36.tar.gz
base-config_2.36_all.deb
  to pool/main/b/base-config/base-config_2.36_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 258690@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <joeyh@debian.org> (supplier of updated base-config 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: Sun, 11 Jul 2004 12:12:34 -0400
Source: base-config
Binary: base-config
Architecture: source all
Version: 2.36
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description: 
 base-config - Debian base system configurator
Closes: 258557 258690 258845
Changes: 
 base-config (2.36) unstable; urgency=low
 .
   * Joey Hess
     - Make termwrap call cyr -f, not -t, for Russian. There still seem
       to be Russian display problems however.
     - No longer update the available file.
   * Colin Watson
     - Install read-edid and mdetect separately, as read-edid only exists on
       i386. Closes: #258690
   * Translations
     - Updated Polish debconf translation. Closes: #258557
     - Updated Spanish debconf translation. Closes: #258845
     - Minor corrections to French translations
Files: 
 10cb1fa8563a69ec518f5b7114e7f975 715 base optional base-config_2.36.dsc
 6438f7a02789326ed97a41c800cc840c 459682 base optional base-config_2.36.tar.gz
 55e0fdb2ebeaae3dfe60a399121d1d3b 285640 base optional base-config_2.36_all.deb

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

iD8DBQFA9eqL2tp5zXiKP0wRAobbAJ4uaNPO3hQOOWjBE0VshL37bPfaSQCeKX9N
Lxa0WhSm9Kkb3ly6JSHc3ho=
=Ejez
-----END PGP SIGNATURE-----



Reply to: