LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-10-2023, 01:21 PM   #16
Adil_uk
LQ Newbie
 
Registered: Feb 2005
Location: London
Distribution: Auditor
Posts: 25

Rep: Reputation: 0

Hi Breadtrain, sorry been busy at work.

Try this.

sudo apt install efibootmgr -f
 
Old 05-10-2023, 01:46 PM   #17
Adil_uk
LQ Newbie
 
Registered: Feb 2005
Location: London
Distribution: Auditor
Posts: 25

Rep: Reputation: 0
If that didn't not solve the issue. Try this command one at a time. Paste any output from these commands here pls.

sudo apt-get install grub-efi
sudo apt-get autoremove
sudo update-grub
 
Old 05-11-2023, 03:09 AM   #18
breadtrain
LQ Newbie
 
Registered: May 2023
Location: UK
Distribution: Ubuntu Studio 22.04
Posts: 12

Original Poster
Rep: Reputation: 0
sudo apt install efibootmgr -f

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
efibootmgr is already the newest version (17-1ubuntu2).
efibootmgr set to manually installed.
The following packages were automatically installed and are no longer required:
dvdauthor fonts-adf-oldania fonts-beteckna fonts-summersby gimp-help-common libdap27 libepsilon1 libflashrom1 libftdi1-2 libhwy0 libicu67 libjxl libktorrent-l10n libllvm13:i386 liblua5.3-0 libpano13-3 libpano13-bin libwmf0.2-7 libx265-192 linux-headers-5.15.0-70-lowlatency
linux-headers-5.19.0-1018-lowlatency linux-image-5.15.0-69-lowlatency linux-image-5.19.0-1021-lowlatency linux-lowlatency-headers-5.15.0-69 linux-lowlatency-headers-5.15.0-70 linux-lowlatency-hwe-5.19-headers-5.19.0-1018 linux-modules-5.15.0-69-lowlatency
linux-modules-5.19.0-1021-lowlatency lsp-plugins-vst pdfshuffler python3-altgraph python3-astor python3-easywebdav python3-funcparserlib python3-gnupg python3-macholib python3-pefile python3-pyelftools python3-rply tcl-tls tcllib xul-ext-ubufox
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 17 not to upgrade.
 
Old 05-11-2023, 03:13 AM   #19
breadtrain
LQ Newbie
 
Registered: May 2023
Location: UK
Distribution: Ubuntu Studio 22.04
Posts: 12

Original Poster
Rep: Reputation: 0
sudo apt-get install grub-efi
sudo apt-get autoremove
sudo update-grub

steve-ubuntu@steveubuntu-desktop:~$ sudo apt-get install grub-efi
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
dvdauthor fonts-adf-oldania fonts-beteckna fonts-summersby gimp-help-common libdap27 libepsilon1 libflashrom1 libftdi1-2 libhwy0 libicu67 libjxl libktorrent-l10n libllvm13:i386 liblua5.3-0 libpano13-3 libpano13-bin libwmf0.2-7 libx265-192 linux-headers-5.15.0-70-lowlatency
linux-headers-5.19.0-1018-lowlatency linux-image-5.15.0-69-lowlatency linux-image-5.19.0-1021-lowlatency linux-lowlatency-headers-5.15.0-69 linux-lowlatency-headers-5.15.0-70 linux-lowlatency-hwe-5.19-headers-5.19.0-1018 linux-modules-5.15.0-69-lowlatency
linux-modules-5.19.0-1021-lowlatency lsp-plugins-vst pdfshuffler python3-altgraph python3-astor python3-easywebdav python3-funcparserlib python3-gnupg python3-macholib python3-pefile python3-pyelftools python3-rply tcl-tls tcllib xul-ext-ubufox
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
grub-efi-amd64
The following packages will be REMOVED
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed
grub-efi grub-efi-amd64
0 to upgrade, 2 to newly install, 2 to remove and 17 not to upgrade.
Need to get 49.3 kB of archives.
After this operation, 419 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://gb.archive.ubuntu.com/ubuntu jammy-updates/main amd64 grub-efi-amd64 amd64 2.06-2ubuntu14.1 [47.1 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu jammy-updates/main amd64 grub-efi amd64 2.06-2ubuntu7.1 [2,234 B]
Fetched 49.3 kB in 0s (588 kB/s)
Preconfiguring packages ...
(Reading database ... 734752 files and directories currently installed.)
Removing grub-gfxpayload-lists (0.7) ...
dpkg: grub-pc: dependency problems, but removing anyway as you requested:
grub-efi-amd64-signed depends on grub-efi-amd64 | grub-pc; however:
Package grub-efi-amd64 is not installed.
Package grub-pc is to be removed.

Removing grub-pc (2.06-2ubuntu7.1) ...
Selecting previously unselected package grub-efi-amd64.
(Reading database ... 734730 files and directories currently installed.)
Preparing to unpack .../grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb ...
Unpacking grub-efi-amd64 (2.06-2ubuntu14.1) ...
Selecting previously unselected package grub-efi.
Preparing to unpack .../grub-efi_2.06-2ubuntu7.1_amd64.deb ...
Unpacking grub-efi (2.06-2ubuntu7.1) ...
Setting up grub-efi-amd64 (2.06-2ubuntu14.1) ...
Installing grub to /boot/efi.
Installing for x86_64-efi platform.
Installation finished. No error reported.
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-1023-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1023-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1023-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1023-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1022-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1022-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1021-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1021-lowlatency
Found linux image: /boot/vmlinuz-5.15.0-71-lowlatency
Found initrd image: /boot/initrd.img-5.15.0-71-lowlatency
Found linux image: /boot/vmlinuz-5.15.0-69-lowlatency
Found initrd image: /boot/initrd.img-5.15.0-69-lowlatency
Found linux image: /boot/vmlinuz-5.11.0-44-lowlatency
Found initrd image: /boot/initrd.img-5.11.0-44-lowlatency
Found linux image: /boot/vmlinuz-5.11.0-22-lowlatency
Found initrd image: /boot/initrd.img-5.11.0-22-lowlatency
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Setting up grub-efi (2.06-2ubuntu7.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for shim-signed (1.51.3+15.7-0ubuntu1) ...
Secure Boot not enabled on this system.
steve-ubuntu@steveubuntu-desktop:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED
dvdauthor fonts-adf-oldania fonts-beteckna fonts-summersby gimp-help-common libdap27 libepsilon1 libflashrom1 libftdi1-2 libhwy0 libicu67 libjxl libktorrent-l10n libllvm13:i386 liblua5.3-0 libpano13-3 libpano13-bin libwmf0.2-7 libx265-192 linux-headers-5.15.0-70-lowlatency
linux-headers-5.19.0-1018-lowlatency linux-image-5.15.0-69-lowlatency linux-image-5.19.0-1021-lowlatency linux-lowlatency-headers-5.15.0-69 linux-lowlatency-headers-5.15.0-70 linux-lowlatency-hwe-5.19-headers-5.19.0-1018 linux-modules-5.15.0-69-lowlatency
linux-modules-5.19.0-1021-lowlatency lsp-plugins-vst pdfshuffler python3-altgraph python3-astor python3-easywebdav python3-funcparserlib python3-gnupg python3-macholib python3-pefile python3-pyelftools python3-rply tcl-tls tcllib xul-ext-ubufox
0 to upgrade, 0 to newly install, 42 to remove and 17 not to upgrade.
After this operation, 1,596 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 734738 files and directories currently installed.)
Removing dvdauthor (0.7.2-1build2) ...
Removing fonts-adf-oldania (0.20190904-2) ...
Removing fonts-beteckna (0.5-3) ...
Removing fonts-summersby (1.007-12) ...
dpkg: warning: while removing fonts-summersby, directory '/usr/share/fonts/truetype/summersby' not empty so not removed
Removing gimp-help-common (2.10.0-1) ...
Removing libdap27:amd64 (3.20.9-1) ...
Removing libepsilon1:amd64 (0.9.2+dfsg-5) ...
Removing libflashrom1:amd64 (1.2-5build1) ...
Removing libftdi1-2:amd64 (1.5-5build3) ...
Removing libjxl:amd64 (0.7.0-20220426.105500-0xiota0~ubuntu22.04) ...
Removing libhwy0:amd64 (0.16.0-1) ...
Removing libicu67:amd64 (67.1-7ubuntu1) ...
Removing libktorrent-l10n (21.12.3-0ubuntu1) ...
Removing libllvm13:i386 (1:13.0.1-2ubuntu2.1) ...
Removing liblua5.3-0:amd64 (5.3.6-1build1) ...
Removing libpano13-bin (2.9.20~rc3+dfsg-1) ...
Removing libpano13-3:amd64 (2.9.20~rc3+dfsg-1) ...
Removing libwmf0.2-7:amd64 (0.2.12-5ubuntu1) ...
Removing libx265-192:amd64 (3.4-2) ...
Removing linux-headers-5.15.0-70-lowlatency (5.15.0-70.77) ...
dpkg: warning: while removing linux-headers-5.15.0-70-lowlatency, directory '/lib/modules/5.15.0-70-lowlatency' not empty so not removed
Removing linux-headers-5.19.0-1018-lowlatency (5.19.0-1018.19~22.04.1) ...
dpkg: warning: while removing linux-headers-5.19.0-1018-lowlatency, directory '/lib/modules/5.19.0-1018-lowlatency' not empty so not removed
Removing linux-image-5.19.0-1021-lowlatency (5.19.0-1021.22~22.04.1) ...
/etc/kernel/prerm.d/dkms:
dkms: removing: v4l2loopback 0.12.7 (5.19.0-1021-lowlatency) (x86_64)
Module v4l2loopback-0.12.7 for kernel 5.19.0-1021-lowlatency (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

v4l2loopback.ko:
- Uninstallation
- Deleting from: /lib/modules/5.19.0-1021-lowlatency/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod....
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.19.0-1021-lowlatency
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-1023-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1023-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1023-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1023-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1022-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1022-lowlatency
Found linux image: /boot/vmlinuz-5.15.0-71-lowlatency
Found initrd image: /boot/initrd.img-5.15.0-71-lowlatency
Found linux image: /boot/vmlinuz-5.15.0-69-lowlatency
Found initrd image: /boot/initrd.img-5.15.0-69-lowlatency
Found linux image: /boot/vmlinuz-5.11.0-44-lowlatency
Found initrd image: /boot/initrd.img-5.11.0-44-lowlatency
Found linux image: /boot/vmlinuz-5.11.0-22-lowlatency
Found initrd image: /boot/initrd.img-5.11.0-22-lowlatency
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Removing linux-lowlatency-headers-5.15.0-69 (5.15.0-69.76) ...
Removing linux-lowlatency-headers-5.15.0-70 (5.15.0-70.77) ...
Removing linux-lowlatency-hwe-5.19-headers-5.19.0-1018 (5.19.0-1018.19~22.04.1) ...
Removing linux-modules-5.19.0-1021-lowlatency (5.19.0-1021.22~22.04.1) ...
Removing lsp-plugins-vst (1.1.31-1ubuntu1) ...
Removing pdfshuffler (1.6.2-3) ...
Removing python3-macholib (1.15.2+ds0-1) ...
Removing python3-altgraph (0.17.2+ds0-1) ...
Removing python3-astor (0.8.1-1) ...
Removing python3-easywebdav (1.2.0-8) ...
Removing python3-funcparserlib (0.3.6+dfsg1-1build1) ...
Removing python3-gnupg (0.4.8-1) ...
Removing python3-pefile (2021.9.3-1) ...
Removing python3-pyelftools (0.27-1) ...
Removing python3-rply (0.7.7-2) ...
Removing tcl-tls:amd64 (1.7.22-2ubuntu1) ...
Removing tcllib (1.20+dfsg-1) ...
Removing xul-ext-ubufox (3.4-0ubuntu1.17.10.1) ...
Removing linux-modules-5.15.0-69-lowlatency (5.15.0-69.76) ...
Removing linux-image-5.15.0-69-lowlatency (5.15.0-69.76) ...
/etc/kernel/prerm.d/dkms:
dkms: removing: v4l2loopback 0.12.7 (5.15.0-69-lowlatency) (x86_64)
Module v4l2loopback-0.12.7 for kernel 5.15.0-69-lowlatency (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

v4l2loopback.ko:
- Uninstallation
- Deleting from: /lib/modules/5.15.0-69-lowlatency/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-69-lowlatency
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-1023-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1023-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1023-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1023-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1022-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1022-lowlatency
Found linux image: /boot/vmlinuz-5.15.0-71-lowlatency
Found initrd image: /boot/initrd.img-5.15.0-71-lowlatency
Found linux image: /boot/vmlinuz-5.11.0-44-lowlatency
Found initrd image: /boot/initrd.img-5.11.0-44-lowlatency
Found linux image: /boot/vmlinuz-5.11.0-22-lowlatency
Found initrd image: /boot/initrd.img-5.11.0-22-lowlatency
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Processing triggers for doc-base (0.11.1) ...
Processing 1 removed doc-base file...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for fontconfig (2.13.1-4.2ubuntu5) ...
steve-ubuntu@steveubuntu-desktop:~$ sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-1023-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1023-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1023-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1023-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-1022-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1022-lowlatency
Found linux image: /boot/vmlinuz-5.15.0-71-lowlatency
Found initrd image: /boot/initrd.img-5.15.0-71-lowlatency
Found linux image: /boot/vmlinuz-5.11.0-44-lowlatency
Found initrd image: /boot/initrd.img-5.11.0-44-lowlatency
Found linux image: /boot/vmlinuz-5.11.0-22-lowlatency
Found initrd image: /boot/initrd.img-5.11.0-22-lowlatency
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
 
Old 05-11-2023, 03:14 AM   #20
breadtrain
LQ Newbie
 
Registered: May 2023
Location: UK
Distribution: Ubuntu Studio 22.04
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for your help Adil, it's much appreciated, does the above look like the issue is sorted now?
 
Old 05-11-2023, 03:16 AM   #21
Adil_uk
LQ Newbie
 
Registered: Feb 2005
Location: London
Distribution: Auditor
Posts: 25

Rep: Reputation: 0
Ok first do,


sudo apt autoremove

Then

sudo apt-get install grub-efi
sudo apt-get autoremove
sudo update-grub

Pls share the output.
Cheers
 
Old 05-11-2023, 03:34 AM   #22
Adil_uk
LQ Newbie
 
Registered: Feb 2005
Location: London
Distribution: Auditor
Posts: 25

Rep: Reputation: 0
Before you executed the above commands

Are you seeing this error message now

"When I restart my PC I get this message: Failed Offline Update Failed to update 1 packages Error while installing package: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32 Open Discover Repair System"
 
Old 05-12-2023, 02:40 AM   #23
breadtrain
LQ Newbie
 
Registered: May 2023
Location: UK
Distribution: Ubuntu Studio 22.04
Posts: 12

Original Poster
Rep: Reputation: 0
No the message has gone now ( :
 
Old 05-12-2023, 09:51 AM   #24
Adil_uk
LQ Newbie
 
Registered: Feb 2005
Location: London
Distribution: Auditor
Posts: 25

Rep: Reputation: 0
Splendid.
 
  


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
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
File conflict with the old installed rpm package while installing new package sr164w Linux - Newbie 3 12-15-2011 11:43 AM
Error While Installing Flashplugin Package: Upstream Website Modified, No License... vegan_thug Debian 3 03-07-2006 02:37 PM
Error while installing package.tar.tar isone Linux - Software 2 11-03-2003 11:58 AM

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

All times are GMT -5. The time now is 01:50 AM.

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