You are not logged in.
Pages: 1
So I deleted a few programs that I had installed at some point. Double-checked it, recognised them all, (i used 'sudo pacman -rc jack2 .. 7z' etc. ). In hindsight, deleting dependencies without a thought was a bad idea. I looked back, noticed pacman and a few other things had been deleted ![]()
I tried to troubleshoot, followed the wiki to restore pacman and then restarted, now it won't load from grub and gives me that message. I'm having to post this from my phone now but I'm pretty concerned. I'll make an arch usb, can someone point me in the direction to what to do after?
Is it a simple case of mounting my root and running pacman update from live? Is that possible? (To update a mounted partition and restore lost vital files).
Please help!
Thanks
Offline
Is it a simple case of mounting my root and running pacman update from live? Is that possible? (To update a mounted partition and restore lost vital files).
Yes, that's what you do during an install. Just mount your partitions in /mnt from the iso, then use `pacman --root /mnt <package names>`.
In the future you'll want to use pacman's 's' option for removing rather than 'c'. I typically remove packages with `pacman -Rsn <package>`.
EDIT: to be on the safe side, rather than trying to guess what was removed, you could just run `pacman --root /mnt base` from the iso.
Last edited by Trilby (2014-08-17 12:37:43)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thanks for the fast reply mate.
Absolutely, I don't know what was deleted... So base would reinstall the essentials for arch I presume? It's been a while since an install, base rings a bell.
Offline
Yes, it would. If you want to build AUR packages you should include base and base-devel.
You'll also want to look for pacsave files and merge them carefully to get your system-wide configs back to where they were. The removal command you used would have left any config files that you modified, but when the owning package is reinstalled, those files will be renamed with a pacsave extension.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
But I'd be able to boot after the install then locate *.pacsave? Or will there be inevitable conflicts? Just want to know what I'm getting into, cheers ![]()
Offline
Please make an effort to read some documentation - all of these issues are very thoroughly covered in the pacman man page and wiki article. I suspected I was providing a reminder about pacsave, not the initial introduction. If you have never worked with pacsave files before, you really need to learn how pacman works or you will end up with many more problems.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Yeah sure i will, thanks for your help.
Offline
Pages: 1