[Solved] unable to update packages

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
bheeshmpita
Level 1
Level 1
Posts: 2
Joined: Fri Jan 27, 2023 8:59 am

[Solved] unable to update packages

Post by bheeshmpita »

I am unable to update them and following the suggested solution by terminal doesn't helps

Code: Select all

Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 linux-modules-5.15.0-57-generic : Depends: linux-image-5.15.0-57-generic but it is not going to be installed or
                                            linux-image-unsigned-5.15.0-57-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
ab@workstation:~$ apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  linux-image-unsigned-5.15.0-57-generic
Suggested packages:
  fdutils linux-doc | linux-source-5.15.0 linux-tools linux-headers-5.15.0-57-generic linux-modules-extra-5.15.0-57-generic
The following packages will be REMOVED:
  linux-image-5.15.0-57-generic
The following NEW packages will be installed:
  linux-image-unsigned-5.15.0-57-generic
0 upgraded, 1 newly installed, 1 to remove and 41 not upgraded.
3 not fully installed or removed.
Need to get 0 B/11.7 MB of archives.
After this operation, 424 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: linux-image-5.15.0-57-generic: dependency problems, but removing anyway as you requested:
 linux-modules-5.15.0-57-generic depends on linux-image-5.15.0-57-generic | linux-image-unsigned-5.15.0-57-generic; however:
  Package linux-image-5.15.0-57-generic is to be removed.
  Package linux-image-unsigned-5.15.0-57-generic is not installed.

(Reading database ... 426475 files and directories currently installed.)
Removing linux-image-5.15.0-57-generic (5.15.0-57.63) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-57-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
/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/postrm.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-5.15.0-57-generic (--remove):
 installed linux-image-5.15.0-57-generic package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
 linux-image-5.15.0-57-generic
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
ab@workstation:~$ sudo apt install vivaldi-snapshot 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 linux-modules-5.15.0-57-generic : Depends: linux-image-5.15.0-57-generic but it is not going to be installed or
                                            linux-image-unsigned-5.15.0-57-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
I'm using linuxmint 21 xfce
I am not able to comprehend other errors. Help me in fixing this issue.

Thanks for your time
Last edited by LockBot on Thu Jul 27, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
sleeper12
Level 21
Level 21
Posts: 14591
Joined: Thu May 25, 2017 3:22 pm

Re: unable to update packages

Post by sleeper12 »

Most likely it's the missing libcrypto.so.1.1:

/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


Try this: viewtopic.php?p=2218654#p2218654
bheeshmpita
Level 1
Level 1
Posts: 2
Joined: Fri Jan 27, 2023 8:59 am

Re: unable to update packages

Post by bheeshmpita »

sleeper12 wrote: Fri Jan 27, 2023 11:20 am Most likely it's the missing libcrypto.so.1.1:

/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


Try this: viewtopic.php?p=2218654#p2218654
Thanks, that fixed the issue.
The only modification i did was instead of directly following and installing the file in link, I downloaded it from the website manually and verified its sha256sum
thanks for helping out.
sleeper12
Level 21
Level 21
Posts: 14591
Joined: Thu May 25, 2017 3:22 pm

Re: [Solved] unable to update packages

Post by sleeper12 »

Glad it helped you. :wink:
Locked

Return to “Software & Applications”