You are not logged in.

#1 2013-04-09 14:26:11

metaf5
Member
Registered: 2013-02-28
Posts: 11

Everything Broken with a forced update.

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 --force

And 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

#2 2013-04-09 14:34:08

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: Everything Broken with a forced update.

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

#3 2013-04-09 14:49:58

metaf5
Member
Registered: 2013-02-28
Posts: 11

Re: Everything Broken with a forced update.

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

#4 2013-04-09 14:55:03

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Everything Broken with a forced update.

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.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2013-04-09 18:09:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Everything Broken with a forced update.

metaf5 wrote:
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...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2013-04-09 18:10:35

metaf5
Member
Registered: 2013-02-28
Posts: 11

Re: Everything Broken with a forced update.

Inxsible wrote:

In the future, never force anything unless specifically instructed by the devs.

  I've gathered that much by now...haha.

Inxsible wrote:

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

Board footer

Powered by FluxBB