Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge overwrites existing files
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
chrb
n00b
n00b


Joined: 23 Jun 2002
Posts: 19

PostPosted: Sat Jul 27, 2002 3:27 pm    Post subject: emerge overwrites existing files Reply with quote

When two ebuilds generate the same file the most recent one overwrites it in your filesystem and gets ownership. This is a bad idea because an unmerge breaks the first installed ebuild. Even worse, with some ebuilds (eg. gcc cross compiler) a configure flags slip can destroy your native compiler.

Emerge should default to not overwriting files if the checksums differ (abort/query user), and having dual ownership if the checksums match. Files should only be removed when both ebuilds are unmerged.
Back to top
View user's profile Send private message
mihochan
Apprentice
Apprentice


Joined: 16 Apr 2002
Posts: 296
Location: Melbourne again

PostPosted: Tue Jul 30, 2002 2:01 am    Post subject: Reply with quote

I think that that would be unworkable in practice.
Maybe there could be a second directory tree where
the over written files are moved to instead.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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