Updating wordpress from my Linux distro’s repository

I actually like the idea of updating wordpress via apt, as if it is done correctly it can eliminate some headache with installing and configuring the DB and web server while followinf best practice, but the question is how reliable it is to help you maintain wordpress up to date. from looking at https://packages.ubuntu.com/groovy/wordpress it seems that ubuntu LTS is stuck with wordpress 5.3.2, so a potential problem is that you will upgrade wordpress via the wordpress admin or wp-cli and one day when you will run apt update you will cause wordpress to actually be downgraded.

So if you go the apt way, you should probably commit yourself to keep using apt which might actually be OK in some specific settings.

As for wordfence…. with all due respect to them, wordpress setups can vary alot. I would use their “error” indications as a trigger to reevaluate what I am doing, but not as a bible.