Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to fix 2 config files???
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mwickes
n00b
n00b


Joined: 17 Apr 2002
Posts: 18
Location: Cleveland, Ohio

PostPosted: Thu Apr 18, 2002 6:37 pm    Post subject: How to fix 2 config files??? Reply with quote

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
View user's profile Send private message
divine
n00b
n00b


Joined: 18 Apr 2002
Posts: 16
Location: Groton, CT

PostPosted: Thu Apr 18, 2002 6:47 pm    Post subject: Reply with quote

try running etc-config, that should help out a little. it's a nice automated etc file updater.
_________________
=)
Back to top
View user's profile Send private message
mwickes
n00b
n00b


Joined: 17 Apr 2002
Posts: 18
Location: Cleveland, Ohio

PostPosted: Thu Apr 18, 2002 7:24 pm    Post subject: Thanks! but how to run!!! Reply with quote

Thanks, sorry for my boneheadedness but how do I run etc-config I cannot find this utility on my system?
Back to top
View user's profile Send private message
freefall
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2002
Posts: 89

PostPosted: Thu Apr 18, 2002 7:47 pm    Post subject: Re: Thanks! but how to run!!! Reply with quote

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
View user's profile Send private message
impaler
Guest





PostPosted: Fri Apr 19, 2002 1:05 am    Post subject: use double quotes instead of single ones. Reply with quote

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
Retired Dev


Joined: 18 Apr 2002
Posts: 114
Location: New York, NY

PostPosted: Fri Apr 19, 2002 6:15 am    Post subject: Re: How to fix 2 config files??? Reply with quote

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
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Fri Apr 19, 2002 6:37 am    Post subject: Re: How to fix 2 config files??? Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum