yum makecache: error: argument timer: invalid choice: ‘fast’ (choose from ‘timer’) 这是因为版本问题,centos8没有该参数,解决办法为:去掉fast参数,就可以了 sudo yum makecache