Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does anybody know what this means: it appears each time I try to update, after I get notified by the update manager. I just upgraded from Mint 18.3 to Mint 19 (Mate, 64 bit)
E: grub-efi-amd64-signed: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
E: shim-signed: dependency problems - leaving unconfigured
I'm now having trouble re-installing my VPN, keep getting installation error messages, which mention this "efi" thing; could it be related?
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by zealbert
Does anybody know what this means: it appears each time I try to update, after I get notified by the update manager. I just upgraded from Mint 18.3 to Mint 19 (Mate, 64 bit)
E: grub-efi-amd64-signed: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
E: shim-signed: dependency problems - leaving unconfigured
I'm now having trouble re-installing my VPN, keep getting installation error messages, which mention this "efi" thing; could it be related?
Thank you
I'm sure that's not the whole error message you got - it helps to post the whole message, not just a few snippets of it.
Anyway, from the error messages you have posted and what I'm suspecting; it seems there has been a problem with the grub-efi-amd64-signed package for whatever reason and the shim-signed package depends upon it.
I would see if flushing apt's cache helps or not. Run the following in a terminal:
I am sorry, but that really is the whole message I am getting; a little window opens, and that's what is there. I copied and pasted the whole thing.
When I closed it, another error message window appeared; maybe I should have copied that too. I will next time there is an update.
The command you gave me, sudo apt-get clean didn't result in anything. It just asked for my password, which I entered, then nothing. Just back to the cursor.
Oh, I just got another update, and here it is: So first, I get this, which I sent you before:
E: grub-efi-amd64-signed: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
E: shim-signed: dependency problems - leaving unconfigured
Then, I get a message "not all changes and updates succeeded", and I expanded the details, and copied and pasted it, as below:
dpkg: error processing package shim-signed (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
grub-efi-amd64-signed
shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up grub-efi-amd64-signed (1.93.8+2.02-2ubuntu8.7) ...
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of shim-signed:
shim-signed depends on grub-efi-amd64-signed; however:
Package grub-efi-amd64-signed is not configured yet.
dpkg: error processing package shim-signed (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
grub-efi-amd64-signed
shim-signed
Hydrurga,
Sorry, I didn't understand your instructions. Do I just paste what you wrote in a terminal? I am not savvy at all, so please walk me through this step by step, I'd appreciate it.
Also, I just tried to install soundkonverter, and got this message:
E: grub-efi-amd64-signed: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
E: shim-signed: dependency problems - leaving unconfigured
I did an install via a usb stick, over my mint 18.3. I didn't do it, someone who knows quite a bit about all this did it.
I will try what you suggested now.
And this, after it said "not all changes were applied":
Setting up soundkonverter (3.0.1-1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for dbus (1.12.2-1ubuntu1) ...
Errors were encountered while processing:
grub-efi-amd64-signed
shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up grub-efi-amd64-signed (1.93.8+2.02-2ubuntu8.7) ...
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of shim-signed:
shim-signed depends on grub-efi-amd64-signed; however:
Package grub-efi-amd64-signed is not configured yet.
dpkg: error processing package shim-signed (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
grub-efi-amd64-signed
shim-signed
Ok. It appears that your EFI partition isn't mounted. I'm not of much use to you as I have a BIOS setup, not a UEFI one. Hopefully someone else with a UEFI setup can talk you through how to determine where your EFI partition is and how to mount it.
Can you contact the person who installed your system for support? It looks like they improperly installed the system.
Do let us know how you get on. If the person who set it up is unable to help and no-one with a UEFI system here steps up to the plate, I will help you to get it sorted - it's just that I will be flying a little blind.
~$ sudo fdisk -l
Disk /dev/sdb: 1.8 TiB, 2000398931968 bytes, 3907029164 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: F972E6E8-5C1E-4A0E-8D9C-74B85B4AC0F7
Device Start End Sectors Size Type
/dev/sdb1 34 262177 262144 128M Microsoft reserved
/dev/sdb2 264192 1288191 1024000 500M Microsoft basic data
/dev/sdb3 1288192 1492991 204800 100M Microsoft basic data
/dev/sdb4 1492992 2516991 1024000 500M EFI System
/dev/sdb5 2516992 104916991 102400000 48.8G Microsoft basic data
/dev/sdb6 104916992 145876991 40960000 19.5G Linux filesystem
/dev/sdb7 145876992 186836991 40960000 19.5G Linux filesystem
To see where and how the EFI partition is mounted:
Code:
~$ mount | grep sdb4
/dev/sdb4 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro)
Thanks for responding!
The person who had installed Mint 19 came back, and re-did it with the EFI partition. Everything is working fine now. Thanks for everyone's help!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.