package shim-signed 1.9+0.8-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1480495 reported by Matias Guajardo
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Expired
Low
Unassigned

Bug Description

Everytime I update Ubuntu, there's an error message.

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: shim-signed 1.9+0.8-0ubuntu2
ProcVersionSignature: Ubuntu 3.16.0-45.60~14.04.1-generic 3.16.7-ckt14
Uname: Linux 3.16.0-45-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
Date: Thu Jul 30 23:58:12 2015
DuplicateSignature: package:shim-signed:1.9+0.8-0ubuntu2:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2015-05-20 (72 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
SourcePackage: shim-signed
Title: package shim-signed 1.9+0.8-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Matias Guajardo (mat-gua-bec) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Steve Langasek (vorlon) wrote :

please show the output of the following commands:

which grub-install
apt-cache policy grub2-common

Changed in shim-signed (Ubuntu):
status: New → Incomplete
Revision history for this message
Matias Guajardo (mat-gua-bec) wrote :

/usr/sbin/grub-install (which grub-install)

grub2-common:
  Installed: 2.02~beta2-9ubuntu1.3
  Candidate: 2.02~beta2-9ubuntu1.3
  Version table:
 *** 2.02~beta2-9ubuntu1.3 0
        500 http://cl.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.02~beta2-9 0
        500 http://cl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
(apt-cache policy grub2-common)

Revision history for this message
Steve Langasek (vorlon) wrote :

Ok. That looks reasonable, but the error message shown is:

Setting up shim-signed (1.9+0.8-0ubuntu2) ...
Installing for x86_64-efi platform.
grub-install: error: cannot copy `/usr/share/locale/ja.gmo' to `/boot/grub/locale/ja.mo': Is a directory.

Do you have a file /usr/share/locale/ja.gmo on your system? If so, do you know where it came from?

affects: shim-signed (Ubuntu) → grub2 (Ubuntu)
Revision history for this message
Matias Guajardo (mat-gua-bec) wrote :

Yes, I have it. This file appeared when I tried to install a PSX emulator, specifically PCSX

Revision history for this message
Steve Langasek (vorlon) wrote :

Ok. You should remove the file in question from your system to work around this problem; that's not a normal location for a translation file anyway.

Changed in grub2 (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → Low
Revision history for this message
Phillip Susi (psusi) wrote :

Can you verify exactly which package created /boot/grub/locale/ja.mo as a directory and confirm by reinstalling it?

Changed in grub2 (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for grub2 (Ubuntu) because there has been no activity for 60 days.]

Changed in grub2 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.