On Thu, 13 Oct 2005 13:36:41 +0000, Martin Vaeth wrote:
> Peter <peter@localhost.com> wrote:
>>
>> Can I safely unmerged python-2.3?
>
> For questions like this ask "emerge -Dep world".
> You might want to use a script to compare this list with
> the list of actually installed packages, e.g.
> the "world" script from
> http://www.mathematik.uni-wuerzburg.de/~vaeth/gentoo
>
>> Should I remove the /usr/lib/python-2.3 directory after unmerging?
>
> Yes. It should be pretty empty afterwards anyway (or contains only
> files which do not belong to any package).
emerge -Dep showed everything with python 2.4.2 at the top. It gave no
clue about python 2.3 and any stray dependencies though.
/usr/lib/python-2.3 is not very empty at all. python-updater did nothing
when upgrading 2.4.1 to 2.4.2 since it looks only at minor versions, i.e.
2.3. I had run it and it rebuilt around 32 packages.
I did emerge -Cp python-2.3.5-r2 and received a stern warning.
mars peter # emerge -Cp python-2.3.5-r2
>>> These are the packages that I would unmerge:
!!! Trying to unmerge package(s) in system profile. 'dev-lang/python'
!!! This could be damaging to your system.
dev-lang/python
selected: 2.3.5-r2
protected: none
omitted: 2.4.2
python 2.3 is only around 34mb so maybe I'll just keep it around unless
someone has a compelling reason to nuke it. Only thing left in
site-packages was stuff for svn, which was also installed in python 2.4.
Probably a fault in the ebuild that stopped it from being removed.
Running peter@mars ~ $ sudo equery d python
[ Searching for packages depending on python... ]
app-arch/rpm-4.2
app-editors/vim-6.3.084
app-editors/gvim-6.3.084
app-portage/gentoolkit-0.2.0-r2
app-text/gnome-doc-utils-0.2.1
dev-java/java-config-1.2.11
dev-lang/python-2.4.2
dev-lang/swig-1.3.21
dev-lang/python-2.3.5-r2
showed python 2.3.5-r2 depending on the current 2.4.2 version!
Thoughts?
Maybe I'll just stand pat.