Arch Linux downgrade

過去のArch Linuxシステムが必要になったが、パッケージのダウングレードだけでは十分なので、再インストールをおこなった。

archive.archlinux.org/isoから以前のメディアを入手してシステムを起動。
/etc/pacman.d/mirrorlistを書き換える。
Server = https://archive.archlinux.org/repos/2020/12/01/$repo/os/$arch

署名の期限切れがあるので、いくつかのパッケージでエラーとなる。
error: signature from “AUTHOR” is unknown trust
File is corrupted (invalid or corrupted package (PGP signature)).
/etc/pacman.confの設定を変更する。
SigLevel = Never

pacman -Syyuuを実行後にpacstrapなどでインストールする。
arch-chroot後にもpacmanの設定を再度書き換える必要がある。

アップデートで下記のエラーとなる場合は、rm /usr/share/hwdata/*で削除して再実行。
error: failed to commit transaction (conflicting files)
hwdata: /usr/share/hwdata/pci.ids exists in filesystem (owned by hwids)
hwdata: /usr/share/hwdata/pnp.ids exists in filesystem (owned by hwids)
hwdata: /usr/share/hwdata/usb.ids exists in filesystem (owned by hwids)

久々のネットのケーブル接続で忘れていたが、DHCPクライアントの設定が必要。
pacman -S dhcpcd
systemctl enable dhcpcd@enp0s10

 

 

 

 

 

 

 

 

 

コメント