Aria Stewart (aredridel) wrote,
Aria Stewart
aredridel

Thank RedHat for RPM.

My computer did some serious evil to itself today. I fixed it in a couple hours, thanks to RPM’s database:

rpm -qa > rpms then for I in `cat rpms`; do echo $I:; rpm -V $I; done | tee log

Those two commands give a list of what’s damaged and how, and based on that, makes it darn easy to restore stuff.

User data is something else entirely, of course, but there’s a reason I keep that on another drive and make backups...

Compare this to the nearly identical but much more laughable situation I dealt with this afternoon on a customer’s computer. Windows, having no central understandable database of what's been messed up, nor any way to restore just one corrupt file (unless it's a DLL or other immutable system file). I spent three hours tracking down the fact that the system registry hive file was damaged, as was the backup, then had to re-install all of windows to make it function again. The only reason it didn't take ten hours to fix is that this particular customer has three important files: his inbox, his address book and his quicken data store. Nothing else mattered. A re-install took as long as my fixing my own computer did in total, and the damage to mine was far, far worse.

Subscribe

  • rpc.statd goes wild!

    I came in to work today to find my mac workstation spinning running rpc.statd at 100% CPU. A quick dtruss -n rpc.statc showed that it was looping…

  • Useful Javascript

    I just created a drop-down menu with an option to add your own entries. Feel free to use. The skinny. Demo.

  • (no subject)

    I just asked my OpenSRS/Tucows domain reseller rep about AAAA (IPv6) glue records: They are planning to support them soon! In the mean time, they…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments