Everything is broken. What should I do next time to prevent this?

Okay, I'm having a wonderful time with Arch. So far I've managed to:
a) Install it successfully
b) Setup irssi, wvdial, and fluxbox
c) Break just about every application beyond irssi, wvdial, and pacman
d) Try to fix the latter and in the process break X
e) Reboot to discover a kernel panic.
Clearly I didn't go about this entirely right. So, this time, I'd like suggestions on how get Arch working properly.
What I did was...
pacman -S wvdial
pacman -Sy
pacman -S sudo xorg fluxbox
All this stuff appeared to work fine. Then I tried to install lynx from extra, and got a number of errors in the vein of 'xextproto: /usr/include/X11/extensions/lbxopts.h: exists in filesystem.' Someone told me to use pacman -Sf rather than pacman -S, and lo and behold, the errors disappeared. Starting lynx, however, gave me 'error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory.' This wasn't a great improvement. So I tried to just get my whole system up and running.
sudo pacman -S eterm tor rxvt-unicode thunar mousepad firefox thunderbird abiword gnumeric vlc drscheme gimp gqview gcalctool gucharmap xscreensaver comix conky ttf-ms-fonts freetype2 evince hwd
I have dialup, so I left this on overnight, came back, and tried to install those packages whose dependencies were done downloading (up through firefox.) Again, I got a number of 'exists in filesystem' errors, so I used -Sf. Ultimately, this resulted in me getting 'error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory' on about every application I had (even xterm broke!) I concluded the solution to this was to do a pacman -Syu. This eventually finished, and gave more 'exists in filesystem' complaints, so I once again tried my simple solution, pacman -Sfu. (Appropriately, "System: fuck you.") After that X returned a 'no screens' error, so I rebooted and discovered a kernel panic. Great fun.
So, basically, I learned that:
a) I did something wrong
b) pacman's -f flag is a bad thing and I shouldn't use it.
What should I try doing next time to not screw everything up horribly? It seems that pacman works a tad bit different than apt.

The very first thing you should do whenever you install your system is a full system update, as stonecrest said in fewer words.   Then you can go ahead and install new applications - the apps you installed probably depended on newer versions of packages (like openssl) that you hadn't yet upgraded.
Arch is a rolling-release; in general you have to make sure your system is uptodate before installing new apps.

Similar Messages

Maybe you are looking for

  • How to install SysX.5.1(PPC) on external disk using MacPro SysX.5.6(Intel)

    I need to install the SysX 5.1 for a PPC Mac on an external disc to make it a start up disk but I need to use my MacPro to do the install. The MacPro gags on the PPC Sys install disk. best, nrb

  • Newb up and running, a few questions...

    Ok, so I finally got the HelloWorld example from the docs to compile.  However, when I start illustrator the "Hello World" dialog does not appear.  The PlugIn is listed in the Help > System Info... dialog, and when illustrator shutsdown, the "Goodbye

  • Making a datagrid display properly

    I am looking for an easy solution to make the datagrid display correctly. I would assume there is a way to display the data in the order of the xml document that is being loaded. Why would the component disregard the file it is sent, doing extra work

  • After upgrade to E2, it won't recognize SD card anymore?

    Hi,  I just followed the palm directions to upgrade from a Tungsten E to E2.  Before the hotsync the palm recognized my SD card, but it doesn't recognize it anymore afterwards.  Am I missing something in the hotsync process? Thank you!  Post relates

  • How can I restore folders and files from Previous Systems folder

    I have been unable to migrate files (or even find the option to migrate files) located in my Previous Systems folder. I've been able to change the Privilege of these files to Read & Write (though my Permissions still indicate "You can only read.") an