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

Bug#683867: marked as done (grub-installer: Fails to install grub: line 45: syntax error: unexpected else)



Your message dated Sun, 05 Aug 2012 09:17:09 +0000
with message-id <E1SxwxR-0006sN-TS@franck.debian.org>
and subject line Bug#683867: fixed in grub-installer 1.77
has caused the Debian Bug report #683867,
regarding grub-installer: Fails to install grub: line 45: syntax error: unexpected else
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
683867: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683867
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: grub-installer
Version: 1.76
Severity: important
Tags: patch

Installation with the daily build from August 3 fails at grub-installer.

(process:26576): /usr/bin/grub-installer: line 45: syntax error: unexpected
"else" (expecting "then")
WARNING **: Configuring 'grub-installer' failed with error code 2
WARNING **: Menu item 'grub-installer' failed.

Simple syntax typo, attached patch fixes (patched while installing and
installation succeeded).



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
>From adab600b7412379da97e13e12d87bbe6a547bc53 Mon Sep 17 00:00:00 2001
From: Mike Miller <mtmiller@ieee.org>
Date: Sat, 4 Aug 2012 18:57:23 -0400
Subject: [PATCH] Fix shell "unexpected else" syntax error

---
 grub-installer |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grub-installer b/grub-installer
index 768fbed..a0a4d8c 100755
--- a/grub-installer
+++ b/grub-installer
@@ -40,7 +40,7 @@ info "architecture: $ARCH"
 local initial_proc_contents="$(ls $ROOT/proc)"
 if [ -z "$initial_proc_contents" ]; then
 	info "Mounting /proc into $ROOT"
-	if [ "$(udpkg --print-os)" = "kfreebsd" ];
+	if [ "$(udpkg --print-os)" = "kfreebsd" ]; then
 		mount -t linprocfs proc $ROOT/proc
 	else
 		mount -t proc proc $ROOT/proc
-- 
1.7.10.4


--- End Message ---
--- Begin Message ---
Source: grub-installer
Source-Version: 1.77

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

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 683867@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 grub-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.8
Date: Sun, 05 Aug 2012 10:59:40 +0200
Source: grub-installer
Binary: grub-installer
Architecture: source i386
Version: 1.77
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Christian Perrier <bubulle@debian.org>
Description: 
 grub-installer - Install GRUB on a hard disk (udeb)
Closes: 683867
Changes: 
 grub-installer (1.77) unstable; urgency=low
 .
   [ Cyril Brulebois ]
   * Apply patch from Mike Miller to fix the syntax error in the
     linprocfs/kFreeBSD code (Closes: #683867). Many thanks for the
     tested patch!
 .
   [ Christian Perrier ]
   * Add myself to Uploaders
Checksums-Sha1: 
 fdeeebe14015e4221bfb3723e52ad84e648e20e9 1817 grub-installer_1.77.dsc
 fac894c947c14a7b7eca4e2b4aceaa7b5ac4cfd0 212110 grub-installer_1.77.tar.gz
 e13e3320e4c3e396b8505e86d6ff00d1cb9bf1c5 195200 grub-installer_1.77_i386.udeb
Checksums-Sha256: 
 1490a030112b8567ea2a4752f4a7d2007cfcb14b5d9a4f68407eea7c3ce561ab 1817 grub-installer_1.77.dsc
 7d33d8cec94837b5204a6bffea991b3a8128da9e764eb8f8bb075086937e30d0 212110 grub-installer_1.77.tar.gz
 a63f4791186e3b3d19267b4627ab7e90495a2503bd038490af831ab9e626c786 195200 grub-installer_1.77_i386.udeb
Files: 
 712257c74b210f18b929b9b9637d02be 1817 debian-installer standard grub-installer_1.77.dsc
 716888d3aef68c5985c649b6cb9d3fc2 212110 debian-installer standard grub-installer_1.77.tar.gz
 ca93e9cd103624726ba44565b9485e1a 195200 debian-installer standard grub-installer_1.77_i386.udeb

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

iQIVAwUBUB429ocvcCxNbiWoAQL2dhAAvJIa9vGYyq5ZeYMhRFc23VXsKD3bxJDz
Bb6hGORuodEf10wfm2V5L3JMdd2F7e/5JBYXsR72LTaTeGWKm4kLIyrvyX8pRcC4
XKL3BeIAyhx1VaP1Eoi0NMB6UVwzmgHhrqNZ8hTZdWcUVJL4xbZpZO9Nhp8HNDsB
cMJN7JlYgjqdiJzl1p+rgxoLav0sjshhdnRH9QDhYbXfHNQ16g5NBwjcFx4b7/fx
fDvjkO3xY0DHiFfD+9TgvYO2XGKAAUJL0Irdfm3fdW0xw2Vf72Fbmsvt4Lo6vIWb
3fTBhVSDnRGlWS57to9DIraJa8XzhKF+7PSJt1K310w+d+fzSVWmkWYQeE3IKZSg
lPXLwH8EfhO2lxKhRyx2Gi7xEiNPbpQ2LrzjiqJNmuivhemBUMLnTdsoWCOKLsbo
+79nKPbnIKNW3Lm2qTTk5G8hm1nozNXhVYPTYo2iRAMAINTCvjTsIiZBVOiBlIZv
Gt8zYD3wBSaU1aSbsTvrmMEknSs7Z38YKZAEc+dTzwNK1fupmbbv4odvplR1ZVIJ
yPGuT8gEtXaesNecLU0GVhhcjtrUDZL91qqjUjeDFqQQQXf3Epu4wZrXv/D8s69H
OT9WxT2skxHK0ZW2JO+Mi59hSfgOlPcyniSf7ARXkCtLsz2Hz5dLGcStuuXFf2Ne
MTmZxmOCgcM=
=p2UX
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: