I am trying to downgrade the vim package on arch linux to an earlier version (as I need to use an earlier version of ruby which breaks it [ref]).

running downgrade vim and selecting the version complains that I need to downgrade the vim-runtime package. trying to downgrade vim-runtime or downgrade vim vim-runtime complains similarly.

How do I downgrade multiple packages at once on arch linux.


1 Answer 1


For downgrading packages from the official repositories, your first stop should be pacman and your package cache in /var/cache/pacman/pkg/, like so:

pacman -U /var/cache/pacman/pkg/$pkgname-$pkgver

You can pass multiple packages to pacman to downgrade in this fashion.

The tools downgrade and downgrader are useful if you have cleared your cache and you need to retrieve older packages from the Arch Rollback Machine.

The Arch wiki has a typically thorough page on downgrading packages.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .