[Archlinux] 屏棄 yaourt 使用 aurman
主要是看到知乎
只有三行安裝但遇到一些問題:
git clone https://aur.archlinux.org/aurman.git
cd aurman
makepkg -si
1.
error: failed to commit transaction (conflicting files)
python-chardet: /usr/bin/chardetect exists in filesystem
Errors occurred, no packages were upgraded.
==> ERROR: 'pacman' failed to install missing dependencies.
遇到 conflict 就請 Qoo(?
✘ zxc@archlinux> ~/GitHub/aurman> master $ pacman -Qo /usr/bin/chardetect
error: No package owns /usr/bin/chardetect
沒事就刪他吧。
✘ zxc@archlinux> ~/GitHub/aurman> master $ sudo rm /usr/bin/chardetect
2. unknown public key ....
那就加下去。
gpg --recv-keys 4C3CE98F9579981C21CA1EC3465022E743D71E39
# 最後再次
makepkg -si
成功!
EOF
留言
張貼留言