Welcome to the Linux Foundation Forum!

LFS201 - Lab 6.2

sheenlim08
sheenlim08 Posts: 1
edited November 1 in LFS201 Class Forum

The question 4 in Lab6.2, I have a different solution, instead of comparing rpm packages using "rpm -qa", why cant we use
"rpm -qa > before_rebuilddb" then doing the same thing after the rebuild?
"rpm -qa > post_rebuiddb" then comparing it via "diff before_rebuilddb post_rebuilddb", the output is easier to read.

Answers

  • coop
    coop Posts: 782

    The lab says you "may" want to do that in its description. So this is not a different solution, this is you just doing what the labs says to do but doesn't explicitly note the extra step in the "solution". Note that solutions are never meant (in most cases) to be unique, there are many ways to skin the cat.

Categories

Upcoming Training