pacman -Syuで止まる。。。

久々にArchLinuxのアップデートをすると、
アップデート中に止まってしまった。。。

ポイントは
・PGP signature
・filesystem

でした。
それぞれ、対応方法があったので、メモ。


まぁ、そのまま上げようとすると。。。

#pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
:: Replace libusb with core/libusbx? [Y/n] y
:: Replace udev with core/systemd-tools? [Y/n] y
resolving dependencies...
warning: dependency cycle detected:
    ・
    ・
error: sudo: signature from "Allan McRae <me@allanmcrae.com>" is unknown trust
error: vim-runtime: signature from "Thomas Dziedzic <gostrc@gmail.com>" is unknown trust
error: vim: signature from "Thomas Dziedzic <gostrc@gmail.com>" is unknown trust
error: virtualbox-archlinux-modules: signature from "Ionut Biru <ibiru@archlinux.org>" is unknown trust
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

「PGP signature」周りで怒られて、止まる。

ググってきた。。。
https://bugs.archlinux.org/task/26563

いくつかあるので、全部変更しましょう

#vi /etc/pacman.conf 

SigLevel = Optional TrustAll

(終わったら戻しておきましょう)

再度、アップデートしてみる。

#pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
:: Replace libusb with core/libusbx? [Y/n] y
:: Replace udev with core/systemd-tools? [Y/n] y
resolving dependencies...
warning: dependency cycle detected:
    ・
    ・
Proceed with installation? [Y/n] y
(36/36) checking package integrity                 [######################] 100%
(36/36) loading package files                      [######################] 100%
(36/36) checking for file conflicts                [######################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /var/lock exists in filesystem
filesystem: /var/run exists in filesystem
Errors occurred, no packages were upgraded.

「filesystem」絡みらしい

お伺い。。
https://bbs.archlinux.org/viewtopic.php?id=142717

先に「filesystemだけ」アップデートする。

#pacman -Sf filesystem
resolving dependencies...
looking for inter-conflicts...

Targets (1): filesystem-2012.6-2

Total Installed Size:   0.30 MiB
Net Upgrade Size:       0.23 MiB
    ・
    ・

warning: directory permissions differ on sys/
filesystem: 755  package: 555
#
#pacman -Sc
Cache directory: /var/cache/pacman/pkg/
Packages to keep:
  All locally installed packages
Do you want to remove all other packages from cache? [Y/n] ^C
Interrupt signal received
#

一旦、キャッシュを消しています。
これで、もう一度、「Pacman -Syu」すると通ると思います。

ArchLinuxは更新が早いので、ちょくちょくアップデートしないと。。。

[tegaki]ハマらなくて良かった。。[/tegaki]

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

Enter code * Time limit is exhausted. Please reload CAPTCHA.

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください