今天把 pacman 升级后,更新系统,如下:
$ sudo pacman -Syu
:: 正在同步软件包数据库...
archlinuxfr 已经是最新版本
core 已经是最新版本
extra 已经是最新版本
community 已经是最新版本
:: 正在进行全面系统更新...
正在解决依赖关系...
正在查找内部冲突...
目标 (17): at-spi2-atk-2.2.2-1 at-spi2-core-2.2.3-1 cmake-2.8.7-2
gvfs-1.10.1-2 gvfs-obexftp-1.10.1-2 libreoffice-base-3.4.5-1
libreoffice-calc-3.4.5-1 libreoffice-common-3.4.5-1
libreoffice-draw-3.4.5-1 libreoffice-gnome-3.4.5-1
libreoffice-impress-3.4.5-1 libreoffice-math-3.4.5-1
libreoffice-writer-3.4.5-1 libreoffice-zh-CN-3.4.5-1
sdl_image-1.2.11-1 sdl_mixer-1.2.12-1 sdl_ttf-2.0.11-1
全部下载大小:79.74 MiB
全部安装大小:317.95 MiB
净更新大小:0.36 MiB
进行安装吗? [Y/n] y
:: 正在从 extra 软件库获取软件包...
at-spi2-core-2.2.3-... 192.3 KiB 345K/s 00:01 [######################] 100%
at-spi2-atk-2.2.2-1... 57.0 KiB 435K/s 00:00 [######################] 100%
cmake-2.8.7-2-x86_64 3.6 MiB 419K/s 00:09 [######################] 100%
gvfs-1.10.1-2-x86_64 865.5 KiB 425K/s 00:02 [######################] 100%
gvfs-obexftp-1.10.1... 48.7 KiB 437K/s 00:00 [######################] 100%
libreoffice-zh-CN-3... 7.2 MiB 414K/s 00:18 [######################] 100%
libreoffice-common-... 58.8 MiB 417K/s 02:24 [######################] 100%
libreoffice-base-3.... 1891.2 KiB 407K/s 00:05 [######################] 100%
libreoffice-calc-3.... 4.1 MiB 421K/s 00:10 [######################] 100%
libreoffice-draw-3.... 3.4 KiB 713K/s 00:00 [######################] 100%
libreoffice-gnome-3... 179.9 KiB 374K/s 00:00 [######################] 100%
libreoffice-impress... 103.5 KiB 203K/s 00:01 [######################] 100%
libreoffice-math-3.... 279.3 KiB 404K/s 00:01 [######################] 100%
libreoffice-writer-... 2.4 MiB 407K/s 00:06 [######################] 100%
sdl_image-1.2.11-1-... 23.9 KiB 450K/s 00:00 [######################] 100%
sdl_mixer-1.2.12-1-... 69.6 KiB 434K/s 00:00 [######################] 100%
sdl_ttf-2.0.11-1-x86_64 13.5 KiB 476K/s 00:00 [######################] 100%
(17/17) 正在检查软件包完整性 [######################] 100%
错误:at-spi2-core: key "E8F18BA1615137BC" is unknown
:: 导入 PGP 密匙 615137BC,"Ionut Biru <ibiru@archlinux.org>",创建 2011-04-20 吗? [Y/n] y
错误:key "Ionut Biru <ibiru@archlinux.org>" could not be imported
错误:at-spi2-atk: key "E8F18BA1615137BC" is unknown
:: 导入 PGP 密匙 615137BC,"Ionut Biru <ibiru@archlinux.org>",创建 2011-04-20 吗? [Y/n] y
错误:cmake: key "1EB2638FF56C0C53" is unknown
:: 导入 PGP 密匙 F56C0C53,"Dave Reisner <d@falconindy.com>",创建 2011-06-26 吗? [Y/n] y
错误:key "Dave Reisner <d@falconindy.com>" could not be imported
错误:gvfs: key "1EB2638FF56C0C53" is unknown
:: 导入 PGP 密匙 F56C0C53,"Dave Reisner <d@falconindy.com>",创建 2011-06-26 吗? [Y/n] y
错误:libreoffice-zh-CN: key "94657AB20F2A092B" is unknown
:: 导入 PGP 密匙 0F2A092B,"Andreas Radke <andyrtr@archlinux.org>",创建 2011-05-14 吗? [Y/n] y
错误:key "Andreas Radke <andyrtr@archlinux.org>" could not be imported
错误:libreoffice-common: key "94657AB20F2A092B" is unknown
:: 导入 PGP 密匙 0F2A092B,"Andreas Radke <andyrtr@archlinux.org>",创建 2011-05-14 吗? [Y/n] y
错误:sdl_image: key "A5E9288C4FA415FA" is unknown
:: 导入 PGP 密匙 4FA415FA,"Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>",创建 2011-08-26 吗? [Y/n] y
错误:key "Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>" could not be imported
错误:sdl_mixer: key "A5E9288C4FA415FA" is unknown
:: 导入 PGP 密匙 4FA415FA,"Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>",创建 2011-08-26 吗? [Y/n] y
(17/17) 正在检查软件包完整性 [######################] 100%
错误:at-spi2-core: signature from "Ionut Biru <ibiru@archlinux.org>" is unknown trust
错误:at-spi2-atk: signature from "Ionut Biru <ibiru@archlinux.org>" is unknown trust
错误:cmake: signature from "Dave Reisner <d@falconindy.com>" is unknown trust
错误:gvfs: signature from "Dave Reisner <d@falconindy.com>" is unknown trust
错误:gvfs-obexftp: signature from "Dave Reisner <d@falconindy.com>" is unknown trust
错误:libreoffice-zh-CN: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
错误:libreoffice-common: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
错误:libreoffice-base: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
错误:libreoffice-calc: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
错误:libreoffice-draw: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
错误:libreoffice-gnome: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
错误:libreoffice-impress: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
错误:libreoffice-math: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
错误:libreoffice-writer: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
错误:sdl_image: signature from "Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>" is unknown trust
错误:sdl_mixer: signature from "Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>" is unknown trust
错误:sdl_ttf: signature from "Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>" is unknown trust
错误:无法提交处理 (无效或已损坏的软件包 (PGP 签名))
发生错误,没有软件包被更新。
这个怎么解决啊, PGP 密匙在那里放着?能不能把他导入的 PGP 密匙删掉? :em19 :em19 :em19
离线
难道是pacman4? :em20 :em20 :em20
小白路过,大家给点面子!
离线
离线
恩,是的, :em19
离线
[fracting的大作]Wine使用中的一些常见误区
http://forum.ubuntu.org.cn/viewtopic.php?f=121&t=363147
顺便学习一下对待开源软件的正确态度
离线
真疼,刚才去查了一下,真的出了Testing,进core里面去了。 :em27 :em27 :em27
http://www.archlinux.org/news/pacman-4-moves-to-core/
小白路过,大家给点面子!
离线
首先
# pacman-key --init
然后修改
/etc/pacman.conf.pacnew
去掉
SigLevel = Optional TrustAll
前的"#"
在
SigLevel = Never
前添加"#"
否则你得手动给每一个包签名最后修改
/etc/pacman.d/gnupg/gpg.conf
中的
keyserver hkp://keys.gnupg.net
为
keyserver hkp://pgp.mit.edu
还把
# PGP signature checking
# NOTE: None of this will work without running `pacman-key --init` first.
# The compiled in default is equivalent to the following line. This requires
# you to locally sign and trust packager keys using `pacman-key` for them to be
# considered valid.
#SigLevel = Optional TrustedOnly
# If you wish to check signatures but avoid local sign and trust issues, use
# the following line. This will treat any key imported into pacman's keyring as
# trusted.
SigLevel = Optional TrustAll
# For now, off by default unless you read the above.
#SigLevel = Never
加到了/etc/pacman.conf,运行 pacman -Syu 结果如下:
(20/20) 正在检查软件包完整性 [######################] 100%
错误:inetutils: key "FCF2CB179205AC90" is unknown
错误:key "FCF2CB179205AC90" could not be looked up remotely
错误:intltool: key "FCF2CB179205AC90" is unknown
错误:key "FCF2CB179205AC90" could not be looked up remotely
错误:无法提交处理 (无效或已损坏的软件包)
发生错误,没有软件包被更新。
这个是,inetutils 和 intltool 这两个软件有问题? 还有问一下 /etc/pacman.d/gnupg/gpg.conf 中 keyserver hkp://keys.gnupg.net 和 keyserver hkp://pgp.mit.edu 有什么区别?
离线
wiki上写了,pgp.mit.edu是archlinux开发者们喜欢使用的一个keyserver。
密钥导入失败的话,把/etc/pacman.d/gnupg/gpg.conf中的keyserver一行改为 keyserver hkp://pgp.mit.edu:11371
离线
wiki上写了,pgp.mit.edu是archlinux开发者们喜欢使用的一个keyserver。
密钥导入失败的话,把/etc/pacman.d/gnupg/gpg.conf中的keyserver一行改为 keyserver hkp://pgp.mit.edu:11371
谢谢!!! :em11
离线
忘记说了pacman升级后配置文件在/etc/pacman.conf.pacnew里
备份老配置
# cp /etc/pacman.conf /etc/pacman.conf.bak
修改新配置
# nano /etc/pacman.conf.pacnew
覆盖老配置
# cp /etc/pacman.conf.pacnew /etc/pacman.conf
[fracting的大作]Wine使用中的一些常见误区
http://forum.ubuntu.org.cn/viewtopic.php?f=121&t=363147
顺便学习一下对待开源软件的正确态度
离线
我这也提醒更新了
但是提示:
错误:无法准备事务处理 (无法满足依赖关系)
:: package-query: 要求 pacman<3.6
无法更新
我的博客 我的围脖
我的Gmail:wodewodewode@gmail.com
Google+
亲!115网盘外链可以无限期了哟!戳一下吧!
离线
我这也提醒更新了
但是提示:
错误:无法准备事务处理 (无法满足依赖关系)
:: package-query: 要求 pacman<3.6
无法更新
先删掉yaourt和package-query然后再更新,改pacman.conf.pacnew的时候再把archlinuxfr的源加上,最后重新安装yaourt。
离线
linux_inside 说:我这也提醒更新了
但是提示:
错误:无法准备事务处理 (无法满足依赖关系)
:: package-query: 要求 pacman<3.6
无法更新先删掉yaourt和package-query然后再更新,改pacman.conf.pacnew的时候再把archlinuxfr的源加上,最后重新安装yaourt。
OK,搞定了! :em11 记住了!
我的博客 我的围脖
我的Gmail:wodewodewode@gmail.com
Google+
亲!115网盘外链可以无限期了哟!戳一下吧!
离线
改过/etc/pacman.d/gnupg/gpg.conf 内: hkp://pgp.mit.edu:11371
改过/etc/pacman.conf.pacnew 内的更新内容
#pacman-key --init
提示如下:
gpg: Generating pacman keychain master key...
Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy!(Need 284 more bytes)
离线
改过/etc/pacman.d/gnupg/gpg.conf 内: hkp://pgp.mit.edu:11371
改过/etc/pacman.conf.pacnew 内的更新内容#pacman-key --init
提示如下:
gpg: Generating pacman keychain master key...
Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy!(Need 284 more bytes)
鼠标晃几下就行
[fracting的大作]Wine使用中的一些常见误区
http://forum.ubuntu.org.cn/viewtopic.php?f=121&t=363147
顺便学习一下对待开源软件的正确态度
离线