Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Safe to remove old version of Python?
Date: Wed, 03 Sep 2008 08:50:58
Message-Id: A32C592D-CE5F-4E71-A6D2-29FE05D6D1A6@stellar.eclipse.co.uk
1 Hi there,
2
3 No comment on this on my previous post when I also asked about `eix -
4 uI`:
5
6 $ eix -I python$
7 [U] dev-lang/python
8 Available versions:
9 (2.4) 2.4.4-r5 2.4.4-r6 2.4.4-r14
10 (2.5) 2.5.2-r6 ~2.5.2-r7
11 {+cxx +threads berkdb bootstrap build doc elibc_uclibc
12 examples gdbm ipv6 ncurses nocxx nothreads readline sqlite ssl tk
13 ucs2 wininst}
14 Installed versions: 2.4.4-r9(2.4)(20:32:42 05/04/08)(berkdb
15 examples gdbm ncurses readline ssl -bootstrap -build -doc -
16 elibc_uclibc -ipv6 -nocxx -nothreads -tk -ucs2)
17 2.5.2-r6(2.5)(03:46:36 08/30/08)(berkdb
18 doc examples gdbm ncurses readline ssl threads -bootstrap -build -
19 elibc_uclibc -ipv6 -sqlite -tk -ucs2 -wininst)
20 Homepage: http://www.python.org/
21 Description: Python is an interpreted, interactive,
22 object-oriented programming language.
23
24 $ sudo python-updater
25 Password:
26 * Starting Python Updater from 2.4 to 2.5 :
27 * No packages needs to be remerged.
28 $
29
30
31 So second question is, can python-2.4.4-r9 be safely removed from the
32 system?
33
34
35 $ ls -l /usr/bin/python
36 lrwxrwxrwx 1 root root 9 Aug 30 03:47 /usr/bin/python -> python2.5
37 $ python -V
38 Python 2.5.2
39 $ equery d =dev-lang/python-2.4.4-r9
40 [ Searching for packages depending on =dev-lang/python-2.4.4-r9... ]
41 app-admin/webapp-config-1.50.16-r1 (virtual/python)
42 app-doc/doxygen-1.5.4 (dev-lang/python)
43 app-editors/vim-7.2 (python? dev-lang/python)
44 app-portage/gentoolkit-0.2.3-r1 (>=dev-lang/python-2.0)
45 app-portage/layman-1.1.1 (virtual/python)
46 dev-db/postgresql-8.0.15 (python? >=dev-lang/python-2.2)
47 dev-java/java-config-1.3.7 (virtual/python)
48 dev-java/java-config-2.1.6 (dev-lang/python)
49 (virtual/python)
50 dev-lang/swig-1.3.36 (python? virtual/python)
51 dev-libs/libxml2-2.6.32 (python? dev-lang/python)
52 dev-libs/libxslt-1.1.24-r1 (python? dev-lang/python)
53 dev-python/docutils-0.4-r3 (virtual/python)
54 (>=dev-lang/python-2.4)
55 dev-python/egenix-mx-base-2.0.5 (virtual/python)
56 dev-python/pycrypto-2.0.1-r6 (virtual/python)
57 dev-python/python-fchksum-1.7.1 (dev-lang/python)
58 dev-python/setuptools-0.6_rc8-r1 (virtual/python)
59 (>=dev-lang/python-2.4)
60 dev-util/subversion-1.4.6 (python? >=dev-lang/python-2.0)
61 net-analyzer/rrdtool-1.2.27 (python? dev-lang/python)
62 net-fs/samba-3.0.28a-r1 (python? dev-lang/python)
63 net-print/cups-1.3.7-r1 (python? dev-lang/python)
64 sys-apps/file-4.23 (virtual/python)
65 sys-apps/portage-2.1.4.4 (>=dev-lang/python-2.4)
66 sys-libs/cracklib-2.8.12 (python? dev-lang/python)
67 sys-libs/libcap-1.10-r11 (python? >=virtual/python-2.2.1)
68 $
69
70
71 I don't tend to keep up with best practices in Gentoo, so any
72 criticism or advice would be much appreciated.
73
74 Stroller.

Replies

Subject Author
Re: [gentoo-user] Safe to remove old version of Python? Neil Bothwick <neil@××××××××××.uk>