View previous topic :: View next topic |
Author |
Message |
phuanhui n00b
Joined: 07 Feb 2008 Posts: 6
|
Posted: Thu Mar 20, 2008 10:36 am Post subject: Updating configuration file |
|
|
After I emerge portage, I get the following message:
I would like to know how do I update configuration file.
Code: |
* Make sure you run 'hash -r' in your active shells.
* Regenerating GNU info directory index...
* Processed 140 info files.
* IMPORTANT: 6 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
|
Please help!
Use the following command is it?
|
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Thu Mar 20, 2008 11:02 am Post subject: |
|
|
You can use 'etc-update' although personally I prefer using 'dispatch-conf' as it has greater scope for backing up the config files that you are replacing. You can configure 'dispatch-conf' to automatically update files that you haven't touched, and you only get asked about updating config files that you have modified. See the configuration file in /etc/dispatch-conf.conf and 'man dispatch-conf' for more details. _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu Mar 20, 2008 12:17 pm Post subject: |
|
|
I use dispatch-conf for years instead of etc-update.
Also, dispatch-conf can do the job by himself, like when you have a diff between 2 files and it's only some spaces or linebreak that differ from the 2 files, dispatch-conf doesn't bother you with that. |
|
Back to top |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Tue Mar 25, 2008 7:59 pm Post subject: |
|
|
And then there are the extra comfortable tools cfg-update and etc-proposals. You gotta emerge them, but they make much easier ... |
|
Back to top |
|
|
OmSai l33t
Joined: 30 Sep 2007 Posts: 605 Location: Manchester, CT, USA
|
Posted: Tue Mar 25, 2008 11:03 pm Post subject: |
|
|
bmichaelsen wrote: | And then there are the extra comfortable tools cfg-update and etc-proposals. You gotta emerge them, but they make much easier ... | Yes, with cfg-update you can select a nice GUI viewer to see file differences side-by-side. _________________ Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Mar 25, 2008 11:11 pm Post subject: |
|
|
What, is cfg-update is brand new ? I didn't know the existence of that package ? |
|
Back to top |
|
|
OmSai l33t
Joined: 30 Sep 2007 Posts: 605 Location: Manchester, CT, USA
|
Posted: Tue Mar 25, 2008 11:37 pm Post subject: |
|
|
d2_racing wrote: | What, is cfg-update is brand new ? I didn't know the existence of that package ? | It's been around since 29 April, 2005
(Date from ChangeLog) _________________ Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Mar 25, 2008 11:45 pm Post subject: |
|
|
Why there is no promotion about theses useful tools for the newbie |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Wed Mar 26, 2008 9:57 am Post subject: |
|
|
Write it all up for the Gentoo docs d2_racing _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
kds66 Apprentice
Joined: 17 Oct 2006 Posts: 166 Location: Manaus, Brazil
|
Posted: Wed Mar 26, 2008 10:42 am Post subject: |
|
|
And then there is the old fashioned way
Code: | find /etc -name '._*' |
|
|
Back to top |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Wed Mar 26, 2008 10:47 am Post subject: |
|
|
d2_racing wrote: | Why there is no promotion about theses useful tools for the newbie |
at least it was 'officially' noted once: http://www.gentoo.org/news/en/gwn/20060717-newsletter.xml#doc_chap3 _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
|
|