You are not logged in.

#1 2022-11-08 14:35:49

josep
Member
From: Peru
Registered: 2022-06-06
Posts: 28

kernel panic and now im on arch-chroot trying to backup my stuff

Today I tried to install dotnet, everthing went okay but then I tried to install something via pacman and this was the output:

sudo: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

and I couldn't shutdown my machine with the command shutdown. I finally shut it down and now I'm on a kernel panic and I'm trying to recover all my stuff

Also, I have another PC with arch, and the same error appeared when trying to connect via ssh to at least recover some data from my drive.

This was the error message:

ssh: error while loading shared libraries: libcrypto.so.3

So I just update my system and now it's working fine (5gb update btw)

So any help in recovering my other PC? how can I update it without this error showing up!

Last edited by josep (2022-11-08 14:42:12)

Offline

#2 2022-11-08 14:41:46

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: kernel panic and now im on arch-chroot trying to backup my stuff

Use pacman's --root option to update the entire system from the ISO.

Then stop doing partial updates to avoid this in the future.

Offline

#3 2022-11-08 14:48:50

josep
Member
From: Peru
Registered: 2022-06-06
Posts: 28

Re: kernel panic and now im on arch-chroot trying to backup my stuff

Scimmia wrote:

Use pacman's --root option to update the entire system from the ISO.

I get this error:

archiso# pacman --sysroot
pacman: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

Offline

#4 2022-11-08 14:50:43

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: kernel panic and now im on arch-chroot trying to backup my stuff

from the ISO, IE without chrooting.

Offline

#5 2022-11-08 14:55:31

josep
Member
From: Peru
Registered: 2022-06-06
Posts: 28

Re: kernel panic and now im on arch-chroot trying to backup my stuff

Scimmia wrote:

from the ISO, IE without chrooting.

I'm sorry, I'm noob on arch, but how am I suppose to upgrade it without even chrooting yikes

Btw I get this error on the iso:

255 root@archiso ~ # pacman --root -Syu
error: failed to initialize alpm library:
(root: -Syu, dbpath: -Syu/var/lib/pacman/)
could not find or read directory

Offline

#6 2022-11-08 14:55:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: kernel panic and now im on arch-chroot trying to backup my stuff

man pacman

Offline

#7 2022-11-08 15:07:32

josep
Member
From: Peru
Registered: 2022-06-06
Posts: 28

Re: kernel panic and now im on arch-chroot trying to backup my stuff

Scimmia wrote:

man pacman

Alright, I finally get it now, but now it says I don't have space?

:: Proceed with installation? [Y/n]
error: Partition / too full: 251022 blocks needed, 62990 blocks free
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.

Offline

#8 2022-11-08 15:09:32

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: kernel panic and now im on arch-chroot trying to backup my stuff

Set --cachedir as well to the cache on the actual system. You don't have enough space to download all of the packages on the ISO's ramdisk.

--sysroot will automatically set that, but with a broken system, it may or may not work.

Offline

#9 2022-11-08 15:10:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: kernel panic and now im on arch-chroot trying to backup my stuff

Post the complete command and output, not just a couple lines that you think are relevant.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#10 2022-11-08 15:25:48

josep
Member
From: Peru
Registered: 2022-06-06
Posts: 28

Re: kernel panic and now im on arch-chroot trying to backup my stuff

Scimmia wrote:

Set --cachedir as well to the cache on the actual system. You don't have enough space to download all of the packages on the ISO's ramdisk.

it worked, thanks so much

Offline

#11 2022-11-08 15:27:22

josep
Member
From: Peru
Registered: 2022-06-06
Posts: 28

Re: kernel panic and now im on arch-chroot trying to backup my stuff

Trilby wrote:

Post the complete command and output, not just a couple lines that you think are relevant.

sorry i was at panic too

Offline

Board footer

Powered by FluxBB