Debian Bug report logs - #623981
90linux-distro: 132: Syntax error: end of file unexpected (expecting "fi")

version graph

Package: os-prober; Maintainer for os-prober is Debian Install System Team <debian-boot@lists.debian.org>; Source for os-prober is src:os-prober.

Reported by: "Stefan Lippers-Hollmann" <s.L-H@gmx.de>

Date: Mon, 25 Apr 2011 01:03:01 UTC

Severity: important

Tags: patch

Found in version os-prober/1.45

Fixed in version os-prober/1.46

Done: Christian Perrier <bubulle@debian.org>

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, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#623981; Package os-prober. (Mon, 25 Apr 2011 01:03:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Stefan Lippers-Hollmann" <s.L-H@gmx.de>:
New Bug report received and forwarded. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Mon, 25 Apr 2011 01:03:04 GMT) Full text and rfc822 format available.

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

From: "Stefan Lippers-Hollmann" <s.L-H@gmx.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: 90linux-distro: 132: Syntax error: end of file unexpected (expecting "fi")
Date: Mon, 25 Apr 2011 03:01:28 +0200
Package: os-prober
Version: 1.45
Severity: important
Tags: patch

Hi

90linux-distro: fix sh syntax for "Linux from scratch" detection.

Upgrading os-prober to 1.45 results in the following error message upon
invoking update-grub (and prevents later scripts from getting 
executed).

# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-[...]
Found initrd image: /boot/initrd.img-[...]
/usr/lib/os-probes/mounted/90linux-distro: 132: Syntax error: end of file unexpected (expecting "fi")
/usr/lib/os-probes/mounted/90linux-distro: 132: Syntax error: end of file unexpected (expecting "fi")
/usr/lib/os-probes/mounted/90linux-distro: 132: Syntax error: end of file unexpected (expecting "fi")
/usr/lib/os-probes/mounted/90linux-distro: 132: Syntax error: end of file unexpected (expecting "fi")
/usr/lib/os-probes/mounted/90linux-distro: 132: Syntax error: end of file unexpected (expecting "fi")
/usr/lib/os-probes/mounted/90linux-distro: 132: Syntax error: end of file unexpected (expecting "fi")
/usr/lib/os-probes/mounted/90linux-distro: 132: Syntax error: end of file unexpected (expecting "fi")
[...]

Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
---
 os-probes/mounted/common/90linux-distro |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -Nru a/os-probes/mounted/common/90linux-distro b/os-probes/mounted/common/90linux-distro
--- a/os-probes/mounted/common/90linux-distro
+++ b/os-probes/mounted/common/90linux-distro
@@ -115,7 +115,7 @@
 	elif [ -e "$dir/etc/kdemar-release" ]; then
 		short="K-DEMar"
 		long="$(printf "K-DEMar GNU/Linux (%s)\n" "$(cat "$dir/etc/kdemar-release")")"
-	if [ -e "$dir/etc/lfs-release" ]; then
+	elif [ -e "$dir/etc/lfs-release" ]; then
 		short="LFS"
 		long="$(printf "Linux From Scratch (%s)\n" "$(cat "$dir/etc/lfs-release")")"
 	else
-- 

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-4.slh.2-aptosid-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages os-prober depends on:
ii  libc6                         2.11.2-13  Embedded GNU C Library: Shared lib

os-prober recommends no packages.

os-prober suggests no packages.

-- no debconf information




Reply sent to Christian Perrier <bubulle@debian.org>:
You have taken responsibility. (Mon, 25 Apr 2011 05:36:03 GMT) Full text and rfc822 format available.

Notification sent to "Stefan Lippers-Hollmann" <s.L-H@gmx.de>:
Bug acknowledged by developer. (Mon, 25 Apr 2011 05:36:03 GMT) Full text and rfc822 format available.

Message #10 received at 623981-close@bugs.debian.org (full text, mbox):

From: Christian Perrier <bubulle@debian.org>
To: 623981-close@bugs.debian.org
Subject: Bug#623981: fixed in os-prober 1.46
Date: Mon, 25 Apr 2011 05:32:28 +0000
Source: os-prober
Source-Version: 1.46

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

os-prober-udeb_1.46_i386.udeb
  to main/o/os-prober/os-prober-udeb_1.46_i386.udeb
os-prober_1.46.dsc
  to main/o/os-prober/os-prober_1.46.dsc
os-prober_1.46.tar.gz
  to main/o/os-prober/os-prober_1.46.tar.gz
os-prober_1.46_i386.deb
  to main/o/os-prober/os-prober_1.46_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 623981@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Perrier <bubulle@debian.org> (supplier of updated os-prober 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.8
Date: Mon, 25 Apr 2011 07:09:02 +0200
Source: os-prober
Binary: os-prober-udeb os-prober
Architecture: source i386
Version: 1.46
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Christian Perrier <bubulle@debian.org>
Description: 
 os-prober  - utility to detect other OSes on a set of drives
 os-prober-udeb - utility to detect other OSes on a set of drives (udeb)
Closes: 623981
Changes: 
 os-prober (1.46) unstable; urgency=low
 .
   * Correct syntax error in LFS detection. Closes: #623981
Checksums-Sha1: 
 480f2961cd1f42d0f62d412614e80cbc00026a6f 1556 os-prober_1.46.dsc
 39fcec328e7781042df1ca01d38079f566d2964a 25061 os-prober_1.46.tar.gz
 24b8fbdb4e7244f5121a9006540fe3ad6e5f296e 13464 os-prober-udeb_1.46_i386.udeb
 7f06109102af5f1778863742c81e087fcb3b2b25 24584 os-prober_1.46_i386.deb
Checksums-Sha256: 
 2db0bc26485218ebf76c244f1f6a20b7a8eecbeabe95a7175967479583f1f6fb 1556 os-prober_1.46.dsc
 c73b7790c3b54bca664dde3aa49412c3fb244c7d9478cfa8316144ceb4c4e0a1 25061 os-prober_1.46.tar.gz
 96e3d0abcf53c9c89bf0e8fa18929a4e56be9db32f7576d2eb43d211f3252260 13464 os-prober-udeb_1.46_i386.udeb
 d9d8a6d6c974e46be1b513f54c32252c54f004d702867efd95ed09e8c6842e4e 24584 os-prober_1.46_i386.deb
Files: 
 4012ac9f6b338af80a0b5dd7b38f6e1c 1556 debian-installer optional os-prober_1.46.dsc
 b49d98e33da4c2c2534fff6badc2013c 25061 debian-installer optional os-prober_1.46.tar.gz
 a34785974bc5a101b6640afddfc0135d 13464 debian-installer optional os-prober-udeb_1.46_i386.udeb
 f068de427b975f93980bd1a05268fb72 24584 utils extra os-prober_1.46_i386.deb
Package-Type: udeb

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

iQIVAwUBTbUC04cvcCxNbiWoAQLnSw/+J+cHIr31Qi6cjZCkUjW+85cO4QTSUpAv
wb8CXB3EwbjaChDKmNgGYCwEVP74+KiovI7CKO96T/o0CPp5fsTEI4xo0dJsNdfe
24uZ568yIngWTSrxYK5BZ1XAoX8uWToUWg1a0gez3NNAc8l50h4dCxrV1HPkDva7
q0522BjFGQtyIft7BMj3Pq+3HocZz2LyrmhF5vF3jpa//8qQPatxnWCyv07zjvE+
+ELEMsaX8y9nm2rC2gr/FX2ZqJjU+433jktrrX3CcHytcXxXq3uZhxMgxrkrVN3M
Bj8vfZmQ7uHp5czh3Hpf/6ZMKjDp1fJ4H9WJYTPxgTKAJVNPmuDnFm3NVBw/ZKXq
2ZKL4iA4RF66KsB7uZQtj1OkTzLuEvTiQfwmos7TtFeYmVQcZsin/iAkc7nsIIi/
P71LfeLHpHjyWSF/AHTDVmQimbVtoeJzN7a0QEba53RtGtMCeDyMO9+7+LYkrMdf
bieRf4UJHPvirPd3lh02n5MI8DzQLa/QJCVJTx4T6i5HyMSk5Fl6v4jt9yGrrztN
VRAC5OPKlcD2xS5Tkr3rKFJK5o7MAagcNvgTup0Wftu4dGUkp2bJVRJeMnxJXgzn
kOXjSFttccC/mtcJcmBBR59Sr60R5luxxU9z3018emwccktKPOopUsp/AvPOa8NG
t2x4CadZ3M0=
=+RcA
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 24 May 2011 07:38:08 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 16 14:02:05 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.