You are not logged in.
Pages: 1
Hi,
I've been using Arch for a while, and I recently changed my home network setup. For some reason, NetworkManager no longer wanted to work, and it kept complaining "error statting /var/run/consolekit/database". I figured I'd try updating, since it'd been a few months...and I might as well update everything. I just ran pacman -Syu, which ran into an error I don't remember, but led me to doing:
pacman -S package-that-wasnt-working --forceAnd then no commands would run anymore. It couldn't even find basic things like ls/cat/echo, et cetera. I figured I may have screwed up...
At the moment, I'm looking for the install media disk I have, so I figured I'd ask if my idea was stupid, and what the correct thing to do would be.
I was thinking that I'd pacstrap base back onto the system from the partition from the install environment, and then hopefully it would work, and I could pacman -Syu again to repair all packages, and keep all the configurations and stuff I already have. And then probably uninstall networkmanager, because this is a desktop anyway...
Any wisdom?
Thanks.
Offline
1. No, --force is almost never a good idea.
2. What package was it that wasn't working? Because, the best idea would be to research your problem and, if you can't find a solution, ask the BBS for help with it.
3. You might be able to pacstrap in and fix the damage, but depending on what the package was, and the resulting damage, it may be much easier to just do a full reinstall after backing up your data
All the best,
-HG
Offline
Thanks, I actually was only getting the install CD to do a reinstall, and I had the idea to save myself some time and reinstall under the existing system. I guess I'll try pacstraping stuff in there, and failing that move on to a full reinstall. Is there any easy way I can reuse config files? Could I just install all the same packages (I know there's a way to do that with pacman), and then copy in all my data/config?
Offline
In the future, never force anything unless specifically instructed by the devs. Also always always always perform full upgrades. Partial upgrades can lead to a clusterfuck.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
pacman -S package-that-wasnt-working --force
In addition to echoing the warning about force, please do not post pseudo-{comands,errors} like this, they are functionally useless. Post the actual commands used...
Offline
In the future, never force anything unless specifically instructed by the devs.
I've gathered that much by now...haha.
Also always always always perform full upgrades. Partial upgrades can lead to a clusterfuck
I hadn't thought of this one, but it makes sense.... thanks!
Offline
Pages: 1