Pagi kemarin sudah ramai dibicarakan oleh orang-orang di identi.ca dan teman-teman di grup Facebook Arch Linux Indonesia kalau Pacman 4 sudah masuk ke core. Namun baru pagi dini hari ini saya punya kesempatan untuk upgrade pacman di Arch Linux box saya. Seperti biasanya ritual untuk meng-update dengan perintah `yaourt -Syua` tapii…. ritual tersebut mengeluarkan keluaran seperti berikut ini:
┌─[archlinux]─[~]
└─[$] yaourt -Syua
Password:
:: Synchronizing package databases...
kde-unstable is up to date
core 106.6K 3.8M/s 00:00:00 [#############################################################] 100%
extra 1179.7K 5.7M/s 00:00:00 [#############################################################] 100%
community 1016.3K 26.1M/s 00:00:00 [#############################################################] 100%
multilib is up to date
archlinuxfr 28.0K 46.0K/s 00:00:01 [#############################################################] 100%
error: failed to prepare transaction (could not satisfy dependencies)
:: Starting full system upgrade...
:: package-query: requires pacman>=4.0
:: pacman-color: requires pacman>=4.0
:: yaourt: requires pacman>=4.0
:: package-query: requires pacman>=4.0
Waa ini… Keluaran ritual yang tidak saya harapkan sama sekali. Pengguna Arch Linux dimanapun berada pasti mengalami hal seperti ini. Dengan terpaksa saya remove paket-paket yang membuat ritual gagal, heuheuheu..
┌─[archlinux]─[~]
└─[$] yaourt -Rs package-query pacman-color yaourt
Password:
checking dependencies...
Remove (4): yaourt-0.10.2-1 pacman-color-3.5.4-1 package-query-0.9-1 yajl-2.0.4-1
Total Removed Size: 0.66 MB
Do you want to remove these packages? [Y/n]
(1/4) removing yaourt [#############################################################] 100%
(2/4) removing pacman-color [#############################################################] 100%
(3/4) removing package-query [#############################################################] 100%
(4/4) removing yajl
Nah sekarang harusnya ritual update bisa sukses dengan perintah `sudo pacman -Syu`
┌─[archlinux]─[~]
└─[$] sudo pacman -Syu
:: Synchronizing package databases...
kde-unstable is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
archlinuxfr is up to date
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] Y
resolving dependencies...
looking for inter-conflicts...
Targets (2): libarchive-3.0.3-2 pacman-4.0.1-4
Total Download Size: 2.13 MB
Total Installed Size: 6.16 MB
Proceed with installation? [Y/n]
:: Retrieving packages from core...
libarchive-3.0.3-2-x86_64 1173.8K 34.5M/s 00:00:00 [#############################################################] 100%
pacman-4.0.1-4-x86_64 1011.5K 26.8M/s 00:00:00 [#############################################################] 100%
(2/2) checking package integrity [#############################################################] 100%
(2/2) checking for file conflicts [#############################################################] 100%
(1/2) upgrading libarchive [#############################################################] 100%
(2/2) upgrading pacman [#############################################################] 100%
warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew
warning: /etc/makepkg.conf installed as /etc/makepkg.conf.pacnew
Bentulkan sukses
Karena pada saat ritual update tersebut yang diupgrade hanya 2 paket maka perlu melakukan ritual lagi untuk mengupdate semuanya.
┌─[archlinux]─[~]
└─[$] sudo pacman -Syu
:: Synchronizing package databases...
kde-unstable is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
archlinuxfr is up to date
:: Starting full system upgrade...
warning: kdepim-wizards: local (4.7.95-1) is newer than extra (4.7.4-1)
:: Replace oxygen-gtk with extra/oxygen-gtk2? [Y/n]
resolving dependencies...
looking for inter-conflicts...
Targets (19): audacity-1.3.14-2 cmake-2.8.7-2 colord-0.1.16-1 ethtool-1:3.2-1 gpgme-1.3.1-2 inetutils-1.9.1-1 intltool-0.50.0-1 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-en-US-3.4.5-1 libreoffice-impress-3.4.5-1
libreoffice-kde4-3.4.5-1 libreoffice-math-3.4.5-1 libreoffice-writer-3.4.5-1 oxygen-gtk-1.1.6-1 [removal] oxygen-gtk2-1.2.0-1 pkgtools-23-3
Total Download Size: 82.28 MiB
Total Installed Size: 325.54 MiB
Net Upgrade Size: 0.17 MiB
Proceed with installation? [Y/n]
:: Retrieving packages from core...
gpgme-1.3.1-2-x86_64 207.1 KiB 61.5M/s 00:00 [#############################################################] 100%
inetutils-1.9.1-1-x86_64 253.4 KiB 47.4M/s 00:00 [#############################################################] 100%
:: Retrieving packages from extra...
audacity-1.3.14-2-x86_64 3.2 MiB 32.6M/s 00:00 [#############################################################] 100%
cmake-2.8.7-2-x86_64 3.6 MiB 66.4M/s 00:00 [#############################################################] 100%
colord-0.1.16-1-x86_64 145.1 KiB 41.4M/s 00:00 [#############################################################] 100%
ethtool-1:3.2-1-x86_64 68.9 KiB 22.9M/s 00:00 [#############################################################] 100%
intltool-0.50.0-1-any 37.7 KiB 2.63M/s 00:00 [#############################################################] 100%
libreoffice-en-US-3.4.5-1-x86_64 6.8 MiB 68.6M/s 00:00 [#############################################################] 100%
libreoffice-common-3.4.5-1-x86_64 58.8 MiB 40.3M/s 00:01 [#############################################################] 100%
libreoffice-base-3.4.5-1-x86_64 1891.2 KiB 24.1M/s 00:00 [#############################################################] 100%
libreoffice-calc-3.4.5-1-x86_64 4.1 MiB 75.3M/s 00:00 [#############################################################] 100%
libreoffice-draw-3.4.5-1-x86_64 3.4 KiB 31.7M/s 00:00 [#############################################################] 100%
libreoffice-impress-3.4.5-1-x86_64 103.5 KiB 20.3M/s 00:00 [#############################################################] 100%
libreoffice-kde4-3.4.5-1-x86_64 48.4 KiB 9.97M/s 00:00 [#############################################################] 100%
libreoffice-math-3.4.5-1-x86_64 279.3 KiB 11.3M/s 00:00 [#############################################################] 100%
libreoffice-writer-3.4.5-1-x86_64 2.4 MiB 69.1M/s 00:00 [#############################################################] 100%
oxygen-gtk2-1.2.0-1-x86_64 366.0 KiB 77.7M/s 00:00 [#############################################################] 100%
:: Retrieving packages from community...
pkgtools-23-3-x86_64 32.6 KiB 10.6M/s 00:00 [#############################################################] 100%
(18/18) checking package integrity [#############################################################] 100%
error: audacity: signature from "Eric Belanger <eric@archlinux.org>" is unknown trust
error: cmake: signature from "Dave Reisner <d@falconindy.com>" is unknown trust
error: colord: signature from "Ionut Biru <ibiru@archlinux.org>" is unknown trust
error: ethtool: signature from "Ionut Biru <ibiru@archlinux.org>" is unknown trust
error: gpgme: signature from "Dave Reisner <d@falconindy.com>" is unknown trust
error: inetutils: signature from "Eric Belanger <eric@archlinux.org>" is unknown trust
error: intltool: signature from "Eric Belanger <eric@archlinux.org>" is unknown trust
error: libreoffice-en-US: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
error: libreoffice-common: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
error: libreoffice-base: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
error: libreoffice-calc: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
error: libreoffice-draw: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
error: libreoffice-impress: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
error: libreoffice-kde4: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
error: libreoffice-math: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
error: libreoffice-writer: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
error: oxygen-gtk2: signature from "Andrea Scarpino (Arch Linux) <andrea@archlinux.org>" is unknown trust
error: pkgtools: signature from "Dave Reisner <d@falconindy.com>" is unknown trust
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
Lho…?? Kok keluaran dari ritual update kok seperti itu? Saya jadi inget tadi pagi pak dosen @dwijonarko juga mengalami masalah seperti ini. Solusi dari masalah diatas dengan melakukan `pacman-key --init` dan setting `SigLevel = Optional TrustAll` pada /etc/pacman.conf. Sip deh, sekarang ritual update sudah beres, tinggal memasang beberapa paket yang sebelumnya diremove.
┌─[archlinux]─[~]
└─[$] sudo pacman -S yaourt pacman-color
resolving dependencies...
looking for inter-conflicts...
Targets (4): package-query-1.0-1 yajl-2.0.4-1 pacman-color-4.0.1-1 yaourt-1.0-1
Total Download Size: 0.10 MiB
Total Installed Size: 0.71 MiB
Proceed with installation? [Y/n]
:: Retrieving packages from archlinuxfr...
package-query-1.0-1-x86_64 21.6 KiB 36.2K/s 00:01 [#############################################################] 100%
yaourt-1.0-1-any 41.3 KiB 71.7K/s 00:01 [#############################################################] 100%
pacman-color-4.0.1-1-x86_64 38.4 KiB 120K/s 00:00 [#############################################################] 100%
(4/4) checking package integrity [#############################################################] 100%
(4/4) loading package files [#############################################################] 100%
(4/4) checking for file conflicts [#############################################################] 100%
(1/4) installing yajl [#############################################################] 100%
(2/4) installing package-query [#############################################################] 100%
(3/4) installing yaourt [#############################################################] 100%
Optional dependencies for yaourt
aurvote: vote for favorite packages from AUR for inclusion in [community]
customizepkg: automatically modify PKGBUILD during install/upgrade
rsync: retrieve PKGBUILD from official repositories
pacman-color: fully colorized output
(4/4) installing pacman-color
Woohooo… now my Arch Linux box using Pacman 4!

=-=-=-=-=
Powered by Blogilo
Advertisement
Like this:
Be the first to like this post.
gracias , la verdad ayuda mucho , linux no tiene limites idiomaticos
le invitamos
gracias…
Sama-sama