Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110900 - etc-update doesn't warn user about missed updates
Summary: etc-update doesn't warn user about missed updates
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 136244
  Show dependency tree
 
Reported: 2005-10-30 07:58 UTC by Gergely Trifonov
Modified: 2006-07-20 14:05 UTC (History)
0 users

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


Attachments
possible workaround (etc-update.patch,434 bytes, patch)
2005-10-30 08:00 UTC, Gergely Trifonov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.