### Description When a new version of a package is added, the database includes both old and new versions. This confuses pacman client. ``` error: <repo> database is inconsistent: version mismatch on package <package name> ``` The default core and extra repos include only the latest version of each package. ### Gitea Version 1.23.3 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? archlinux ### Database PostgreSQL