Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- =====| CATATAN YUM 1 |======
- Melihat fitur-fitur pada YUM
- # yum
- Loaded plugins: fastestmirror, langpacks, refresh-packagekit
- You need to give some command
- Usage: yum [options] COMMAND
- List of Commands:
- autoremove Remove leaf packages
- check Check for problems in the rpmdb
- check-update Check for available package updates
- clean Remove cached data
- deplist List a package's dependencies
- distribution-synchronization Synchronize installed packages to the latest available versions
- downgrade downgrade a package
- erase Remove a package or packages from your system
- fs Acts on the filesystem data of the host, mainly for removing docs/lanuages for minimal hosts.
- fssnapshot Creates filesystem snapshots, or lists/deletes current snapshots.
- groups Display, or use, the groups information
- help Display a helpful usage message
- history Display, or use, the transaction history
- info Display details about a package or group of packages
- install Install a package or packages on your system
- langavailable Check available languages
- langinfo List languages information
- langinstall Install appropriate language packs for a language
- langlist List installed languages
- langremove Remove installed language packs for a language
- list List a package or groups of packages
- load-transaction load a saved transaction from filename
- makecache Generate the metadata cache
- provides Find what package provides the given value
- reinstall reinstall a package
- repo-pkgs Treat a repo. as a group of packages, so we can install/remove all of them
- repolist Display the configured software repositories
- search Search package details for the given string
- shell Run an interactive yum shell
- swap Simple way to swap packages, instead of using shell
- update Update a package or packages on your system
- update-minimal Works like upgrade, but goes to the 'newest' package match which fixes a problem that affects your system
- updateinfo Acts on repository update information
- upgrade Update packages taking obsoletes into account
- version Display a version for the machine and/or available repos.
- Update repo sekaligus paket-paket yang terpasang
- # yum update
- Update paket tertentu saja
- # yum update namapaket
- Update repo
- # yum updateinfo
- Instalasi paket tertentu beserta dependensinya
- # yum install namapaket
- Reinstal paket tertentu
- # yum reinstall namapaket
- Hapus paket tertentu
- # yum remove
- untuk menghapus paket-paket yang tidak butuhkan lagi
- # yum autoremove
- Melihat dependensi yang dibutuhkan oleh suatu paket. Dependensi
- # yum deplist namapaket
- =====| CATATAN YUM 2 |======
- # yum install wine
- Muncul error:
- Error: Multilib version problems found. This often means that the root
- cause is something else and multilib version checking is just
- pointing out that there is a problem. Eg.:
- 1. You have an upgrade for libusbx which is missing some
- dependency that another package requires. Yum is trying to
- solve this by installing an older version of libusbx of the
- different architecture. If you exclude the bad architecture
- yum will tell you what the root cause is (which package
- requires what). You can try redoing the upgrade with
- --exclude libusbx.otherarch ... this should give you an error
- message showing the root cause of the problem.
- 2. You have multiple architectures of libusbx installed, but
- yum can only see an upgrade for one of those architectures.
- If you don't want/need both architectures anymore then you
- can remove the one with the missing update and everything
- will work.
- 3. You have duplicate versions of libusbx installed already.
- You can use "yum check" to get yum show these errors.
- ...you can also use --setopt=protected_multilib=false to remove
- this checking, however this is almost never the correct thing to
- do as something else is very likely to go wrong (often causing
- much more problems).
- Paket yang bermasalah di sini adalah libusbx dan libvpx. Ini pertama kalinya saya bermasalah dengan hal seperti ini. Saya coba # yum autoremove kemudian # yum update, akan tetapi tetap saja tidak menyelesaikan masalah. Akhirnya saya mencoba perintah #yum untuk melihat menu-menu yang tersedia pada YUM.
- Nah, saya tertarik dengan menu "distribution-synchronization". Menu ini berfungsi untuk melakukan sinkronisasi paket-paket yang dimiliki oleh Fedora ke server repo Fedora. Jadi, menu ini menjadikan isi Fedora yang kita miliki menjadi benar-benar Fedora (saya tidak tau mau bilang apa). Hasil setelah menjalankan #yum distribution-synchronization adalah:
- Downgrade libusbx-1.0.19-1.fc20.x86_64 @updates
- Downgraded 1.0.19-100.rc2.fc20.x86_64 @fedora-chromium-stable
- Downgrade libvpx-1.3.0-4.fc20.x86_64 @updates
- Downgraded 1.3.0-100.git8f850d6.fc20.x86_64 @fedora-chromium-stable
- Downgrade libwebp-0.3.1-3.fc20.x86_64 @updates
- Downgraded 0.3.1-3.gitcc55790.fc20.x86_64 @fedora-chromium-stable
- Ternyata adanya bentrok antara libusbx, libvpx, dan libwebp yang berada di repo fedora-chromium-stable dengan repo update. Akhirnya versi dari ketiga paket itu harus disesuaikan dengan versi yang ada di repo resmi fedora yaitu di repo updates. Instalasi wine menjadi lancar tanpa hambatan.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement