LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-25-2018, 10:22 PM   #1
zealbert
Member
 
Registered: Nov 2014
Posts: 95

Rep: Reputation: Disabled
Mint 19 installation snags


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
 
Old 10-26-2018, 08:04 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by zealbert View Post
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:

Code:
sudo apt-get clean
Let us know what happens...
 
Old 10-26-2018, 08:15 AM   #3
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
The upgrade appears not to have been entirely successful.

Please paste, within CODE tags (https://www.linuxquestions.org/quest...og.php?b=36313) and/or with the line of equals signs removed, the output from:

Code:
dpkg -l | grep -v "^ii"
 
Old 10-26-2018, 08:17 AM   #4
zealbert
Member
 
Registered: Nov 2014
Posts: 95

Original Poster
Rep: Reputation: Disabled
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

This is all I got. Hope it helps!
 
Old 10-26-2018, 08:22 AM   #5
zealbert
Member
 
Registered: Nov 2014
Posts: 95

Original Poster
Rep: Reputation: Disabled
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.
 
Old 10-26-2018, 08:24 AM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Thanks for that output (please also see my post before for more output that would be useful).

From your output, I think the key line is:
Code:
grub-install: error: cannot find EFI directory.
Grub expects to find the EFI directory at /boot/efi, so let's check to see if it is mounted:

Code:
mount | grep /boot
Did you do an in-situ upgrade from Mint 18.3 to Mint 19 or a fresh install?
 
Old 10-26-2018, 08:37 AM   #7
zealbert
Member
 
Registered: Nov 2014
Posts: 95

Original Poster
Rep: Reputation: Disabled
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.
 
Old 10-26-2018, 08:38 AM   #8
zealbert
Member
 
Registered: Nov 2014
Posts: 95

Original Poster
Rep: Reputation: Disabled
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
 
Old 10-26-2018, 08:40 AM   #9
zealbert
Member
 
Registered: Nov 2014
Posts: 95

Original Poster
Rep: Reputation: Disabled
Sorry, did you want me to type this in a terminal?
mount | grep /boot
I did that, and nothing happened.
 
Old 10-26-2018, 08:46 AM   #10
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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.
 
Old 10-26-2018, 08:48 AM   #11
zealbert
Member
 
Registered: Nov 2014
Posts: 95

Original Poster
Rep: Reputation: Disabled
Yes, I will. Thanks for your help!
 
Old 10-26-2018, 08:50 AM   #12
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by zealbert View Post
Yes, I will. Thanks for your help!
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.
 
Old 10-27-2018, 06:53 AM   #13
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Perhaps this will help

Looking for the EFI partition:
Code:
~$ 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)
Entry in my /etc/fstab for EFI partition:
Code:
UUID=30B5-AFE3                            /boot/efi     vfat    umask=0077,shortname=winnt 0 2
 
1 members found this post helpful.
Old 10-27-2018, 08:42 AM   #14
zealbert
Member
 
Registered: Nov 2014
Posts: 95

Original Poster
Rep: Reputation: Disabled
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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does the installation of Mint sometimes not say Install Linux Mint alongside them bscho Linux Mint 4 08-29-2017 09:21 AM
re installation of grub in Linux mint after installing xp over mint sampad.sarangi General 1 01-15-2008 05:37 PM
SuSE 10 snags on boot lectraplayer SUSE / openSUSE 4 05-27-2007 08:29 PM
nvidia driver and other snags! bigjohn Mandriva 7 04-28-2006 08:23 AM
AC97 snags - again bigjohn Linux - Newbie 1 10-28-2002 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration