Properly packaged, low-moisture foods stored at room temperature or cooler or lower) remain nutritious and edible much longer than previously thought, according to findings of recent scientific studies.
Except that with rice, you have to freeze it for a week to kill any bugs that could be in it. warm dark temps make them of the Longest Lasting Foods that Will Keep You Well Fed Years After the SHTF - Freedom Prepper
Survival Bread: This bread will keep indefinitely and each loaf is the daily nutrients for one adult. think of Lembas bread - something the elves would make (for you Lord of the Rings fans). "One small bite will fill the belly of a grown man.
10 Foods You Can Store For 100 Years — In survival situations, food is as important as water, fire and shelter. You should make it one of your top priorities. Some food products last few hours, others a few days or a few weeks or a few months.