Fedora Linux Support Community & Resources Center
  #1  
Old 23rd September 2009, 04:44 PM
Hunkah Offline
Registered User
 
Join Date: Aug 2005
Location: Ottawa, ON
Posts: 198
windows_xp_2003firefox
Python issues in Yum

Hello everyone, I somehow listened to an online walk-through to upgrade to the next big version of Fedora! The day I did that, I haven't been able to log in to graphical mode. It keeps rebooting. So I have been daily logging in through the command line, and yum updating, to see if it will fix the problem. Now, I can't even yum update!

Can someone help me? Or help me downgrade back to F11?

Thanks.

Here is what happens:
Code:
# yum -y --disablerepo=* --enablerepo=rawhide update --skip-broken
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   /usr/lib/libcurl.so.4: undefined symbol: libssh2_knownhost_init

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.6.2 (r262:71600, Jul 30 2009, 17:09:09)
[GCC 4.4.1 20090725 (Red Hat 4.4.1-3)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://wiki.linux.duke.edu/YumFaq

Last edited by Hunkah; 24th September 2009 at 02:48 AM.
  #2  
Old 23rd September 2009, 10:51 PM
glennzo's Avatar
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,930
linuxfedorafirefox
Keeps rebooting or does it keep going back to the log in screen?
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
  #3  
Old 24th September 2009, 01:09 AM
ryptyde Offline
Registered User
 
Join Date: May 2005
Location: Tragic City, Michigan USA
Posts: 1,605
linuxfedorafirefox
I have F12 installed to an Acer Aspire One and after updating today I get the same error message:
Quote:
/usr/lib/libcurl.so.4: undefined symbol: libssh2_knownhost_init
dont have a reboot problem but neither epiphany or firefox run now and crash on start up.

Guess Xfce testing is out of the question now unless I can figure out how to back out of the recent updates or satisfy the missing dependency causing the break. This is the first real stumbling block for me so far with F12.
  #4  
Old 24th September 2009, 02:12 AM
jvillain Offline
Registered User
 
Join Date: Aug 2008
Posts: 226
linuxfedorafirefox
The dependancy will probably show up in the next couple of days.
  #5  
Old 24th September 2009, 02:47 AM
Hunkah Offline
Registered User
 
Join Date: Aug 2005
Location: Ottawa, ON
Posts: 198
windows_xp_2003firefox
Quote:
Originally Posted by glennzo View Post
Keeps rebooting or does it keep going back to the log in screen?
Sorry, Log in screen. It used to reboot or lock up, but after about a week of doing the "yum update" it now only goes back to the log in screen.
  #6  
Old 24th September 2009, 09:26 AM
glennzo's Avatar
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,930
linuxfedorafirefox
Quote:
Originally Posted by Hunkah View Post
Sorry, Log in screen. It used to reboot or lock up, but after about a week of doing the "yum update" it now only goes back to the log in screen.
Use CTRL/ALT/F2 to get to a virtual terminal. Log in as root. Type
Code:
yum downgrade xorg-x11-server-Xorg
Reboot. This worked for me. It solved the problem that you are describing.
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
  #7  
Old 24th September 2009, 09:28 AM
glennzo's Avatar
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,930
linuxfedorafirefox
Quote:
Originally Posted by ryptyde View Post
I have F12 installed to an Acer Aspire One and after updating today I get the same error message:
dont have a reboot problem but neither epiphany or firefox run now and crash on start up.

Guess Xfce testing is out of the question now unless I can figure out how to back out of the recent updates or satisfy the missing dependency causing the break. This is the first real stumbling block for me so far with F12.
You've probably rebooted by now Ryptyde? I tried yum updating my F12 system last night and got the same error. A reboot fixed things right up.
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
  #8  
Old 24th September 2009, 03:15 PM
Hunkah Offline
Registered User
 
Join Date: Aug 2005
Location: Ottawa, ON
Posts: 198
windows_xp_2003firefox
Quote:
Originally Posted by glennzo View Post
Use CTRL/ALT/F2 to get to a virtual terminal. Log in as root. Type
Code:
yum downgrade xorg-x11-server-Xorg
Reboot. This worked for me. It solved the problem that you are describing.
I would love to do this, but we are back to the original issue... I can't "yum" anything!

Yum is broken.
  #9  
Old 24th September 2009, 06:28 PM
Hunkah Offline
Registered User
 
Join Date: Aug 2005
Location: Ottawa, ON
Posts: 198
windows_xp_2003firefox
OK, I went to that link at the bottom
http://wiki.linux.duke.edu/YumFaq

...and followed what it said, and this is what I got.

Only I can't make sense of it.

Code:
]# python
Python 2.6.2 (r262:71600, Jul 30 2009, 17:09:09)
[GCC 4.4.1 20090725 (Red Hat 4.4.1-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import yum
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 39, in <module>
    import config
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 29, in <module>
    from parser import ConfigPreProcessor, varReplace
  File "/usr/lib/python2.6/site-packages/yum/parser.py", line 3, in <module>
    import urlgrabber
  File "/usr/lib/python2.6/site-packages/urlgrabber/__init__.py", line 55, in <module>
    from grabber import urlgrab, urlopen, urlread
  File "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py", line 407, in <module>
    import pycurl
ImportError: /usr/lib/libcurl.so.4: undefined symbol: libssh2_knownhost_init
>>>
  #10  
Old 24th September 2009, 08:45 PM
glennzo's Avatar
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,930
linuxfedorafirefox
Quote:
Originally Posted by Hunkah View Post
I would love to do this, but we are back to the original issue... I can't "yum" anything!

Yum is broken.
Umm... Yeah. Forget I said anything. Sometimes I get lost along the way. I think I stumbled in here by accident
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
  #11  
Old 24th September 2009, 09:03 PM
ryptyde Offline
Registered User
 
Join Date: May 2005
Location: Tragic City, Michigan USA
Posts: 1,605
linuxfedorafirefox
Quote:
Originally Posted by glennzo View Post
Umm... Yeah. Forget I said anything. Sometimes I get lost along the way. I think I stumbled in here by accident
Hey you're not getting off that easy pull up a seat and stay a while.

I have managed to fix the yum issue and also my web browser problem.

Downloaded and installed libcurl-7.19.6-8.fc12.i686.rpm libssh2-1.2-2.fc12.i686.rpm from RPMFIND to fix yum and then as a quick fix for the browsers set selinux to permissive.

Now I'm back in the game and hoping not to get sidelined soon.

a couple of more smilies and you might think a "bee" stung me.
  #12  
Old 24th September 2009, 09:37 PM
Hunkah Offline
Registered User
 
Join Date: Aug 2005
Location: Ottawa, ON
Posts: 198
windows_xp_2003firefox
Frig, I was going along fine, but now I am stuck again.

Code:
# rpm -ivh libssh2-1.2-2.fc12.i686.rpm
error: Failed dependencies:
        libcrypto.so.10 is needed by libssh2-1.2-2.fc12.i686
        libssl.so.10 is needed by libssh2-1.2-2.fc12.i686
So to get them, I needed openssl-1.0.0-0.7.beta3.fc12.i686.rpm

When I went to install it, I got.

Code:
# rpm -Uvh openssl-1.0.0-0.7.beta3.fc12.i686.rpm
error: Failed dependencies:
        libcrypto.so.8 is needed by (installed) rb_libtorrent-0.14.4-2.fc12.i686
        libcrypto.so.8 is needed by (installed) ekiga-3.2.5-3.fc12.i686
        libcrypto.so.8 is needed by (installed) sendmail-8.14.3-6.fc12.i686
        libcrypto.so.8 is needed by (installed) libssh2-1.0-3.fc12.i686
        libcrypto.so.8 is needed by (installed) ecore-0.9.9.050-6.fc12.i686
        libcrypto.so.8 is needed by (installed) libjingle-0.3.12-5.fc12.i686
        libcrypto.so.8 is needed by (installed) rb_libtorrent-python-0.14.4-2.fc12.i686
        libcrypto.so.8 is needed by (installed) xmms2-0.5-7.fc12.i686
        libcrypto.so.8 is needed by (installed) wget-1.11.4-4.fc12.i686
        libcrypto.so.8 is needed by (installed) mysql-embedded-5.1.36-1.fc12.i586
        libcrypto.so.8 is needed by (installed) stunnel-4.27-4.i686
        libcrypto.so.8 is needed by (installed) openssh-clients-5.2p1-17.fc12.i686
        libcrypto.so.8 is needed by (installed) wpa_supplicant-1:0.6.8-5.fc12.i686
        libcrypto.so.8 is needed by (installed) gstreamer-plugins-bad-0.10.13-3.fc11.i586
        libcrypto.so.8 is needed by (installed) libfprint-0.1.0-10.pre2.fc12.i686
        libcrypto.so.8 is needed by (installed) gmyth-0.7.1-10.fc12.1.i686
        libcrypto.so.8 is needed by (installed) openssh-5.2p1-17.fc12.i686
        libcrypto.so.8 is needed by (installed) bind-utils-32:9.6.1-7.P1.fc12.i686
        libcrypto.so.8 is needed by (installed) openssh-server-5.2p1-17.fc12.i686
        libcrypto.so.8 is needed by (installed) ntp-4.2.4p7-4.fc12.i686
        libcrypto.so.8 is needed by (installed) gstreamer-plugins-bad-extras-0.10.13-3.fc11.i586
        libcrypto.so.8 is needed by (installed) bind-libs-32:9.6.1-7.P1.fc12.i686
        libcrypto.so.8 is needed by (installed) opal-3.6.4-3.fc12.i686
        libcrypto.so.8 is needed by (installed) telepathy-salut-0.3.9-2.fc12.i686
        libcrypto.so.8 is needed by (installed) fipscheck-1.2.0-2.fc12.i686
        libcrypto.so.8 is needed by (installed) python-2.6.2-1.fc12.i686
        libcrypto.so.8 is needed by (installed) gpac-libs-0.4.5-7.fc11.i586
        libcrypto.so.8 is needed by (installed) mysql-libs-5.1.36-1.fc12.i586
        libcrypto.so.8 is needed by (installed) gnome-vfs2-2.24.1-8.fc12.i686
        libcrypto.so.8 is needed by (installed) cyrus-sasl-md5-2.1.23-1.fc12.i686
        libcrypto.so.8 is needed by (installed) libarchive-2.7.1-1.fc12.i686
        libcrypto.so.8 is needed by (installed) httpd-tools-2.2.13-1.fc12.i686
        libcrypto.so.8 is needed by (installed) postgresql-libs-8.4.0-1.fc12.i686
        libcrypto.so.8 is needed by (installed) cyrus-sasl-2.1.23-1.fc12.i686
        libcrypto.so.8 is needed by (installed) fetchmail-6.3.11-2.fc12.i686
        libcrypto.so.8 is needed by (installed) net-snmp-libs-1:5.4.2.1-15.fc12.i686
        libcrypto.so.8 is needed by (installed) net-snmp-1:5.4.2.1-15.fc12.i686
        libcrypto.so.8 is needed by (installed) qt-1:4.5.2-10.fc12.i686
        libcrypto.so.8 is needed by (installed) tcpdump-14:4.0.0-1.20090818git832d2c.fc12.i686
        libcrypto.so.8 is needed by (installed) ptlib-2.6.4-3.fc12.i686
        libcrypto.so.8 is needed by (installed) openoffice.org-core-1:3.1.1-19.2.fc12.i686
        libcrypto.so.8 is needed by (installed) evolution-data-server-2.27.91-1.fc12.i686
        libcrypto.so.8 is needed by (installed) openldap-2.4.16-4.fc12.i686
        libcrypto.so.8 is needed by (installed) transmission-1.74-2.fc12.i686
        libcrypto.so.8 is needed by (installed) xorg-x11-server-Xorg-1.6.99-41.20090825.fc12.i686
        libcrypto.so.8 is needed by (installed) hplip-libs-3.9.8-11.fc12.i686
        libcrypto.so.8 is needed by (installed) hpijs-1:3.9.8-11.fc12.i686
        libcrypto.so.8 is needed by (installed) libsane-hpaio-3.9.8-11.fc12.i686
        libcrypto.so.8 is needed by (installed) hplip-3.9.8-11.fc12.i686
        libssl.so.8 is needed by (installed) rb_libtorrent-0.14.4-2.fc12.i686
        libssl.so.8 is needed by (installed) ekiga-3.2.5-3.fc12.i686
        libssl.so.8 is needed by (installed) sendmail-8.14.3-6.fc12.i686
        libssl.so.8 is needed by (installed) libssh2-1.0-3.fc12.i686
        libssl.so.8 is needed by (installed) ecore-0.9.9.050-6.fc12.i686
        libssl.so.8 is needed by (installed) libjingle-0.3.12-5.fc12.i686
        libssl.so.8 is needed by (installed) rb_libtorrent-python-0.14.4-2.fc12.i686
        libssl.so.8 is needed by (installed) xmms2-0.5-7.fc12.i686
        libssl.so.8 is needed by (installed) wget-1.11.4-4.fc12.i686
        libssl.so.8 is needed by (installed) mysql-embedded-5.1.36-1.fc12.i586
        libssl.so.8 is needed by (installed) stunnel-4.27-4.i686
        libssl.so.8 is needed by (installed) wpa_supplicant-1:0.6.8-5.fc12.i686
        libssl.so.8 is needed by (installed) gstreamer-plugins-bad-0.10.13-3.fc11.i586
        libssl.so.8 is needed by (installed) gmyth-0.7.1-10.fc12.1.i686
        libssl.so.8 is needed by (installed) gstreamer-plugins-bad-extras-0.10.13-3.fc11.i586
        libssl.so.8 is needed by (installed) opal-3.6.4-3.fc12.i686
        libssl.so.8 is needed by (installed) telepathy-salut-0.3.9-2.fc12.i686
        libssl.so.8 is needed by (installed) python-2.6.2-1.fc12.i686
        libssl.so.8 is needed by (installed) gpac-libs-0.4.5-7.fc11.i586
        libssl.so.8 is needed by (installed) mysql-libs-5.1.36-1.fc12.i586
        libssl.so.8 is needed by (installed) gnome-vfs2-2.24.1-8.fc12.i686
        libssl.so.8 is needed by (installed) httpd-tools-2.2.13-1.fc12.i686
        libssl.so.8 is needed by (installed) postgresql-libs-8.4.0-1.fc12.i686
        libssl.so.8 is needed by (installed) fetchmail-6.3.11-2.fc12.i686
        libssl.so.8 is needed by (installed) qt-1:4.5.2-10.fc12.i686
        libssl.so.8 is needed by (installed) ptlib-2.6.4-3.fc12.i686
        libssl.so.8 is needed by (installed) openoffice.org-core-1:3.1.1-19.2.fc12.i686
        libssl.so.8 is needed by (installed) evolution-data-server-2.27.91-1.fc12.i686
        libssl.so.8 is needed by (installed) openldap-2.4.16-4.fc12.i686
        libssl.so.8 is needed by (installed) transmission-1.74-2.fc12.i686
        libssl.so.8 is needed by (installed) xorg-x11-server-Xorg-1.6.99-41.20090825.fc12.i686
So I am guessing this is what they mean by dependency hell? I have heard the term, but never knew what it meant.
  #13  
Old 25th September 2009, 01:54 AM
Demz
Guest
 
Posts: n/a
windows_98_nt_2000firefox
Quote:
libcrypto.so.10 is needed by libssh2-1.2-2.fc12.i686
libssl.so.10 is needed by libssh2-1.2-2.fc12.i686
should be in rawhide repo but i cannot see libssl.so.8 in rawhide
  #14  
Old 25th September 2009, 02:47 AM
Hunkah Offline
Registered User
 
Join Date: Aug 2005
Location: Ottawa, ON
Posts: 198
windows_xp_2003firefox
So am I screwed at this point then? I can't log into the GUI, I am unable to YUM I can't update YUM and I have no way to downgrade either.

Am I looking at a reinstall of F11?
  #15  
Old 25th September 2009, 03:08 AM
ryptyde Offline
Registered User
 
Join Date: May 2005
Location: Tragic City, Michigan USA
Posts: 1,605
linuxfedorafirefox
Quote:
Originally Posted by Hunkah View Post
So am I screwed at this point then? I can't log into the GUI, I am unable to YUM I can't update YUM and I have no way to downgrade either.

Am I looking at a reinstall of F11?
That may be the way to go. If you "upgraded" from F11 to rawhide it would definitely guarantee difficulties more so than say going from the current stable release to the next stable one. I installed the first Live Alpha of F12 to a usb device then installed to hdd on a Acer Aspire One.

If you have data that you want to save and choose to reinstall use a livecd/usb to get the data off your drive. Either reinstall F11 or grab the latest F12 live image and see how it works before installing.
 

Tags
issues, python, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Few Issues: python, seg fault, updating..HELP! Cromzinc Using Fedora 3 22nd November 2007 04:20 AM
Gedit python issues jduv Using Fedora 0 23rd October 2007 08:52 PM


Current GMT-time: 19:03 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat