刚刚开始接触archlinux,想安装shutter,代码如下:
[ejin@jar shutter]$ ls
PKGBUILD libxml-perl
[ejin@jar shutter]$ makepkg -s
==> Making package: shutter 0.90-2 (Tue Aug 6 23:39:49 CST 2013)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for ejin:
error: target not found: perl-proc-simple
==> ERROR: 'pacman' failed to install missing dependencies.
[ejin@jar shutter]$
要怎么弄?
离线
添加这个源: https://bbs.archlinuxcn.org/viewtopic.php?id=1695
pacman -S shutter
离线
[ejin@jar shutter]$ yaourt shutter
1 lilydjwg/shutter 0.90-3
A featureful screenshot tool (formerly gscrot)
2 aur/shutter 0.90-2 (555)
A featureful screenshot tool (formerly gscrot)
3 aur/shutter-bzr 1253-2 (30)
A featureful screenshot tool (formerly gscrot) - Mario Kemper's
Experimental branch
==> Enter n of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
==> 1
resolving dependencies...
warning: cannot resolve "perl-proc-simple", a dependency of "shutter"
:: The following package cannot be upgraded due to unresolvable dependencies:
shutter
:: Do you want to skip the above package for this upgrade? [y/N] n
error: failed to prepare transaction (unexpected error)
还是不行
离线
[ejin@jar shutter]$ yaourt shutter
1 lilydjwg/shutter 0.90-3
A featureful screenshot tool (formerly gscrot)
2 aur/shutter 0.90-2 (555)
A featureful screenshot tool (formerly gscrot)
3 aur/shutter-bzr 1253-2 (30)
A featureful screenshot tool (formerly gscrot) - Mario Kemper's
Experimental branch
==> Enter n of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
==> 1resolving dependencies...
warning: cannot resolve "perl-proc-simple", a dependency of "shutter"
:: The following package cannot be upgraded due to unresolvable dependencies:
shutter:: Do you want to skip the above package for this upgrade? [y/N] n
error: failed to prepare transaction (unexpected error)
还是不行
perl-proc-simple 已添加,再试试看。
离线
yaourt shutter
1 lilydjwg/shutter 0.90-3
A featureful screenshot tool (formerly gscrot)
2 aur/shutter 0.90-2 (555)
A featureful screenshot tool (formerly gscrot)
3 aur/shutter-bzr 1253-2 (30)
A featureful screenshot tool (formerly gscrot) - Mario Kemper's
Experimental branch
==> Enter n of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
==> 1
resolving dependencies...
looking for inter-conflicts...
Packages (63): gd-2.1.0-1 goocanvas1-1.0.0-2 gtkimageview-1.6.4-3
perl-bit-vector-7.3-1 perl-carp-clan-6.04-2
perl-class-accessor-0.34-3 perl-class-data-inheritable-0.08-5
perl-common-sense-3.72-1 perl-data-random-0.08-2
perl-date-calc-6.3-2 perl-digest-hmac-1.03-2
perl-digest-sha1-2.13-4 perl-encode-locale-1.03-1
perl-extutils-depends-0.304-2 perl-extutils-pkgconfig-1.14-1
perl-file-basedir-0.03-5 perl-file-copy-recursive-0.38-2
perl-file-listing-6.04-1 perl-file-which-1.09-3 perl-gd-2.50-2
perl-gnome2-wnck-0.16-8 perl-goo-canvas-0.06-3
perl-gtk2-imageview-0.05-3 perl-gtk2-unique-0.05-3
perl-html-form-6.03-1 perl-html-parser-3.71-2
perl-html-tagset-3.20-3 perl-http-cookies-6.01-1
perl-http-daemon-6.01-1 perl-http-date-6.02-1
perl-http-message-6.06-1 perl-http-negotiate-6.01-1
perl-http-response-encoding-0.06-2
perl-http-server-simple-0.44-1 perl-image-exiftool-9.27-1
perl-io-socket-ssl-1.953-1 perl-json-2.59-1
perl-json-xs-2.34-1 perl-libwww-6.05-1
perl-lwp-mediatypes-6.02-1 perl-lwp-protocol-https-6.04-1
perl-mouse-1.11-1 perl-mozilla-ca-20130114-1
perl-net-dbus-1.0.0-3 perl-net-dropbox-api-1.9-2
perl-net-http-6.06-1 perl-net-oauth-0.28-2
perl-net-ssleay-1.55-1 perl-path-class-0.32-1
perl-proc-processtable-0.48-1 perl-proc-simple-1.30-1
perl-sort-naturally-1.03-1 perl-sub-uplevel-0.24-1
perl-test-warn-0.24-1 perl-text-iconv-1.7-8
perl-tree-dag-node-1.12-1 perl-uri-1.60-1
perl-www-mechanize-1.72-1 perl-www-robotrules-6.02-1
perl-x11-protocol-0.56-5 perl-xml-twig-3.44-1
perl-yaml-tiny-1.51-2 shutter-0.90-3
Total Installed Size: 37.59 MiB
:: Proceed with installation? [Y/n] y
(63/63) checking keys in keyring [######################] 100%
(63/63) checking package integrity [######################] 100%
error: perl-yaml-tiny: missing required signature
:: File /var/cache/pacman/pkg/perl-yaml-tiny-1.51-2-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
从ubuntu转来,问题太多了,还是不行
离线
sudo pacman-key --lsign-key 95FF0792 这条命令执行过没?这个签名是有的,在这里 http://lilydjwg.vim-cn.com/repo/any/per … tar.xz.sig 。
离线
签名要怎么用?
离线
签名要怎么用?
pacman 自己会用的。
离线
一只鞋飞在空中 说:签名要怎么用?
pacman 自己会用的。
那还是不行...是源的问题么
离线
一只鞋飞在空中 说:签名要怎么用?
pacman 自己会用的。
error: perl-yaml-tiny: missing required signature
:: File /var/cache/pacman/pkg/perl-yaml-tiny-1.51-2-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
离线
下载回来再安装呢:
wget http://lilydjwg.vim-cn.com/repo/any/perl-yaml-tiny-1.51-2-any.pkg.tar.xz.sig http://lilydjwg.vim-cn.com/repo/any/perl-yaml-tiny-1.51-2-any.pkg.tar.xz
sudo pacman -U perl-yaml-tiny-1.51-2-any.pkg.tar.xz
离线
可以了,谢谢。第一次弄arch,学习了不少东西
离线
下次可以試試手動刪除出問題的檔案
>:: File /var/cache/pacman/pkg/perl-yaml-tiny-1.51-2-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
sudo rm /var/cache/pacman/pkg/perl-yaml-tiny-1.51-2-any.pkg.tar.xz
OR 清除快取
yaourt -Scc
离线
添加这个源: https://bbs.archlinuxcn.org/viewtopic.php?id=1695
pacman -S shutter
终于看到有这个东西了,但是》。。。。。。
[mugya@arch ~]$ mm shutter
正在解决依赖关系...
警告:无法解决 "libxml-perl","shutter" 的一个依赖关系
:: 因为无法解决依赖关系,以下软件包无法进行更新:
shutter
:: 您想在本次更新中跳过上述软件包吗? [y/N] y
正在查找相互冲突...
今日无事可做
[mugya@arch ~]$ mm libxml-perl
错误:未找到目标:libxml-perl
不忘初心,方得始终
离线
百合仙子 说:添加这个源: https://bbs.archlinuxcn.org/viewtopic.php?id=1695
pacman -S shutter终于看到有这个东西了,但是》。。。。。。
[mugya@arch ~]$ mm shutter
正在解决依赖关系...
警告:无法解决 "libxml-perl","shutter" 的一个依赖关系
:: 因为无法解决依赖关系,以下软件包无法进行更新:
shutter:: 您想在本次更新中跳过上述软件包吗? [y/N] y
正在查找相互冲突...
今日无事可做
[mugya@arch ~]$ mm libxml-perl
错误:未找到目标:libxml-perl
漏掉了……刚加上,你再 pacman -Sy shutter 试试。
离线