Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228085 - collision protection list swamps scrollback
Summary: collision protection list swamps scrollback
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 216231
  Show dependency tree
 
Reported: 2008-06-18 13:27 UTC by Martin von Gagern
Modified: 2010-10-06 21:20 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 Martin von Gagern 2008-06-18 13:27:28 UTC
This is a usability issue, encountered with FEATURES=collision-protect.
I just ran "emerge -uavND world" and got back to find the screen thus:

...
 *      /usr/share/man/man3p/wscanf.3p.bz2
 *      /usr/share/man/man3p/y0.3p.bz2
 *      /usr/share/man/man3p/y1.3p.bz2
 *      /usr/share/man/man3p/yn.3p.bz2

 * GNU info directory index is up-to-date.

What had happened was that sys-apps/man-pages-posix had produced quite a few file collisions. In fact the list was so long that it filled my whole scrollback buffer. I had no way to get at the actual error message to know what all these file names were about. "emerge man-pages-posix 2&>1 | less" did help me there, but I wouldn't expect the average user to think of this.

Ideas for a solution:

1. Truncate list to a sensible number of files, displaying a big fat warning that there are yet more files. Might cause problems when all displayed files belong to one package but files belonging to a different package are not displayed. Writing the full list to a file and giving its name along with the list might be a viable solution here.

2. Print some useful information at the end of the list. One might even swap the list of collisions with the message about what a collision is and how to deal with it.
Comment 1 Zac Medico gentoo-dev 2008-06-18 19:07:21 UTC
What I'd like to do is show an addition message at the bottom if the number of files exceeds a certain number. That way the user should have everything they need to know.
Comment 2 Zac Medico gentoo-dev 2008-07-28 10:41:41 UTC
This is fixed in 2.2_rc4.