Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge clean killed important files ...
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
One
n00b
n00b


Joined: 15 Jun 2002
Posts: 51
Location: Darmstadt, Germany

PostPosted: Sat Jun 15, 2002 10:26 am    Post subject: emerge clean killed important files ... Reply with quote

Hi,

After doing a
Code:
emerge gnumeric -u
I just typed
Code:
emerge clean
, and afterwards all (!) my gnome icons were gone and some libs required by gnumeric.

Is this a bug or a feature? Did I do anything wrong or some right thing just terribly stupid? :lol:

Anyway, Im recompiling now ...
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jun 17, 2002 3:31 am    Post subject: Reply with quote

"emerge gnumeric -u" will update gnumeric, not uninstall it. You want "emerge unmerge gnumeric" for that.

I think "emerge clean" removes old versions of software, but the thing is, newer versions may use the same filenames, so unmerging the old version would also unmerge some of the newer version's files, resulting in bad things happening. What were you trying to do?
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sun Jun 30, 2002 2:57 am    Post subject: Reply with quote

Emerge checks file md5sum of installed files in order to ensure that it removes only the version it installed for that package. So, emerge clean should work OK. One issue may be emerging an old package after emerging a newer version. This can cause "interesting" issues if filenames are the same.

delta407 wrote:
"emerge gnumeric -u" will update gnumeric, not uninstall it. You want "emerge unmerge gnumeric" for that.

I think "emerge clean" removes old versions of software, but the thing is, newer versions may use the same filenames, so unmerging the old version would also unmerge some of the newer version's files, resulting in bad things happening. What were you trying to do?
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