Search code examples
linuxpacman-package-manager

How to downgrade a specfic package using Pacman


How is it possible to downgrade a package version using Pacman in Arch distributions? for example, python-flask is version 2. But I need to downgrade it to 1.1.2-4.

How Can I do it?


Solution

  • Arch mirrors do not usually maintain older versions of packages, so you cannot directly find older versions in a mirror.

    You can look in the Archlinux Archive here for the package: https://archive.archlinux.org/packages/p/python/

    Download the package and install it with pacman -U

    For more information: https://wiki.archlinux.org/title/Arch_Linux_Archive