Skip to main content
Topic: I accidently deleted the curl command and now my system is broken. (Read 593 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

I accidently deleted the curl command and now my system is broken.

Hi. I'm a newbie to artix linux. I have used it for only 2 weeks and had almost setted up my desktop. I accidently deleted the curl command which I think deleted some other things. Now I can't even boot into the system. I have installed artix linux with lxde and with the s6-init-system.


Re: I accidently deleted the curl command and now my system is broken.

Reply #2
Should be able to reinstall curl

Re: I accidently deleted the curl command and now my system is broken.

Reply #3
Chrooting into the broken installation won't work because of the missing curl binary which pacman uses. He must download curl from https://archive.artixlinux.org/packages/c/curl/curl-7.80.0-1-x86_64.pkg.tar.zst and extract the archive over the root partition.

@zgeit32 If you're not experienced user, you'd be better off booting with a live ISO, backup your entire home directory from the damaged filesystem to a USB stick, reinstall and then copy back your backup.

 

Re: I accidently deleted the curl command and now my system is broken.

Reply #4
Chrooting into the broken installation won't work because of the missing curl binary which pacman uses. He must download curl from https://archive.artixlinux.org/packages/c/curl/curl-7.80.0-1-x86_64.pkg.tar.zst and extract the archive over the root partition.
Of course. But since the OP can't even boot into the system, he can boot from LiveISO, then copy the package file to the root partition after mounting the said root partition (and before chrooting), and then proceed to recover his system.