RedHat 6.0 install question

David Gobbi dgobbi at hickory.irus.rri.on.ca
Wed Oct 27 15:01:43 EDT 1999


There are a couple options for upgrading to python-1.5.2.  
You can take the brute-force approach and upgrade to 
RedHat 6.1 (I've upgraded several machines, it is a very
smooth process) or you can go to http://andrich.net
and pick up Oliver's wonderful python packages.

If you take option #2, you should do
rpm -e --nodeps python python-devel tkinter
before installing python 1.5.2

 - David

Michael Hudson <mwh21 at cam.ac.uk> wrote:
> wware-nospam at world.std.com (Will Ware) writes:

>> I'm setting up a RedHat 6.0 Linux box at work. RH6.0 comes with
>> Python 1.5.1, but I'm spoiled and would like to install 1.5.2.
>> Red Hat has (wisely) chosen to use Python extensively in their
>> installation process for Linux, so many packages depend on it.
>> When I try to uninstall 1.5.1, I get several worrisome messages:
>> 
>> [root at hrothgar prt_test]# rpm -e $(rpm -q -a | grep py)
>> error: removing these packages would break dependencies:
>> 	python is needed by kernelcfg-0.5-5
>> 	python is needed by modemtool-1.21-6
>> 	python is needed by netcfg-2.20-2
>> 	/usr/bin/python is needed by kernelcfg-0.5-5
>> 	/usr/bin/python is needed by netcfg-2.20-2
>> 	pythonlib >= 1.8 is needed by kernelcfg-0.5-5
>> 	pythonlib is needed by modemtool-1.21-6
>> 	pythonlib >= 1.20 is needed by netcfg-2.20-2
>> 
>> Has anybody successfully tackled this? If this machine weren't
>> at work, I'd be a little more cavalier about risking breaking
>> other things, but in this case I want to be a little careful.
>> Any success stories would be much appreciated, thanks.

> These are all optional configuration tools. Do you actually use them?
> I never have.

> If you upgrade to python 1.5.2, some of them will break, but in really
> easy to fix ways.

> To upgrade, you could snarf the relavent RPMs from redhat-6.1, which
> actually has a decent install of python with it (a novelty), use the
> RPMs from the python4linux project (see

> http://fourthought.com/Python/python4linux.html

> I've not tried these, but they should be cool - more extension modules
> than w/redhat 6.1) or build your own from source. If you want *cfg to
> still work, make sure you build with --prefix=/usr.

> HTH,
> Michael


-- 
--David Gobbi, MSc                    dgobbi at irus.rri.on.ca
  Advanced Imaging Research Group
  Robarts Research Institute, University of Western Ontario




More information about the Python-list mailing list