View previous topic :: View next topic |
Author |
Message |
mwickes n00b
Joined: 17 Apr 2002 Posts: 18 Location: Cleveland, Ohio
|
Posted: Thu Apr 18, 2002 6:37 pm Post subject: How to fix 2 config files??? |
|
|
After I performed an emerge kdebase due to my screwup. Everything kde & x works fine but I get the following message on subsequent emerges. For instance I emerged tightvnc and then I got the following message.
* IMPORTANT: 2 config files in /usr/kde/3/share/config need updating.
* Type emerge --help config to learn how to update config files.
I then ran the reccomended command:
localhost config # find /etc -iname '._cfg????_*'
but nothing happens and I do not know which 2 files need updating!!!
Here is the output from an ls on the /usr/kde/3/share/config directory:
aktionrc fadeplotrc kdesktop_custom_menu1 kumpparc
antrc flamerc kdesktop_custom_menu2 kuriikwsfilterrc
attractionrc flowrc kdm kwritedrc
bouboulerc forestrc klipperrc language.codes
bubblesrc gearsrc knotesrc laserrc
colors gooprc konqsidebartng.rc lissierc
coralrc gravrc konsolerc penroserc
crystalrc halorc korganizerrc rocksrc
decayscreenrc imsmaprc kshorturifilterrc sliprc
deluxerc interferencerc ksircrc ui
demonrc kdebug.areas ksslcalist
driftrc kdebugrc ktalkdrc
epicyclerc kdeprintrc kthemestylerc
As you can see there are no cfg or config files!!!
How can I fix this?
Thanks
Mike |
|
Back to top |
|
|
divine n00b
Joined: 18 Apr 2002 Posts: 16 Location: Groton, CT
|
Posted: Thu Apr 18, 2002 6:47 pm Post subject: |
|
|
try running etc-config, that should help out a little. it's a nice automated etc file updater. _________________ =) |
|
Back to top |
|
|
mwickes n00b
Joined: 17 Apr 2002 Posts: 18 Location: Cleveland, Ohio
|
Posted: Thu Apr 18, 2002 7:24 pm Post subject: Thanks! but how to run!!! |
|
|
Thanks, sorry for my boneheadedness but how do I run etc-config I cannot find this utility on my system? |
|
Back to top |
|
|
freefall Tux's lil' helper
Joined: 13 Apr 2002 Posts: 89
|
Posted: Thu Apr 18, 2002 7:47 pm Post subject: Re: Thanks! but how to run!!! |
|
|
mwickes wrote: | Thanks, sorry for my boneheadedness but how do I run etc-config I cannot find this utility on my system? |
#emerge gentoolkit
gentoolkit has got some really nice tools.
I don't think etc-update looks for updated files in other dirs than /etc though.
Look in /usr/kde/3/share/config/kdm. Wouldn't surprise me if the updated files are in that dir. They were for me. |
|
Back to top |
|
|
impaler Guest
|
Posted: Fri Apr 19, 2002 1:05 am Post subject: use double quotes instead of single ones. |
|
|
In your find command you should use double quotes " instead of single '.
otherwise it will not perform filename expansion. |
|
Back to top |
|
|
lude Retired Dev
Joined: 18 Apr 2002 Posts: 114 Location: New York, NY
|
Posted: Fri Apr 19, 2002 6:15 am Post subject: Re: How to fix 2 config files??? |
|
|
mwickes wrote: | * IMPORTANT: 2 config files in /usr/kde/3/share/config need updating.
I then ran the reccomended command:
localhost config # find /etc -iname '._cfg????_*'
|
The recommended command only works for config files in /etc. You'll have to change that to:
find /usr/kde/3/share/config -iname '._cfg????_*' |
|
Back to top |
|
|
fghellar Bodhisattva
Joined: 10 Apr 2002 Posts: 856 Location: Porto Alegre, BR
|
Posted: Fri Apr 19, 2002 6:37 am Post subject: Re: How to fix 2 config files??? |
|
|
mwickes wrote: | (...)
* IMPORTANT: 2 config files in /usr/kde/3/share/config need updating.
* Type emerge --help config to learn how to update config files.
I then ran the reccomended command:
localhost config # find /etc -iname '._cfg????_*'
but nothing happens and I do not know which 2 files need updating!!! |
It didn't find anything because you specified the wrong path for it. That recommended command is only an example.
mwickes wrote: | Here is the output from an ls on the /usr/kde/3/share/config directory:
(...)
As you can see there are no cfg or config files!!! |
When a file's name begins with a "." it is considered a hidden file, and ls by itself won't show it. You will have to use ls -a to see it.
Just complementing: if you use
Code: | find / -name "._cfg*" | you can find all config files which need to be updated, anywhere. It will only take a little longer to run, but will always work. _________________ | www.gentoo.org | www.tldp.org | www.google.com | |
|
Back to top |
|
|
|