FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2013
    Location
    Leamington Spa, UK
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [SOLVED] Broken yum, curl and multilib problems

    Sorry in advance for the blatant stupidly!
    I recently installed fedora19 on my Asus N55sf after having not used Fedora for a while. I use bumblebee and bbswitch as it has Nvidia Optimus. Occasionally it doesn't boot into the desktop but hangs before the login prompt (separate issue). Last time this happened I swapped into a virtual terminal and decided to run a yum update in case the problem that caused the failure of X had been caused by a bug in a package which since had been updated. Unfortunately while running the update, my computer rebooted unexpectedly. I then successfully rebooted into the desktop and ran the update again but encountered errors about unfinished transactions. I followed the suggested instructions to complete the transactions but was left with messages when running yum update about protected packages and mulitilb conflicts. I ran yum distro-sync which seemed to stop yum update complaining so much. After googling the error I stupidly decided to remove the i686 versions of nss and nss-softokn using

    Code:
    sudo rpm --nodeps -e nss.i686 nss-softokn.i686
    to see if this resolved the apparent conflicts! Stupid idea as this broke curl which clearly relies on nss and/or nss-softokn. As I couldn't find a local cached copy of these packages to use "yum localinstall" I downloaded the two packages from an http mirror and installed them as follows:

    Code:
    sudo rpm -Uvh nss-3.15.2-1.fc19.i686.rpm
    sudo rpm -Uvh nss-softokn-3.15.2-1.fc19.i686.rpm
    But yum and curl are still broken. I wonder whether Curl which is used by Yum is looking for the NSS binary in the wrong place? Perhaps dynamically linked to the wrong version of nss or nss-softokn? On Gentoo I'd probably run their revdep-rebuild tool which might fix the dynamic linking problem.

    My current "yum check" output is:

    Code:
    Loaded plugins: langpacks, refresh-packagekit
    1:autocorr-en-4.1.2.3-3.fc19.noarch is a duplicate with 1:autocorr-en-4.1.2.3-2.fc19.noarch
    1:libreoffice-opensymbol-fonts-4.1.2.3-3.fc19.noarch is a duplicate with 1:libreoffice-opensymbol-fonts-4.1.2.3-2.fc19.noarch
    1:libreoffice-ure-4.1.2.3-3.fc19.x86_64 is a duplicate with 1:libreoffice-ure-4.1.2.3-2.fc19.x86_64
    nspr-4.10.1-1.fc19.i686 is a duplicate with nspr-4.10.0-3.fc19.x86_64
    nss-softokn-3.15.2-1.fc19.i686 is a duplicate with nss-softokn-3.15.1-1.fc19.x86_64
    nss-softokn-freebl-3.15.2-1.fc19.i686 is a duplicate with nss-softokn-freebl-3.15.1-1.fc19.x86_64
    nss-util-3.15.2-1.fc19.i686 is a duplicate with nss-util-3.15.1-1.fc19.x86_64
    Error: check all
    yum distro-sync yields an unending string of mirrors not found, as does yum update. So, basically I can't update or install any software or probably use any software that uses curl.

    Could I manually diagnose/fix the links to the right binaries or have I irreparably broken my system by venturing outside the relative safety of yum?

    Thanks for any suggestions you may have.

    UPDATE: for some reason yum is now working! not sure why.
    yum still complains with the following (probably not the end of the world though):
    Code:
    Warning: RPMDB altered outside of yum.
    ** Found 7 pre-existing rpmdb problem(s), 'yum check' output follows:
    1:autocorr-en-4.1.2.3-3.fc19.noarch is a duplicate with 1:autocorr-en-4.1.2.3-2.fc19.noarch
    1:libreoffice-opensymbol-fonts-4.1.2.3-3.fc19.noarch is a duplicate with 1:libreoffice-opensymbol-fonts-4.1.2.3-2.fc19.noarch
    1:libreoffice-ure-4.1.2.3-3.fc19.x86_64 is a duplicate with 1:libreoffice-ure-4.1.2.3-2.fc19.x86_64
    nspr-4.10.1-1.fc19.i686 is a duplicate with nspr-4.10.0-3.fc19.x86_64
    nss-softokn-3.15.2-1.fc19.i686 is a duplicate with nss-softokn-3.15.1-1.fc19.x86_64
    nss-softokn-freebl-3.15.2-1.fc19.i686 is a duplicate with nss-softokn-freebl-3.15.1-1.fc19.x86_64
    nss-util-3.15.2-1.fc19.i686 is a duplicate with nss-util-3.15.1-1.fc19.x86_64
    UPDATE 2:
    So I think I have solved the yum errors. I ran:
    yum clean all
    yum distro-sync
    yum update
    Last edited by ToughNode; 13th October 2013 at 08:13 PM. Reason: Possibly partially/solved?

  2. #2
    Join Date
    Dec 2013
    Location
    Canada
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Broken yum, curl and multilib problems

    Hi All,

    I seem to have a similar issue, I tried to run

    Code:
    sudo yum update
    and receive the following error:

    Code:
    Loaded plugins: langpacks, refresh-packagekit
    Resolving Dependencies
    --> Running transaction check
    ---> Package google-noto-sans-lisu-fonts.noarch 0:20130807-1.fc19 will be installed
    ---> Package google-noto-sans-mandaic-fonts.noarch 0:20130807-1.fc19 will be installed
    ---> Package google-noto-sans-meeteimayek-fonts.noarch 0:20130807-1.fc19 will be installed
    ---> Package google-noto-sans-tagalog-fonts.noarch 0:20130807-1.fc19 will be installed
    ---> Package google-noto-sans-tai-tham-fonts.noarch 0:20130807-1.fc19 will be installed
    ---> Package google-noto-sans-tai-viet-fonts.noarch 0:20130807-1.fc19 will be installed
    ---> Package nspr.i686 0:4.10.0-3.fc19 will be updated
    ---> Package nspr.i686 0:4.10.1-1.fc19 will be an update
    --> Finished Dependency Resolution
    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 nspr which is missing some
                dependency that another package requires. Yum is trying to
                solve this by installing an older version of nspr 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 nspr.otherarch ... this should give you an error
                message showing the root cause of the problem.
           
             2. You have multiple architectures of nspr 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 nspr 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).
           
           Protected multilib versions: nspr-4.10.1-1.fc19.i686 != nspr-4.10.0-3.fc19.x86_64
    I was able to complete both
    Code:
    sudo yum clean all
    as well as
    Code:
    sudo yum dystro sync
    , but as soon as I try to update, I fail again. any help much appreciated.

  3. #3
    Join Date
    Dec 2013
    Location
    Canada
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Broken yum, curl and multilib problems

    Update: I ran
    Code:
    sudo yum update nspr
    and got an error that nspr was up to date. I removed nspr.i686, and was sucessfully able to run yum update. After, I ran yum update nspr and no errors. I think everything is all good?

Similar Threads

  1. Multilib yum update problem
    By newladkg in forum Using Fedora
    Replies: 5
    Last Post: 23rd September 2013, 05:03 PM
  2. Multilib version problems found
    By mpajoh in forum Installation, Upgrades and Live Media
    Replies: 9
    Last Post: 29th April 2013, 04:18 PM
  3. curl & curl-devel 7.12.3-6 installation
    By jjackniru in forum Using Fedora
    Replies: 3
    Last Post: 18th September 2006, 02:30 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •