Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerged new glibc, can I simply remove the previous version?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
MackS
n00b
n00b


Joined: 31 May 2002
Posts: 5

PostPosted: Sun Jun 02, 2002 3:39 pm    Post subject: emerged new glibc, can I simply remove the previous version? Reply with quote

Howdy

I just emerged the latest glibc using Portage, because it patched a bug which was affecting a program:

$ qpkg -I glibc
sys-libs/glibc-2.2.5-r2 *
sys-libs/glibc-2.2.5-r3 *

Can I simply run "emerge unmerge glibc-2.2.5-r2"? Will this cause the new glibc to be moved into place, and therefore leave my system in a usable state?

I now understand that I should have used "emerge --update glibc" instead, but is there any way in which I can now remove the older version in a _safe_ way?

TIA

Mack
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Sun Jun 02, 2002 5:42 pm    Post subject: Reply with quote

After updating with emerge you should use emerge clean

Try this:
Code:

emerge --pretend --clean world

It'll show the old versions of packages you upgraded. Look at the output and then do
Code:

emerge --clean world

or if you only want to delete the old glibc
Code:

emerge --clean glibc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum