[Bug 1766286] Re: curtin.util.ProcessExecutionError: Unexpected error while running command. Command: ['sh', '-c', 'exec "$0" "$@" 2>&1', 'install-grub', '--uefi', '--update-nvram', '/target', '/dev/sda']
sudodus
1766286 at bugs.launchpad.net
Tue Apr 24 17:52:24 UTC 2018
- Previous message (by thread): [Bug 1766286] Re: curtin.util.ProcessExecutionError: Unexpected error while running command. Command: ['sh', '-c', 'exec "$0" "$@" 2>&1', 'install-grub', '--uefi', '--update-nvram', '/target', '/dev/sda']
- Next message (by thread): [Bug 1766286] Re: curtin.util.ProcessExecutionError: Unexpected error while running command. Command: ['sh', '-c', 'exec "$0" "$@" 2>&1', 'install-grub', '--uefi', '--update-nvram', '/target', '/dev/sda']
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Sorry, it is still failing.
Is the following iso file the correct one to use?
$ md5sum bionic-live-server-amd64.iso
70051f7b2125674f1821e7d7674f1609 bionic-live-server-amd64.iso
$ ls -l bionic-live-server-amd64.iso
-rw------- 1 nio nio 845152256 apr 24 06:57 bionic-live-server-amd64.iso
** Attachment added: "curtin-error-logs.tar"
https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1766286/+attachment/5126629/+files/curtin-error-logs.tar
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shim-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1766286
Title:
curtin.util.ProcessExecutionError: Unexpected error while
running command. Command: ['sh', '-c', 'exec "$0" "$@" 2>&1',
'install-grub', '--uefi', '--update-nvram', '/target', '/dev/sda']
Status in shim-signed package in Ubuntu:
Fix Released
Bug description:
It works in the same computer running in BIOS mode, but failed in UEFI
mode
Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False)
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/curtin/commands/main.py", line 201, in main
ret = args.func(args)
File "/usr/lib/python3/dist-packages/curtin/commands/curthooks.py", line 1103, in curthooks
setup_grub(cfg, target)
File "/usr/lib/python3/dist-packages/curtin/commands/curthooks.py", line 407, in setup_grub
join_stdout_err + args + instdevs, env=env, capture=True)
File "/usr/lib/python3/dist-packages/curtin/util.py", line 263, in subp
return _subp(*args, **kwargs)
File "/usr/lib/python3/dist-packages/curtin/util.py", line 131, in _subp
cmd=args)
curtin.util.ProcessExecutionError: Unexpected error while running command.
Command: ['sh', '-c', 'exec "$0" "$@" 2>&1', 'install-grub', '--uefi', '--update-nvram', '/target', '/dev/sda']
Exit code: 1
Reason: -
Stdout: carryover command line params:
curtin uefi: installing grub-efi-amd64 to: /boot/efi
+ echo before grub-install efiboot settings
before grub-install efiboot settings
+ efibootmgr
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 2001,2003,2002
Boot0000* EFI USB Device (JetFlashTranscend 32GB)
Boot0001* EFI Network 0 for IPv6 (70-54-D2-31-33-2D)
Boot0002* EFI Network 0 for IPv4 (70-54-D2-31-33-2D)
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network
+ dpkg-reconfigure grub-efi-amd64
Replacing config file /etc/default/grub with new version
Processing triggers for shim-signed (1.34.4+13-0ubuntu2) ...
No MOK found.
dpkg: error processing package shim-signed (--configure):
installed shim-signed package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
shim-signed
failed to install grub!
Stderr: ''
Unexpected error while running command.
Command: ['sh', '-c', 'exec "$0" "$@" 2>&1', 'install-grub', '--uefi', '--update-nvram', '/target', '/dev/sda']
Exit code: 1
Reason: -
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-server 1.417
ProcVersionSignature: Ubuntu 4.15.0-15.16-generic 4.15.15
Uname: Linux 4.15.0-15-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu6
Architecture: amd64
CasperVersion: 1.393
Date: Mon Apr 23 15:31:41 2018
LiveMediaBuild: Ubuntu-Server 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180421.1)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-meta
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1766286/+subscriptions
- Previous message (by thread): [Bug 1766286] Re: curtin.util.ProcessExecutionError: Unexpected error while running command. Command: ['sh', '-c', 'exec "$0" "$@" 2>&1', 'install-grub', '--uefi', '--update-nvram', '/target', '/dev/sda']
- Next message (by thread): [Bug 1766286] Re: curtin.util.ProcessExecutionError: Unexpected error while running command. Command: ['sh', '-c', 'exec "$0" "$@" 2>&1', 'install-grub', '--uefi', '--update-nvram', '/target', '/dev/sda']
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the foundations-bugs
mailing list