Welcome to the Linux Foundation Forum!

LFS201 - Lab 6.2

sheenlim08 Posts: 1

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.


  • coop
    coop Posts: 915

    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.


Upcoming Training