grub-common should be a text file not random binary garbage. 
You can recover that file from the deb archive. Open a terminal and run the 
following commands:
$ mkdir /tmp/grub-common
$ cd /tmp/grub-common
$ aptitude download grub-common
$ dpkg -x grub-common-*.deb .

The file you're looking for is in ./etc/init.d/grub-common

Backup then replace /etc/init.d/grub-common with the later.

Your filesystem is probably corrupted, you should run a filesystem
check.

-- 
package grub-common 1.97~beta4-1ubuntu4.1 failed to install/upgrade: 
/etc/init.d/grub-common: 1: Syntax error: "|" unexpected
https://bugs.launchpad.net/bugs/568864
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to