Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My goal was to intall Boa constructor, the Python debugger.
1) Running Fedora Core 4 (?):
$ cat /etc/redhat-release
Red Hat Enterprise Linux WS release 4 (Nahant Update 2)
2) Original version of Python was 2.2 (i think)
3) Had already installed Python 2.3 many months ago for another project
3) Recently installed Python 2.4 in preperation for wxpython (without erasing Python 2.3)
* With Python 2.4 installations, I get the following warnings:
$ sudo rpm -i -v python2.4-2.4.1-1pydotorg.i386.rpm
warning: python2.4-2.4.1-1pydotorg.i386.rpm: V3 DSA signature: NOKEY, key ID 95ccbcff
Preparing packages for installation...
python2.4-2.4.1-1pydotorg
$ sudo rpm -i -v python2.4-devel-2.4.1-1pydotorg.i386.rpm
warning: python2.4-devel-2.4.1-1pydotorg.i386.rpm: V3 DSA signature: NOKEY, key ID 95ccbcff
Preparing packages for installation...
python2.4-devel-2.4.1-1pydotorg
Are these NOKEY warnings significant? If so, how to overcome them?
1) Running Fedora Core 4 (?):
$ cat /etc/redhat-release
Red Hat Enterprise Linux WS release 4 (Nahant Update 2)
You are running RHEL4 (not Fedora).
Quote:
$ sudo rpm -i -v python2.4-2.4.1-1pydotorg.i386.rpm
warning: python2.4-2.4.1-1pydotorg.i386.rpm: V3 DSA signature: NOKEY, key ID 95ccbcff
Preparing packages for installation...
python2.4-2.4.1-1pydotorg
Are these NOKEY warnings significant? If so, how to overcome them?
This tells that you have not installed the proper key to verify the RPM signature.
Quote:
Removal of the python 2.4 packages, still shows V4 is installed when issuing '$ rpm -q -p python*'
rpm -p does not query the installed packages, but the RPMs you have effectively downloaded in the current directory. Probably you are issuing the rpm -qp command against the RPMs saved on your hard disk. Try simply 'rpm -q python'.
Anyway, it sounds strange to me the "pydotorg" suffix in the above python RPMs. Are you sure you are installing the packages built for your system?
Thanks alot for pointing out my mistakes--i'm obviously a newbie!
Since you pointed out that I have RHEL4 rather than FC4, apprently I have the wrong packages downloaded.
I have downloaded the source and will try (again) at builing and installing. I had tried this earlier and the install didn't seem to work, so I'll have to pay closer attention to the README instructions.
Will I have NOKEY problems if I build from souce? If so, where/how do I obtain these and fix it?
Also, I have a build environment which uses python 2.3 (currently installed over the system version). Should I remove 2.3 before installing 2.4, or can they co-exist? It wouldn't be too much trouble to remove 2.3 and update my build (boost) environment if necessary.
Will I have NOKEY problems if I build from souce? If so, where/how do I obtain these and fix it?
No problem with the source. The signature is generally associated to the RPM packages. When you download RPM from a website, generally you will find instructions on how to import the proper key into your PGP keys database. But I think there is no problem if you do not.
Quote:
Also, I have a build environment which uses python 2.3 (currently installed over the system version). Should I remove 2.3 before installing 2.4, or can they co-exist?
Multiple versions of Python can coexist, since each version of the interpreter can find its associated library files. One can install a separate, customized version elsewhere without disturbing the pre-installed version, which may be used for many system configuration tasks, and probably shouldn't be overwritten. Be careful to not install the python executables over the pre-installed ones and change their name accordingly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.