Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 110900

Summary: etc-update doesn't warn user about missed updates
Product: Gentoo Linux Reporter: Gergely Trifonov <zsirfeka>
Component: [OLD] Core systemAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: minor Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 136244    
Attachments: possible workaround

Description Gergely Trifonov 2005-10-30 07:58:34 UTC
When updating lots of configuration files, it can be really annoying if the user
accidentally chooses not to replace a file (i.e. by pressing any key but 'y'
when asked by mv). Sometimes the user doesn't even notice this until the next
update.


Reproducible: Always
Steps to Reproduce:
1.apply updates with etc-update
2.when replacing a file, mv needs confirmation to overwrite an existing file (mv
-i is used by default)
3.press any key but 'y' or 'n'
4.continue applying updates (if any) and quit the application.

Actual Results:  
after exiting the application, all missed updates are present in /etc, but the
user might think all updates were successfully applied. 

Expected Results:  
etc-update should warn the user that there are pending (missed) updates.
Comment 1 Gergely Trifonov 2005-10-30 08:00:42 UTC
Created attachment 71732 [details, diff]
possible workaround
Comment 2 Brandon Low (RETIRED) gentoo-dev 2005-10-30 09:20:18 UTC
Patch looks good to me, hope the portage folks will take it.
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2006-07-19 03:27:03 UTC
In r3931
Comment 4 Zac Medico gentoo-dev 2006-07-20 14:05:09 UTC
This has been released in 2.1.1_pre3-r2.