View previous topic :: View next topic |
Author |
Message |
chrb n00b
Joined: 23 Jun 2002 Posts: 19
|
Posted: Sat Jul 27, 2002 3:27 pm Post subject: emerge overwrites existing files |
|
|
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 |
|
|
mihochan Apprentice
Joined: 16 Apr 2002 Posts: 296 Location: Melbourne again
|
Posted: Tue Jul 30, 2002 2:01 am Post subject: |
|
|
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 |
|
|
|