package shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1736080 reported by Michele Polese
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
shim-signed (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

See https://askubuntu.com/questions/948315/error-processing-package-shim-signed

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-101.124-generic 4.4.95
Uname: Linux 4.4.0-101-generic x86_64
NonfreeKernelModules: vtsspp sep4_1 socperf2_0 pax
.proc.sys.kernel.moksbstate_disabled: 0
ApportVersion: 2.20.1-0ubuntu2.13
Architecture: amd64
BootEFIContents:
 fw
 fwupx64.efi
Date: Sat Dec 2 06:52:44 2017
DpkgHistoryLog:
 Start-Date: 2017-12-02 06:52:36
 Commandline: /usr/bin/unattended-upgrade
 Upgrade: thunderbird-gnome-support:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2, 1:52.5.0+build1-0ubuntu0.16.04.1), thunderbird-locale-en-gb:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2, 1:52.5.0+build1-0ubuntu0.16.04.1), thunderbird-locale-en-us:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2, 1:52.5.0+build1-0ubuntu0.16.04.1), firefox-locale-en:amd64 (57.0+build4-0ubuntu0.16.04.6, 57.0.1+build2-0ubuntu0.16.04.1), firefox-locale-it:amd64 (57.0+build4-0ubuntu0.16.04.6, 57.0.1+build2-0ubuntu0.16.04.1), thunderbird:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2, 1:52.5.0+build1-0ubuntu0.16.04.1), firefox:amd64 (57.0+build4-0ubuntu0.16.04.6, 57.0.1+build2-0ubuntu0.16.04.1), thunderbird-locale-en:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2, 1:52.5.0+build1-0ubuntu0.16.04.1), thunderbird-locale-it:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2, 1:52.5.0+build1-0ubuntu0.16.04.1)
EFITables:
 nov 27 10:15:11 pcsensori34 kernel: efi: EFI v2.40 by American Megatrends
 nov 27 10:15:11 pcsensori34 kernel: efi: ACPI=0x87417000 ACPI 2.0=0x87417000 SMBIOS=0xf05e0 ESRT=0x87dfe598 MPS=0xfcba0
 nov 27 10:15:11 pcsensori34 kernel: esrt: Reserving ESRT space from 0x0000000087dfe598 to 0x0000000087dfe5d0.
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-11-21 (377 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.24
SecureBoot: 6 0 0 0 0
SourcePackage: shim-signed
Title: package shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1 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
Michele Polese (michele-polese) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Steve Langasek (vorlon) wrote :

Your log shows:

Setting up grub-efi-amd64-signed (1.66.14+2.02~beta2-36ubuntu3.14) ...
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.
.
dpkg: error processing package grub-efi-amd64-signed (--configure):

Is there a reason /boot/efi is not mounted on your system? It is always set up as part of the installation of Ubuntu. Please attach /etc/fstab from this system.

Changed in shim-signed (Ubuntu):
status: New → Incomplete
Revision history for this message
Michele Polese (michele-polese) wrote :

Hi,
here it is. I am not very expert on this, I had also posted a question on SE https://askubuntu.com/questions/948315/error-processing-package-shim-signed

polesemi@pcsensori34:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb1 during installation
UUID=8aabde98-3975-4771-908e-a0c42dfe4c96 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sdc1 during installation
#UUID=67E3-17ED /boot/efi vfat umask=0077 0 1
# swap was on /dev/sdb2 during installation
UUID=8a4c567d-5763-4dcb-93e9-2f3e0df5c535 none swap sw 0 0
UUID=8aabde98-3975-4771-908e-a0c42dfe4c96 /boot/efi ext4 defaults 0 1

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1736080] Re: package shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Ok, so the problem is that your /boot/efi entry is commented out.

On Wed, Dec 13, 2017 at 07:28:17AM -0000, Michele Polese wrote:
> # /boot/efi was on /dev/sdc1 during installation
> #UUID=67E3-17ED /boot/efi vfat umask=0077 0 1

Do you know why this is commented out?

What does 'ls -l /etc/fstab' show?

Revision history for this message
Michele Polese (michele-polese) wrote :
Download full text (3.7 KiB)

Hi,
should I un-comment it?

-rw-rw-r-- 1 root root 1218 nov 28 2016 /etc/fstab

2017-12-13 8:52 GMT+01:00 Steve Langasek <email address hidden>:

> Ok, so the problem is that your /boot/efi entry is commented out.
>
> On Wed, Dec 13, 2017 at 07:28:17AM -0000, Michele Polese wrote:
> > # /boot/efi was on /dev/sdc1 during installation
> > #UUID=67E3-17ED /boot/efi vfat umask=0077 0 1
>
> Do you know why this is commented out?
>
> What does 'ls -l /etc/fstab' show?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1736080
>
> Title:
> package shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
> failed to install/upgrade: subprocess installed post-installation
> script returned error exit status 1
>
> Status in shim-signed package in Ubuntu:
> Incomplete
>
> Bug description:
> See https://askubuntu.com/questions/948315/error-processing-package-
> shim-signed
>
> ProblemType: Package
> DistroRelease: Ubuntu 16.04
> Package: shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
> ProcVersionSignature: Ubuntu 4.4.0-101.124-generic 4.4.95
> Uname: Linux 4.4.0-101-generic x86_64
> NonfreeKernelModules: vtsspp sep4_1 socperf2_0 pax
> .proc.sys.kernel.moksbstate_disabled: 0
> ApportVersion: 2.20.1-0ubuntu2.13
> Architecture: amd64
> BootEFIContents:
> fw
> fwupx64.efi
> Date: Sat Dec 2 06:52:44 2017
> DpkgHistoryLog:
> Start-Date: 2017-12-02 06:52:36
> Commandline: /usr/bin/unattended-upgrade
> Upgrade: thunderbird-gnome-support:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2,
> 1:52.5.0+build1-0ubuntu0.16.04.1), thunderbird-locale-en-gb:amd64
> (1:52.4.0+build1-0ubuntu0.16.04.2, 1:52.5.0+build1-0ubuntu0.16.04.1),
> thunderbird-locale-en-us:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2,
> 1:52.5.0+build1-0ubuntu0.16.04.1), firefox-locale-en:amd64
> (57.0+build4-0ubuntu0.16.04.6, 57.0.1+build2-0ubuntu0.16.04.1),
> firefox-locale-it:amd64 (57.0+build4-0ubuntu0.16.04.6,
> 57.0.1+build2-0ubuntu0.16.04.1), thunderbird:amd64
> (1:52.4.0+build1-0ubuntu0.16.04.2, 1:52.5.0+build1-0ubuntu0.16.04.1),
> firefox:amd64 (57.0+build4-0ubuntu0.16.04.6, 57.0.1+build2-0ubuntu0.16.04.1),
> thunderbird-locale-en:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2,
> 1:52.5.0+build1-0ubuntu0.16.04.1), thunderbird-locale-it:amd64
> (1:52.4.0+build1-0ubuntu0.16.04.2, 1:52.5.0+build1-0ubuntu0.16.04.1)
> EFITables:
> nov 27 10:15:11 pcsensori34 kernel: efi: EFI v2.40 by American
> Megatrends
> nov 27 10:15:11 pcsensori34 kernel: efi: ACPI=0x87417000 ACPI
> 2.0=0x87417000 SMBIOS=0xf05e0 ESRT=0x87dfe598 MPS=0xfcba0
> nov 27 10:15:11 pcsensori34 kernel: esrt: Reserving ESRT space from
> 0x0000000087dfe598 to 0x0000000087dfe5d0.
> ErrorMessage: subprocess installed post-installation script returned
> error exit status 1
> InstallationDate: Installed on 2016-11-21 (377 days ago)
> InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64
> (20160719)
> RelatedPackageVersions:
> dpkg 1.18.4ubuntu1.2
> apt 1.2.24
> SecureBoot: 6 0 0 0 0
> SourcePackage: shim-signed
> Title: package shim-si...

Read more...

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

Yes, you should un comment it, then run: sudo mount /boot/efi.

Revision history for this message
Michele Polese (michele-polese) wrote :
Download full text (3.5 KiB)

Hi,
I get an error when trying to mount the line with UUID=67E3-17ED.
As you can see from the /etc/fstab that I posted, the last line is a
/boot/efi line with a different UUID.

2017-12-13 9:23 GMT+01:00 Steve Langasek <email address hidden>:

> Yes, you should un comment it, then run: sudo mount /boot/efi.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1736080
>
> Title:
> package shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
> failed to install/upgrade: subprocess installed post-installation
> script returned error exit status 1
>
> Status in shim-signed package in Ubuntu:
> Incomplete
>
> Bug description:
> See https://askubuntu.com/questions/948315/error-processing-package-
> shim-signed
>
> ProblemType: Package
> DistroRelease: Ubuntu 16.04
> Package: shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
> ProcVersionSignature: Ubuntu 4.4.0-101.124-generic 4.4.95
> Uname: Linux 4.4.0-101-generic x86_64
> NonfreeKernelModules: vtsspp sep4_1 socperf2_0 pax
> .proc.sys.kernel.moksbstate_disabled: 0
> ApportVersion: 2.20.1-0ubuntu2.13
> Architecture: amd64
> BootEFIContents:
> fw
> fwupx64.efi
> Date: Sat Dec 2 06:52:44 2017
> DpkgHistoryLog:
> Start-Date: 2017-12-02 06:52:36
> Commandline: /usr/bin/unattended-upgrade
> Upgrade: thunderbird-gnome-support:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2,
> 1:52.5.0+build1-0ubuntu0.16.04.1), thunderbird-locale-en-gb:amd64
> (1:52.4.0+build1-0ubuntu0.16.04.2, 1:52.5.0+build1-0ubuntu0.16.04.1),
> thunderbird-locale-en-us:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2,
> 1:52.5.0+build1-0ubuntu0.16.04.1), firefox-locale-en:amd64
> (57.0+build4-0ubuntu0.16.04.6, 57.0.1+build2-0ubuntu0.16.04.1),
> firefox-locale-it:amd64 (57.0+build4-0ubuntu0.16.04.6,
> 57.0.1+build2-0ubuntu0.16.04.1), thunderbird:amd64
> (1:52.4.0+build1-0ubuntu0.16.04.2, 1:52.5.0+build1-0ubuntu0.16.04.1),
> firefox:amd64 (57.0+build4-0ubuntu0.16.04.6, 57.0.1+build2-0ubuntu0.16.04.1),
> thunderbird-locale-en:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2,
> 1:52.5.0+build1-0ubuntu0.16.04.1), thunderbird-locale-it:amd64
> (1:52.4.0+build1-0ubuntu0.16.04.2, 1:52.5.0+build1-0ubuntu0.16.04.1)
> EFITables:
> nov 27 10:15:11 pcsensori34 kernel: efi: EFI v2.40 by American
> Megatrends
> nov 27 10:15:11 pcsensori34 kernel: efi: ACPI=0x87417000 ACPI
> 2.0=0x87417000 SMBIOS=0xf05e0 ESRT=0x87dfe598 MPS=0xfcba0
> nov 27 10:15:11 pcsensori34 kernel: esrt: Reserving ESRT space from
> 0x0000000087dfe598 to 0x0000000087dfe5d0.
> ErrorMessage: subprocess installed post-installation script returned
> error exit status 1
> InstallationDate: Installed on 2016-11-21 (377 days ago)
> InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64
> (20160719)
> RelatedPackageVersions:
> dpkg 1.18.4ubuntu1.2
> apt 1.2.24
> SecureBoot: 6 0 0 0 0
> SourcePackage: shim-signed
> Title: package shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
> failed to install/upgrade: subprocess installed post-installation script
> returned error exit status 1
> UpgradeStatus: No upgr...

Read more...

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

Oh, I overlooked this line earlier:

UUID=8aabde98-3975-4771-908e-a0c42dfe4c96 /boot/efi ext4 defaults 0 1

an EFI System Partition *must* be a vfat partition. I don't know how you came to have this as an ext4 mountpoint. Does 'sudo fdisk -l' show partitions of type 'EF' (or 'EF00', if GPT) on your system? If you're booting under UEFI, this partition must be there; you just need to find it, and put it into your fstab in place of the current entries.

Revision history for this message
Michele Polese (michele-polese) wrote :
Download full text (5.0 KiB)

Hi Steve,
thanks again for your help.
The output of fdisk -l is

polesemi@pcsensori34:~$ sudo fdisk -l
Disk /dev/sda: 465,8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x56c6d472

Device Boot Start End Sectors Size Id Type
/dev/sda1 63 80324 80262 39,2M de Dell Utility
/dev/sda2 * 81920 24686591 24604672 11,8G 27 Hidden NTFS WinRE
/dev/sda3 24686592 976771071 952084480 454G 7 HPFS/NTFS/exFAT

Partition 1 does not start on physical sector boundary.

Disk /dev/sdb: 223,6 GiB, 240057409536 bytes, 468862128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: BE6DDD10-7853-4A19-AC12-29FF15DB3E8F

Device Start End Sectors Size Type
/dev/sdb1 413696 453236735 452823040 215,9G Linux filesystem
/dev/sdb2 453236736 468860927 15624192 7,5G Linux swap
/dev/sdb3 2048 413695 411648 201M EFI System

Partition table entries are not in disk order.

2017-12-13 17:56 GMT+01:00 Steve Langasek <email address hidden>:

> Oh, I overlooked this line earlier:
>
> UUID=8aabde98-3975-4771-908e-a0c42dfe4c96 /boot/efi ext4
> defaults 0 1
>
> an EFI System Partition *must* be a vfat partition. I don't know how
> you came to have this as an ext4 mountpoint. Does 'sudo fdisk -l' show
> partitions of type 'EF' (or 'EF00', if GPT) on your system? If you're
> booting under UEFI, this partition must be there; you just need to find
> it, and put it into your fstab in place of the current entries.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1736080
>
> Title:
> package shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
> failed to install/upgrade: subprocess installed post-installation
> script returned error exit status 1
>
> Status in shim-signed package in Ubuntu:
> Incomplete
>
> Bug description:
> See https://askubuntu.com/questions/948315/error-processing-package-
> shim-signed
>
> ProblemType: Package
> DistroRelease: Ubuntu 16.04
> Package: shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
> ProcVersionSignature: Ubuntu 4.4.0-101.124-generic 4.4.95
> Uname: Linux 4.4.0-101-generic x86_64
> NonfreeKernelModules: vtsspp sep4_1 socperf2_0 pax
> .proc.sys.kernel.moksbstate_disabled: 0
> ApportVersion: 2.20.1-0ubuntu2.13
> Architecture: amd64
> BootEFIContents:
> fw
> fwupx64.efi
> Date: Sat Dec 2 06:52:44 2017
> DpkgHistoryLog:
> Start-Date: 2017-12-02 06:52:36
> Commandline: /usr/bin/unattended-upgrade
> Upgrade: thunderbird-gnome-support:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2,
> 1:52.5.0+build1-0ubuntu0.16.04.1), thunderbird-locale-en-gb:amd64
> (1:52.4.0+build1-0ubuntu0.16.04.2, 1:52.5.0+build1-0ubuntu0.16.04.1),
> thunderbird-locale-en-us:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2,
> 1:52.5...

Read more...

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

OK, this is the EFI partition:

/dev/sdb3 2048 413695 411648 201M EFI System

You will want to grab the UUID of this current EFI partition (the output of 'sudo blkid -ovalue -sUUID /dev/sdb3') and substitute this value into the line in /etc/fstab.

Revision history for this message
Michele Polese (michele-polese) wrote :
Download full text (3.7 KiB)

This fixed it. Thank you very much!
How's the /etc/fstab generated? Just to know if it's my fault for the wrong
configuration or something was messed up during the setup.
Thanks,
Michele

2017-12-13 19:03 GMT+01:00 Steve Langasek <email address hidden>:

> OK, this is the EFI partition:
>
> /dev/sdb3 2048 413695 411648 201M EFI System
>
> You will want to grab the UUID of this current EFI partition (the output
> of 'sudo blkid -ovalue -sUUID /dev/sdb3') and substitute this value into
> the line in /etc/fstab.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1736080
>
> Title:
> package shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
> failed to install/upgrade: subprocess installed post-installation
> script returned error exit status 1
>
> Status in shim-signed package in Ubuntu:
> Incomplete
>
> Bug description:
> See https://askubuntu.com/questions/948315/error-processing-package-
> shim-signed
>
> ProblemType: Package
> DistroRelease: Ubuntu 16.04
> Package: shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
> ProcVersionSignature: Ubuntu 4.4.0-101.124-generic 4.4.95
> Uname: Linux 4.4.0-101-generic x86_64
> NonfreeKernelModules: vtsspp sep4_1 socperf2_0 pax
> .proc.sys.kernel.moksbstate_disabled: 0
> ApportVersion: 2.20.1-0ubuntu2.13
> Architecture: amd64
> BootEFIContents:
> fw
> fwupx64.efi
> Date: Sat Dec 2 06:52:44 2017
> DpkgHistoryLog:
> Start-Date: 2017-12-02 06:52:36
> Commandline: /usr/bin/unattended-upgrade
> Upgrade: thunderbird-gnome-support:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2,
> 1:52.5.0+build1-0ubuntu0.16.04.1), thunderbird-locale-en-gb:amd64
> (1:52.4.0+build1-0ubuntu0.16.04.2, 1:52.5.0+build1-0ubuntu0.16.04.1),
> thunderbird-locale-en-us:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2,
> 1:52.5.0+build1-0ubuntu0.16.04.1), firefox-locale-en:amd64
> (57.0+build4-0ubuntu0.16.04.6, 57.0.1+build2-0ubuntu0.16.04.1),
> firefox-locale-it:amd64 (57.0+build4-0ubuntu0.16.04.6,
> 57.0.1+build2-0ubuntu0.16.04.1), thunderbird:amd64
> (1:52.4.0+build1-0ubuntu0.16.04.2, 1:52.5.0+build1-0ubuntu0.16.04.1),
> firefox:amd64 (57.0+build4-0ubuntu0.16.04.6, 57.0.1+build2-0ubuntu0.16.04.1),
> thunderbird-locale-en:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2,
> 1:52.5.0+build1-0ubuntu0.16.04.1), thunderbird-locale-it:amd64
> (1:52.4.0+build1-0ubuntu0.16.04.2, 1:52.5.0+build1-0ubuntu0.16.04.1)
> EFITables:
> nov 27 10:15:11 pcsensori34 kernel: efi: EFI v2.40 by American
> Megatrends
> nov 27 10:15:11 pcsensori34 kernel: efi: ACPI=0x87417000 ACPI
> 2.0=0x87417000 SMBIOS=0xf05e0 ESRT=0x87dfe598 MPS=0xfcba0
> nov 27 10:15:11 pcsensori34 kernel: esrt: Reserving ESRT space from
> 0x0000000087dfe598 to 0x0000000087dfe5d0.
> ErrorMessage: subprocess installed post-installation script returned
> error exit status 1
> InstallationDate: Installed on 2016-11-21 (377 days ago)
> InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64
> (20160719)
> RelatedPackageVersions:
> dpkg 1.18.4ubuntu1.2
> apt 1.2.24
> SecureBoot: 6 0 0 0 0
> SourcePackage: shim-signed
> ...

Read more...

Changed in shim-signed (Ubuntu):
status: Incomplete → Invalid
status: Invalid → Incomplete
Revision history for this message
Steve Langasek (vorlon) wrote :

On Thu, Dec 14, 2017 at 07:26:35AM -0000, Michele Polese wrote:
> This fixed it. Thank you very much!
> How's the /etc/fstab generated? Just to know if it's my fault for the wrong
> configuration or something was messed up during the setup.

The /etc/fstab is generated at boot time. The line that you had uncommented
for /boot/efi was definitely not produced by the Ubuntu installer - even if
there were a bug that produced such a line, the installation would have
failed with that line present and the system would not have been bootable
afterwards.

Also, your bug report shows an installation date of 2016-11-21, and 'ls -l
/etc/fstab' showed a timestamp on the file of November 28.

So this must have been modified after the installation. There is no
software in the standard Ubuntu install which would have made this change.
It's possible there is some package present in the Ubuntu universe archive
which would make such a change - if so, we would be interested to know what
package that was, so that we could fix it. Or you might have installed
third-party software which made this change, or followed some guide on the
Internet telling you to make such changes to the file.

If you do have any ideas how this happened, we would appreciate any
information you could provide, since it's a fairly common report that
/boot/efi is not correctly configured in /etc/fstab but we don't know why
users are ending up in this situation.

Revision history for this message
Michele Polese (michele-polese) wrote :
Download full text (5.1 KiB)

Hi,
thanks for the explanation.
Actually, I has some troubles with the initial dual boot setup of the
machine (which is now single boot into Ubuntu), so this is probably my
fault!
As for th Nov. 28 timestamp, I added some lines to the /etc/fstab to mount
network disks, which I omitted from the prev report since they were
unrelated.
Thanks for your help and your thorough explanations.
Best,
Michele

2017-12-14 22:39 GMT+01:00 Steve Langasek <email address hidden>:

> On Thu, Dec 14, 2017 at 07:26:35AM -0000, Michele Polese wrote:
> > This fixed it. Thank you very much!
> > How's the /etc/fstab generated? Just to know if it's my fault for the
> wrong
> > configuration or something was messed up during the setup.
>
> The /etc/fstab is generated at boot time. The line that you had
> uncommented
> for /boot/efi was definitely not produced by the Ubuntu installer - even if
> there were a bug that produced such a line, the installation would have
> failed with that line present and the system would not have been bootable
> afterwards.
>
> Also, your bug report shows an installation date of 2016-11-21, and 'ls -l
> /etc/fstab' showed a timestamp on the file of November 28.
>
> So this must have been modified after the installation. There is no
> software in the standard Ubuntu install which would have made this change.
> It's possible there is some package present in the Ubuntu universe archive
> which would make such a change - if so, we would be interested to know what
> package that was, so that we could fix it. Or you might have installed
> third-party software which made this change, or followed some guide on the
> Internet telling you to make such changes to the file.
>
> If you do have any ideas how this happened, we would appreciate any
> information you could provide, since it's a fairly common report that
> /boot/efi is not correctly configured in /etc/fstab but we don't know why
> users are ending up in this situation.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1736080
>
> Title:
> package shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
> failed to install/upgrade: subprocess installed post-installation
> script returned error exit status 1
>
> Status in shim-signed package in Ubuntu:
> Incomplete
>
> Bug description:
> See https://askubuntu.com/questions/948315/error-processing-package-
> shim-signed
>
> ProblemType: Package
> DistroRelease: Ubuntu 16.04
> Package: shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
> ProcVersionSignature: Ubuntu 4.4.0-101.124-generic 4.4.95
> Uname: Linux 4.4.0-101-generic x86_64
> NonfreeKernelModules: vtsspp sep4_1 socperf2_0 pax
> .proc.sys.kernel.moksbstate_disabled: 0
> ApportVersion: 2.20.1-0ubuntu2.13
> Architecture: amd64
> BootEFIContents:
> fw
> fwupx64.efi
> Date: Sat Dec 2 06:52:44 2017
> DpkgHistoryLog:
> Start-Date: 2017-12-02 06:52:36
> Commandline: /usr/bin/unattended-upgrade
> Upgrade: thunderbird-gnome-support:amd64 (1:52.4.0+build1-0ubuntu0.16.04.2,
> 1:52.5.0+build1-0ubuntu0.16.04.1), thunderbird-locale-en-gb:amd64
> (1:52.4.0...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in shim-signed (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.