Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [CLOSED] I am uninstalled pacman, now works nothing anymore (Read 1981 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

[CLOSED] I am uninstalled pacman, now works nothing anymore

Hi,

I can't update to pacman 6, but,  so I try to remove by terminal and install on the terminal, but after remove pacman, I can't execute any commands, the only message I got is:

bash: sudo: command not found

Thank you for your help in advance!


Re: Pacman update - any commands found after...

Reply #2
Yes, was after I remove it!

Re: Pacman update - any commands found after...

Reply #3
LOL.
Try to install AUR helpers like yay or paru and reinstall pacman back via them.
PS. BTW they won't work without pacman, so you appeared to be in very interesting position.
PPS. Every fool can install pacman with pacman. But you do so without pacman.
PPPS. Try to run Artix install media, mount your root partition and try to install pacman back via basestrap.

Re: Pacman update - any commands found after...

Reply #4
All the commands I try to use and programs I try to install is the same answer,

bash: aur: command not found

I will try, and I let you know...
Thank you!

Re: Pacman update - any commands found after...

Reply #5

I'm sorry but if you remove the package manager (which you have to go quite out of your way to do btw), how do you expect to install anything else? The only way to fix your system, I suppose, is to use basestrap on a live usb medium to install pacman back or get a zst file of the pacman package from somewhere and manually extract everything to the correct location.


Re: Pacman update - any commands found after...

Reply #7
pacman static might help but no guarantees, probably make sure you have backed up any valuable data on your system to be safe.
https://aur.archlinux.org/packages/pacman-static/
This could be a better link, you can download this single statically compiled binary to some dir and run it like ./pacman whatever options, perhaps you would still need a suitable pacman.conf in /etc though.
https://pkgbuild.com/~eschwartz/repo/x86_64-extracted/

Re: Pacman update - any commands found after...

Reply #8
pacman static might help but no guarantees, probably make sure you have backed up any valuable data on your system to be safe.
https://aur.archlinux.org/packages/pacman-static/
This could be a better link, you can download this single statically compiled binary to some dir and run it like ./pacman whatever options, perhaps you would still need a suitable pacman.conf in /etc though.
https://pkgbuild.com/~eschwartz/repo/x86_64-extracted/
for newbies is everytime reinstall of fresh system much more easier, as fixing the broke system...
I recommend that same in this case.

closing...

Re: [CLOSED] I am uninstalled pacman, now works nothing anymore

Reply #9
Thank you for your help!