You asked
Is the lumix s5 ii worth paying more for than a used s5 if I only shoot landscapes?
For landscapes, the S5 II's extra over the S5 matters less than it would for other subjects. Both are 24.2-megapixel full-frame cameras, so the resolution is the same. What the S5 II adds is phase-detection autofocus, which is mainly useful for moving subjects, and it is a superb video camera for the money. Neither matters much for static scenes.
The S5 is the better value for you. It is an older body with contrast-detect autofocus, which is slower but fine for landscapes, and the site describes it as cheap used. The sensor guide says lenses and light matter more than the last step of sensor performance, so a cheaper body with a better lens will usually serve you better than the reverse.
Spend the difference on glass. For wide landscapes, the S5 II's catalogue lists the Laowa 10-18mm f/4.5-5.6 Zoom, the Sigma 14-24mm f/2.8 DG DN Art, and the Panasonic Lumix S Pro 16-35mm f/4. The Laowa is the cheapest route to very wide framing, the Sigma gives the most range and speed, and the Panasonic is the lighter, weather-minded option. I can't confirm from the material that these fit the S5, so check the S5's own page before buying a lens.
If you buy the S5 used, the buying used guide advises a specialist dealer with a returns window and warranty, since they test what they sell. Be wary of prices far below market.
I can't give prices here. Check the Price in France section on each camera page for the day it was checked and the shops' links, since prices change.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.