* [gentoo-user] python2.4 directory
@ 2009-03-05 13:25 Dirk Uys
2009-03-05 13:29 ` Evgeniy Bushkov
0 siblings, 1 reply; 5+ messages in thread
From: Dirk Uys @ 2009-03-05 13:25 UTC (permalink / raw
To: gentoo-user
Hi
I noticed that I still had python-2.4 on my system. Did a quick run of
python-updater, to make sure nothing is using python-2.4 anymore and
then unmerged python2.4.
Should I manually remove /usr/lib64/python2.4, or is there a way to
make portage do it?
Regards
Dirk
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] python2.4 directory
2009-03-05 13:25 [gentoo-user] python2.4 directory Dirk Uys
@ 2009-03-05 13:29 ` Evgeniy Bushkov
2009-03-05 13:45 ` Daniel Pielmeier
0 siblings, 1 reply; 5+ messages in thread
From: Evgeniy Bushkov @ 2009-03-05 13:29 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 657 bytes --]
Dirk Uys wrote:
> Hi
>
> I noticed that I still had python-2.4 on my system. Did a quick run of
> python-updater, to make sure nothing is using python-2.4 anymore and
> then unmerged python2.4.
>
> Should I manually remove /usr/lib64/python2.4, or is there a way to
> make portage do it?
>
> Regards
> Dirk
>
>
Just run: emerge --depclean -a python
You should get something like this:
dev-lang/python
selected: 2.4.4-r14
protected: none
omitted: 2.5.2-r7
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
Would you like to unmerge these packages? [Yes/No]
Best regards,
Evgeniy B.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 5581 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] python2.4 directory
2009-03-05 13:29 ` Evgeniy Bushkov
@ 2009-03-05 13:45 ` Daniel Pielmeier
2009-03-09 12:56 ` Dirk Uys
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Pielmeier @ 2009-03-05 13:45 UTC (permalink / raw
To: gentoo-user
2009/3/5 Evgeniy Bushkov <zhen@dotcomltd.ru>:
> Dirk Uys wrote:
>>
>> Hi
>>
>> I noticed that I still had python-2.4 on my system. Did a quick run of
>> python-updater, to make sure nothing is using python-2.4 anymore and
>> then unmerged python2.4.
>>
>> Should I manually remove /usr/lib64/python2.4, or is there a way to
>> make portage do it?
>>
>> Regards
>> Dirk
>>
>>
>
> Just run: emerge --depclean -a python
> You should get something like this:
>
> dev-lang/python
> selected: 2.4.4-r14
> protected: none
> omitted: 2.5.2-r7
>>>> 'Selected' packages are slated for removal.
>>>> 'Protected' and 'omitted' packages will not be removed.
>
> Would you like to unmerge these packages? [Yes/No]
He already told us that he unmerged python.
If you have successfully migrated to python 2.5 you should normally be
able to remove this directory as this are probably leftovers from the
old install where portage can do nothing about.
To be save, what are the contents of this directory? Just
site-packages with byte compiled python modules?
--
Regards,
Daniel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] python2.4 directory
2009-03-05 13:45 ` Daniel Pielmeier
@ 2009-03-09 12:56 ` Dirk Uys
2009-03-09 13:40 ` Neil Bothwick
0 siblings, 1 reply; 5+ messages in thread
From: Dirk Uys @ 2009-03-09 12:56 UTC (permalink / raw
To: gentoo-user
On Thu, Mar 5, 2009 at 3:45 PM, Daniel Pielmeier
<daniel.pielmeier@googlemail.com> wrote:
> 2009/3/5 Evgeniy Bushkov <zhen@dotcomltd.ru>:
>
> He already told us that he unmerged python.
>
> If you have successfully migrated to python 2.5 you should normally be
> able to remove this directory as this are probably leftovers from the
> old install where portage can do nothing about.
> To be save, what are the contents of this directory? Just
> site-packages with byte compiled python modules?
>
> --
> Regards,
> Daniel
The only remaining contents was two broken symlinks in the
site-packages directory. I proceeded and manually removed the
directory. I'm not expecting any problems, was just wondering why
portage didn't remove this empty directories for me? Guess the broken
symlinks may have played a role.
Thanks for the suggestions
Regards
Dirk
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] python2.4 directory
2009-03-09 12:56 ` Dirk Uys
@ 2009-03-09 13:40 ` Neil Bothwick
0 siblings, 0 replies; 5+ messages in thread
From: Neil Bothwick @ 2009-03-09 13:40 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 534 bytes --]
On Mon, 9 Mar 2009 14:56:22 +0200, Dirk Uys wrote:
> The only remaining contents was two broken symlinks in the
> site-packages directory. I proceeded and manually removed the
> directory. I'm not expecting any problems, was just wondering why
> portage didn't remove this empty directories for me? Guess the broken
> symlinks may have played a role.
Portage won't remove non-empty directories or files it did not create.
--
Neil Bothwick
Accept that some days you're the pigeon, and some days you're the statue.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-03-09 13:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-05 13:25 [gentoo-user] python2.4 directory Dirk Uys
2009-03-05 13:29 ` Evgeniy Bushkov
2009-03-05 13:45 ` Daniel Pielmeier
2009-03-09 12:56 ` Dirk Uys
2009-03-09 13:40 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox