Процесс обновления на aws (sudo yum update) завис из-за нехватки памяти, после этого попытки sudo yum update приводили к сообщению

Ошибка:  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 xz-libs which is missing some
             dependency that another package requires. Yum is trying to
             solve this by installing an older version of xz-libs 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 xz-libs.otherarch ... this should give you an error
             message showing the root cause of the problem.
        
          2. You have multiple architectures of xz-libs 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 xz-libs 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).
        
        Защищённые версии multilib: xz-libs-5.2.2-1.el7.i686 != xz-libs-5.1.2-12alpha.el7.x86_64
Ошибка: Защищённые версии multilib: zlib-1.2.7-17.el7.i686 != zlib-1.2.7-15.el7.x86_64
Ошибка: Защищённые версии multilib: pam-1.1.8-18.el7.i686 != pam-1.1.8-12.el7_1.1.x86_64
Ошибка: Защищённые версии multilib: libsepol-2.5-6.el7.i686 != libsepol-2.1.9-3.el7.x86_64

Помогло:

yum upgrade --setopt=protected_multilib=false --skip-broken

 

3 комментария для “yum update – multilib Как решить проблему Error: Protected multilib versions”
  1. а меня остановило
    Вы также можете использовать –setopt = protected_multilib = false, чтобы удалить эту проверку, однако это почти никогда не является правильным решением, поскольку что-то еще может пойти не так (часто вызывая гораздо больше проблем).

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Этот сайт использует Akismet для борьбы со спамом. Узнайте, как обрабатываются ваши данные комментариев.