Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682458 - Ask to continue/skip on file collisions when command line argument --ask was given
Summary: Ask to continue/skip on file collisions when command line argument --ask was ...
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-03 20:06 UTC by Bodo Thiesen
Modified: 2019-04-03 20:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bodo Thiesen 2019-04-03 20:06:55 UTC
* Detected file collision(s):
 *
 *    list of files
 *
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * [...]
 * 
 * Package 'foo/bar-42.23' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.

Instead of terminating at this stage, portage should ask whether to:

1. Overwrite the listed files
2. Skip this ebuild (and maybe --keep-going)
3. Terminate at this point (actually, this can be implemented using CTRL+C)

So, question could read

Do you want to overwrite these files? [Yes/No]

With ENTER meaning "Yes" as in the question "Would you like to merge these packages? [Yes/No]" and "No" meaning skip this one and maybe --keep-going.

Oh, and of course, in the scanning phase "Press Ctrl-C to Stop" CTRL+C should only terminate the scan but not terminate portage (again: Only if --ask was given).

Reproducible: Always