[SOLVED] Mint 21 Update Manager Problem

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
griffo11
Level 1
Level 1
Posts: 8
Joined: Fri Nov 20, 2015 2:18 pm

[SOLVED] Mint 21 Update Manager Problem

Post by griffo11 »

I recently successfully updated from Mint 20 to 21 using the official update tool. However, I encountered the Warning apt-key is depreciated issue described here: viewtopic.php?f=42&t=377591

Perhaps foolishly, I ignored the depreciated key warning for a while until the first Mint 21 kernel update popped up in Update Manager from 5.15.0-47 to 48. The kernel update has failed and I don't see a solution.

I have successfully fixed the apt-key issue following the instructions linked above, but the Update Manager new kernel still fails:
Update Error.png
Terminal text from failed update section:
Errors were encountered while processing:
linux-image-generic
linux-generic
linux-modules-extra-5.15.0-48-generic
linux-modules-5.15.0-48-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-5.15.0-48-generic; however:
Package linux-image-5.15.0-48-generic is not installed.

dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 5.15.0.48.48); however:
Package linux-image-generic is not configured yet.

dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-modules-extra-5.15.0-48-generic:
linux-modules-extra-5.15.0-48-generic depends on linux-image-5.15.0-48-generic | linux-image-unsigned-5.15.0-48-generic; however:
Package linux-image-5.15.0-48-generic is not installed.
Package linux-image-unsigned-5.15.0-48-generic is not installed.

dpkg: error processing package linux-modules-extra-5.15.0-48-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-modules-5.15.0-48-generic:
linux-modules-5.15.0-48-generic depends on linux-image-5.15.0-48-generic | linux-image-unsigned-5.15.0-48-generic; however:
Package linux-image-5.15.0-48-generic is not installed.
Package linux-image-unsigned-5.15.0-48-generic is not installed.

dpkg: error processing package linux-modules-5.15.0-48-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-generic
linux-generic
linux-modules-extra-5.15.0-48-generic
linux-modules-5.15.0-48-generic
Neofetch system screen shot:
Update Error Neofetch.png
Any ideas how to recover?
Last edited by griffo11 on Sat Sep 24, 2022 9:15 pm, edited 1 time in total.
sleeper12
Level 20
Level 20
Posts: 11175
Joined: Thu May 25, 2017 3:22 pm

Re: Mint 21 Update Manager Problem

Post by sleeper12 »

How many kernels are installed? Post:

Code: Select all

dpkg --list |grep linux-image
griffo11
Level 1
Level 1
Posts: 8
Joined: Fri Nov 20, 2015 2:18 pm

Re: Mint 21 Update Manager Problem

Post by griffo11 »

output of dpkg --list |grep linux-image
fairforest@Valued-All-Series:~$ dpkg --list |grep linux-image
ii linux-image-5.15.0-47-generic 5.15.0-47.51 amd64 Signed kernel image generic
iF linux-image-5.15.0-48-generic 5.15.0-48.54 amd64 Signed kernel image generic
ii linux-image-generic 5.15.0.48.48 amd64 Generic Linux kernel image
fairforest@Valued-All-Series:~$
sleeper12
Level 20
Level 20
Posts: 11175
Joined: Thu May 25, 2017 3:22 pm

Re: Mint 21 Update Manager Problem

Post by sleeper12 »

Try:

Code: Select all

 sudo dpkg --configure -a 
Or:

Code: Select all

 sudo apt-get install -f 
griffo11
Level 1
Level 1
Posts: 8
Joined: Fri Nov 20, 2015 2:18 pm

Re: Mint 21 Update Manager Problem

Post by griffo11 »

outputs below:
fairforest@Valued-All-Series:~$ sudo dpkg --configure -a
[sudo] password for fairforest:
Setting up linux-image-5.15.0-48-generic (5.15.0-48.54) ...
Processing triggers for linux-image-5.15.0-48-generic (5.15.0-48.54) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 5.15.0-48-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-48-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/63_mint-theme-2k.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found theme: /boot/grub/themes/linuxmint-2k/theme.txt
/etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-5.15.0-48-generic (--configure):
installed linux-image-5.15.0-48-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-5.15.0-48-generic
fairforest@Valued-All-Series:~$ sudo apt-get install -f
[sudo] password for fairforest:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-5.15.0-48-generic (5.15.0-48.54) ...
Processing triggers for linux-image-5.15.0-48-generic (5.15.0-48.54) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 5.15.0-48-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-48-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/63_mint-theme-2k.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found theme: /boot/grub/themes/linuxmint-2k/theme.txt
/etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-5.15.0-48-generic (--configure):
installed linux-image-5.15.0-48-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-5.15.0-48-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
fairforest@Valued-All-Series:~$
User avatar
JerryF
Level 15
Level 15
Posts: 5875
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Mint 21 Update Manager Problem

Post by JerryF »

When posting results from Terminal, please use code tags instead of quote tags. It makes it much better to read, especially when there's tabbed output.

Thanks.

Example (quote vs. code):
inxi -Fxz
System: Kernel: 5.4.0-126-generic x86_64 bits: 64 compiler: gcc v: 9.4.0 Desktop: Xfce 4.16.0 Distro: Linux Mint 20.3 Una
base: Ubuntu 20.04 focal
Machine: Type: Laptop System: Hewlett-Packard product: HP EliteBook 8460p v: A0001D02 serial: <filter>
Mobo: Hewlett-Packard model: 161C v: KBC Version 97.4E serial: <filter> UEFI: Hewlett-Packard v: 68SCF Ver. F.67
date: 02/13/2018
Battery: ID-1: BAT0 charge: 36.5 Wh condition: 37.6/37.6 Wh (100%) model: Hewlett-Packard Primary status: Unknown
CPU: Topology: Dual Core model: Intel Core i5-2520M bits: 64 type: MT MCP arch: Sandy Bridge rev: 7 L2 cache: 3072 KiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19956
Speed: 798 MHz min/max: 800/3200 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 4: 798
Graphics: Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics vendor: Hewlett-Packard driver: i915
v: kernel bus ID: 00:02.0
Display: x11 server: X.Org 1.20.13 driver: modesetting unloaded: fbdev,vesa resolution: 1600x900~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2) v: 3.3 Mesa 21.2.6 direct render: Yes
Audio: Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: Hewlett-Packard driver: snd_hda_intel
v: kernel bus ID: 00:1b.0
Sound Server: ALSA v: k5.4.0-126-generic
Network: Device-1: Intel 82579LM Gigabit Network vendor: Hewlett-Packard driver: e1000e v: 3.2.6-k port: 4060
bus ID: 00:19.0
IF: enp0s25 state: down mac: <filter>
Device-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi v: kernel port: 4040 bus ID: 24:00.0
IF: wlo1 state: up mac: <filter>
Drives: Local Storage: total: 530.98 GiB used: 168.45 GiB (31.7%)
ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 250GB size: 232.89 GiB
ID-2: /dev/sdb vendor: Hitachi model: HTS723232A7A364 size: 298.09 GiB
Partition: ID-1: / size: 24.44 GiB used: 15.31 GiB (62.6%) fs: ext4 dev: /dev/sda2
ID-2: /home size: 203.07 GiB used: 129.80 GiB (63.9%) fs: ext4 dev: /dev/sda3
Sensors: System Temperatures: cpu: 43.0 C mobo: 0.0 C
Fan Speeds (RPM): N/A
Info: Processes: 231 Uptime: 46m Memory: 7.68 GiB used: 1.65 GiB (21.5%) Init: systemd runlevel: 5 Compilers: gcc: 9.4.0
Shell: bash v: 5.0.17 inxi: 3.0.38

Code: Select all

inxi -Fxz
System:    Kernel: 5.4.0-126-generic x86_64 bits: 64 compiler: gcc v: 9.4.0 Desktop: Xfce 4.16.0 Distro: Linux Mint 20.3 Una 
           base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Hewlett-Packard product: HP EliteBook 8460p v: A0001D02 serial: <filter> 
           Mobo: Hewlett-Packard model: 161C v: KBC Version 97.4E serial: <filter> UEFI: Hewlett-Packard v: 68SCF Ver. F.67 
           date: 02/13/2018 
Battery:   ID-1: BAT0 charge: 36.5 Wh condition: 37.6/37.6 Wh (100%) model: Hewlett-Packard Primary status: Unknown 
CPU:       Topology: Dual Core model: Intel Core i5-2520M bits: 64 type: MT MCP arch: Sandy Bridge rev: 7 L2 cache: 3072 KiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19956 
           Speed: 798 MHz min/max: 800/3200 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 4: 798 
Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics vendor: Hewlett-Packard driver: i915 
           v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.13 driver: modesetting unloaded: fbdev,vesa resolution: 1600x900~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2) v: 3.3 Mesa 21.2.6 direct render: Yes 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus ID: 00:1b.0 
           Sound Server: ALSA v: k5.4.0-126-generic 
Network:   Device-1: Intel 82579LM Gigabit Network vendor: Hewlett-Packard driver: e1000e v: 3.2.6-k port: 4060 
           bus ID: 00:19.0 
           IF: enp0s25 state: down mac: <filter> 
           Device-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi v: kernel port: 4040 bus ID: 24:00.0 
           IF: wlo1 state: up mac: <filter> 
Drives:    Local Storage: total: 530.98 GiB used: 168.45 GiB (31.7%) 
           ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 250GB size: 232.89 GiB 
           ID-2: /dev/sdb vendor: Hitachi model: HTS723232A7A364 size: 298.09 GiB 
Partition: ID-1: / size: 24.44 GiB used: 15.31 GiB (62.6%) fs: ext4 dev: /dev/sda2 
           ID-2: /home size: 203.07 GiB used: 129.80 GiB (63.9%) fs: ext4 dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 43.0 C mobo: 0.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 231 Uptime: 46m Memory: 7.68 GiB used: 1.65 GiB (21.5%) Init: systemd runlevel: 5 Compilers: gcc: 9.4.0 
           Shell: bash v: 5.0.17 inxi: 3.0.38 
sleeper12
Level 20
Level 20
Posts: 11175
Joined: Thu May 25, 2017 3:22 pm

Re: Mint 21 Update Manager Problem

Post by sleeper12 »

I think the solution is here, first post: viewtopic.php?f=47&t=379134&hilit=libcrypto.so.1.1
griffo11
Level 1
Level 1
Posts: 8
Joined: Fri Nov 20, 2015 2:18 pm

Re: Mint 21 Update Manager Problem

Post by griffo11 »

Hey JerryF, sorry for the noob mistake. I will be sure to use the code quotes for Terminal outputs now.

sleeper12, I downloaded the file and double clicked, got this message the same version was already installed. I hit Reinstall anyway, in case the original file was corrupted.
libss same version.png
Ran update-grub, and got this (code quotes!):

Code: Select all

fairforest@Valued-All-Series:~$ sudo update-grub
[sudo] password for fairforest:           
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/63_mint-theme-2k.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found theme: /boot/grub/themes/linuxmint-2k/theme.txt
Found linux image: /boot/vmlinuz-5.15.0-48-generic
Found initrd image: /boot/initrd.img-5.15.0-48-generic
Found linux image: /boot/vmlinuz-5.15.0-47-generic
Found initrd image: /boot/initrd.img-5.15.0-47-generic
Found Windows 10 on /dev/sda1
done
fairforest@Valued-All-Series:~$ 
Rebooted, and got the advanced option to boot the 5.15.48-generic kernel. Boot into -48 normal now. No errors in the Update Manager refresh screen.
So, solution found!
Many thanks, griffo11
sleeper12
Level 20
Level 20
Posts: 11175
Joined: Thu May 25, 2017 3:22 pm

Re: Mint 21 Update Manager Problem

Post by sleeper12 »

Well, I'm glad it somehow worked. 8) Edit your first post here & add [SOLVED] to the Subject line.
griffo11
Level 1
Level 1
Posts: 8
Joined: Fri Nov 20, 2015 2:18 pm

Re: [SOLVED] Mint 21 Update Manager Problem

Post by griffo11 »

Subject line updated.
Thanks again for the help.
sleeper12
Level 20
Level 20
Posts: 11175
Joined: Thu May 25, 2017 3:22 pm

Re: [SOLVED] Mint 21 Update Manager Problem

Post by sleeper12 »

By the way, I assume the reinstall added the file that was missing before:

Found theme: /boot/grub/themes/linuxmint-2k/theme.txt
/etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
griffo11
Level 1
Level 1
Posts: 8
Joined: Fri Nov 20, 2015 2:18 pm

Re: [SOLVED] Mint 21 Update Manager Problem

Post by griffo11 »

I tried to open the /etc/grub.d/bin/grubcfg_proxy file to see what was in there. It will not open even when using open as root in the file manager. I'm afraid to mess with it much more, system is working fine now.

I did do a search for the libcrypto.so.1.1 file. Search found it in /lib/x86_64-linux-gnu folder with a 14 May 2022 date modified. So, the file is on the system now and things are working OK, so I guess we were successful.
Thanks,
griffo11
Post Reply

Return to “Installation & Boot”