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
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 --nodeps -e nss.i686 nss-softokn.i686
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.Code:sudo rpm -Uvh nss-3.15.2-1.fc19.i686.rpm sudo rpm -Uvh nss-softokn-3.15.2-1.fc19.i686.rpm
My current "yum check" output is:
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.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
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):
UPDATE 2: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
So I think I have solved the yum errors. I ran:
yum clean all
yum distro-sync
yum update


Reply With Quote
