引用
以手动将 virtualbox-ext-oracle 降级到 5.x 为例
手动降级
首先找到 virtualbox-ext-oracle 的 git 仓库:

git clone
下来后,查看 git log
:
1 2 3 4 5 6 7 8 9 10
| * 424217e - (2 days ago) commit virtualbox-ext-oracle 6.0.0-1 - Christian Hesse (origin/master, origin/HEAD, master) * 495258d - (7 weeks ago) commit virtualbox-ext-oracle 5.2.22-1 - Christian Hesse (HEAD) * 10d3b74 - (2 months ago) commit virtualbox-ext-oracle 5.2.20-1 - Christian Hesse * 21fc976 - (5 months ago) commit virtualbox-ext-oracle 5.2.18-1 - Christian Hesse * 05cc4fb - (5 months ago) commit virtualbox-ext-oracle 5.2.10-1 - Christian Hesse * a3cb846 - (6 months ago) commit virtualbox-ext-oracle 5.2.10-1 - Christian Hesse * 4672c55 - (8 months ago) commit virtualbox-ext-oracle 5.2.12-1 - Christian Hesse * 8f463cf - (9 months ago) commit virtualbox-ext-oracle 5.2.10-1 - Christian Hesse * 142e487 - (10 months ago) commit virtualbox-ext-oracle 5.2.8-1 - Christian Hesse * 5d991fb - (12 months ago) Bump 5.2.6 (really this time, fix typo) - Christian Hesse
|
git checkout
到 5.2.22-1 这个 commit,然后执行 makepkg
:

之后就可以在当前目录下看到 virtualbox-ext-oracle-5.2.22-1-any.pkg.tar.xz 文件:
或者 .pkg.tar.zst 等文件
卸载掉 virtualbox-ext-oracle 6:
1
| sudo pacman -Rsn virtualbox-ext-oracle
|
然后直接安装 virtualbox-ext-oracle-5.2.22-1-any.pkg.tar.xz 即可:
1
| sudo pacman -U virtualbox-ext-oracle-5.2.22-1-any.pkg.tar.xz
|