Stop Microsoft
Operating Systems => Linux and UNIX => Topic started by: worker201 on 7 January 2006, 04:24
-
It has been a long time since I asked a Linux question here. I usually ask VoidMain over at his site, but I have a question about a program he doesn't approve of.
I can't believe I got stumped on something so easily. Been doing google searches for the past couple hours and have found no joy.
How the fuck do you install yum? Fedora Core 4. Does it have some kind of python-2.3 dependency? Am I pretty much fucked if I have already upgraded to python-2.4? Supposedly yum is included on the FC4 disc, but I couldn't find it when it opened the system package manager. Installing via apt/synaptic gives errors. This is my main one:
ImportError: Bad magic number in /usr/lib/python2.3/site-packages/libxml2.pyc
Which is kinda confusing since I don't have python2.3.
Anybody got any hints on this?
Also, how do you install Flash for Opera8? I thought it would just take over Firefox/Mozilla's Flash, but see below.
Also, my Flash installation for Firefox claims to be okay on the Macromedia test page ( http://www.macromedia.com/shockwave/welcome/ ), but doesn't act okay anywhere else, even other Macromedia pages. Any hints for this?
-
Mabye the error is caused by your lack of Python?
-
Just use yum to install it and it will take care of all your dependen... oh wait. nevermind.
:)
Seriously though,
[mobrien_12@goliath ~ ]$ rpm -qR yum
/bin/bash
/bin/sh
/bin/sh
/bin/sh
/sbin/chkconfig
/sbin/service
/usr/bin/python
config(yum) = 2.4.0-0.fc4
coreutils
libxml2-python
python
python(abi) = 2.4
python-elementtree
python-sqlite
rpm >= 0:4.1.1
rpm-python
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
urlgrabber
here are my versions of the packages
python-2.4
yum-2.4.0-0.fc4
rpm-python-4.4.1-22
python-elementtree-1.2.6-4
python-sqlite-1.1.6-1
libxml2-python-2.6.20-1.FC4
Did you upgrade python w/o using the fedora version of Python 2.4 RPM or SRPM?
-
I have all that stuff installed, and it was all installed with specially built FC4 Dries and Dag packages using synaptic. But yum still complains about python2.3.
Not sure if this is still an issue, though, since I got smart installed, and it seems to be accessing yum repos just fine. :confused:
Still could use a little help with the Flash thing.:mad:
-
I have all that stuff installed, and it was all installed with specially built FC4 Dries and Dag packages using synaptic. But yum still complains about python2.3.
Not sure if this is still an issue, though, since I got smart installed, and it seems to be accessing yum repos just fine. :confused:
Still could use a little help with the Flash thing.:mad:
Try popping open an xterm session (or Konsole or whatever), login su (or type sudo, however you have that set up), and type ldconfig -v. Beyond that, I'm not of much help, but here's hoping you overlooked something obvious. ;)
Also, I'd help with Flash, but I emerged mine (Gentoo and all). Sorry. :(
-
ldconfig gets run automatically by the package installer. But thanks for the suggestion anyway.
-
Maybe you and mobrien could rsync if his distro is properly functional and compatible?
-
If you have Flash for Firefox, go to Opera's preference, Advanced, then Content. There is a "manage plug-ins" button that lets you specify where the plug-ins are, and if Opera is recognizing them.
-
The flash plugin files are in the right places, so Opera should be able to find them. It's all messed up, and I think Macromedia's check site might actually be to blame. Opera hated that page. Firefox loads it right, but then sits on it, treating it as a static graphic. Borrowing a Windows computer right now, and Firefox does all kinds of neat things on that page, like roll-overs and other 'flash'y things. So as far as I can see, the functionality on my system is just about as good as not having the damn thing at all.
Maybe I'll try fucking with it some more tomorrow.
-
Well, FC4 comes standard with Python 2.4.1-2, so there is no way yum could have a python 2.3 dependency. In fact, the only directory/file in /usr/lib/python2.3/site-packages/ is bittorrent on my system, and
/usr/lib/python2.3/ is not owned by any packages on the system (unlike /usr/lib/python2.4).
Did you try to install the yum package the old fashioned way? As in downloading from http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/
and installing with
rpm -ivh
?
-
Did attempt to install it via rpm. It failed. I think the problem was not that it wanted python2.3, it was looking for python and some part of my computer told it that I had python2.3. The python2.3 stuff is there only for backward compatibility. Any program that asked for python SHOULD have been pointed to 2.4, but for some reason, it wasn't.
Anyway. I'd do a clean reinstall, but I have so many programs installed by hand from source that it would take me days to get everything back up.
-
why not just try # rpm -Uvh --nodeps yum
and see if it works.
-
Well, I got my Flash fixed. I had this package called mozilla-swfdec installed, which is supposed to be some kind of substitute Shockwave player. Apparently, it and Flash are not compatible. Unfortunately, endless google searching did not recover any information about the product or possible issues - maybe it was a virus:eek:. Removing it and reinstalling Flash worked just fine, and now Opera and Firefox are Flash-eriffic. I don't miss that Shockwave substitute much, since it never worked anyway.
Anybody else ever hear about this swfdec, and why it doesn't work with Flash?
-
Did attempt to install it via rpm. It failed. I think the problem was not that it wanted python2.3, it was looking for python and some part of my computer told it that I had python2.3. The python2.3 stuff is there only for backward compatibility. Any program that asked for python SHOULD have been pointed to 2.4, but for some reason, it wasn't.
Anyway. I'd do a clean reinstall, but I have so many programs installed by hand from source that it would take me days to get everything back up.
Fedora keeps telling me stuff like this too ... only for stuff like glibc. I have the correct version installed but it isn't recognized ... or it is recognized as an older version. I usually manage to fix it by removing all versions of the troublesome program or library ... and then re-installing it. This doesn't always work because some of the other versions were installed from source ... and I assume were not registered with yum or registered incorrectly. Anyway there's probably a reason why VoidMain doesn't approve of yum ... it fucks up way too often ? ... I dunno I still find it useful.
mozilla-swfdec sounds like a flash codec ... (flash = .swf) ... I dunno about shockwave ... I never found anything that could run it on Linux ... but I never use shockwave so I could care less
-
Anybody else ever hear about this swfdec
http://www.schleef.org/swfdec/Swfdec is a library for rendering Flash
-
It's possible that Flash will become extinct pretty soon - or at least inconsequential in the Linux environment. Seems that popular demand for SVG might prompt an increased number of Linux SVG tools. And SVG is an open standard which is not under Macromedia's control.
http://www.mozillazine.org/poll_results.html?id=7750
This could be the start of something interesting.