Some people are IMHO exaggerating food shortages in the UK. Many products are in short supply, but alternatives are readily available.
As an illustrative example, if baked beans are out of stock, there are almost certainly tinned tomatoes or tinned spaghetti available.
If dried spaghetti cant be found one week, then other types of dried pasta are probably available.
Likewise some brands of beer are unavailable, but alternatives are available. No general beer shortage.
It is about the same in Germany. Dry pasta like spaghetti are the most popular variation. Cheap brands in pound packages were out (and sometimes still are) but premium brands and packages with 5 kg were always available.
Canned meat may become a little harder to get as some slaughterhouses got locked down because the workers there got sick. The worker lived in small quarters and distance could not be maintained. So before one got sick all had it.