مشکل dependency در حین تلاش برای نصب kleopatra

سلام. من میخواستم که پکیج kleopatra رو نصب کنم ولی به یه مشکل عجیب برخوردم که راه حلی هم براش پیدا نکردم. کسی میتونه کمکم کنه لطفا؟

[ali@cxz 8-magic-api]$ sudo pacman -Sy kleopatra
[sudo] password for ali: 
:: Synchronizing package databases...
 core is up to date
 extra                                            7.9 MiB   163 KiB/s 00:49 [------------------------------------------] 100%
 multilib is up to date
 ppr is up to date
 pcp is up to date
resolving dependencies...
looking for conflicting packages...
:: gpgmepp-2.0.0-2 and gpgme-1.24.3-2 are in conflict. Remove gpgme? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'gpgme' required by gpgmepp
:: removing gpgme breaks dependency 'gpgme' required by kwallet
:: removing gpgme breaks dependency 'gpgme' required by kwallet5
:: removing gpgme breaks dependency 'gpgme' required by libreoffice-still
:: removing gpgme breaks dependency 'gpgme' required by pacman
:: removing gpgme breaks dependency 'gpgme' required by poppler
:: removing gpgme breaks dependency 'gpgme' required by volume_key
[ali@cxz 8-magic-api]$

این تاپیک رو هم مطالعه کردم ولی بدردم نخورد.

پ.ن: ‌سیستمم آپدیته.

دستی بسته‌ای که ارور میده رو با

pacman -Rdd

حذف کن

ارور جدید :smiling_face_with_tear:

[ali@cxz 8-magic-api]$ sudo pacman -Sy kleopatra
pacman: error while loading shared libraries: libgpgme.so.11: cannot open shared object file: No such file or directory

فکر کنم کلا گند خورد به پکمن‌ام آره؟ چون این gpgme برای پکمن dependency بود :smile:

لایو بیار بالا دوباره نصبش کن بسته رو، احتمالا بریکینگ چنج داریم از سمت آرچ.

1 Like

لایو بیار بالا دوباره نصبش کن بسته رو، احتمالا بریکینگ چنج داریم از سمت آرچ.

برای چنچ محیط از لایو به سیستم خودم چه دستوری باید میزدم؟

sudo pacman -Sy

نکنید اینکار رو. ناقص سیستم رو آپدیت نکنید.
از اینجا:

That is why partial upgrades are not supported. Do not use:

  • pacman -Sy package
  • pacman -Sy followed by pacman -S package (Note the absence of -Su in the installation of the package.)
  • pacman -Syuw (Note that pacman -Syuw does imply the same risks like pacman -Sy, as it will update the pacman sync database without installing the newer packages.)

عجب راهنمایی جالبی بود. :exploding_head:

با static pacman برید از /var/cache/pacman/pkg دوباره نصبش کنید.
از اینجا بگیریدش:

صفحه aur:
https://aur.archlinux.org/packages/pacman-static

عزیزجان من گفتم “سیستمم آپدیته” یعنی کامل آپدیته، حتی دوبار قبل اینکه اینجا پیام بذارم آپدیت کردم، امکان نداره دوبار ناقص بشه، میشه؟ بناربراین این صحبت شما عملا بلااستفاده‌ست. لطفا بخونید سوال و شرایطو، بعد توضیحات بذارید.

انگار که رفتی دکتر می‌گی سرم درد می‌کنه. سوال می‌کنه شما میگی هر صبح که بیدار می‌شم سرمو میکوبم تو دیوار ولی کلاه محافظ می‌پوشم قبلش. دکتر می‌گه خب اول از همه اینکارو نکن فارق از هر مشکلی. شما بگی منو هنوز معاینه نکردی بنابراین این صحبت شما عملا بلااستفاده‌ست.
خب کار نادرست رو نکن اول. بعد مشکل رو یا من می‌تونم کمک کنم حل بشه یا نمی‌تونم

الان دیدم تاپیک رو زدین حل شده. کاش توضیح می‌دادین چطور حل شد که بقیه که به این مشکل می‌خورن استفاده کنن.

این رو هم میذارم اینجا که حرف من رو تایید کنه مشکل از کجا بود:

They wouldn’t have crashed in the first place, and you wouldn’t have had an issue removing the old package if you would just STOP DOING PARTIAL UPDATES. This -Sy here is a TERRIBLE idea that’s causing you problems!

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.