Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoolkit and ._cfg0000 files
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Mon Jul 15, 2002 4:34 am    Post subject: Gentoolkit and ._cfg0000 files Reply with quote

Hi,

I was searching on this forum, what more gentoolkit does than etc-update, and noticed many are asking about the ._cfg0000 files....... strange and "scary" files if not knowing what they are. Newbie worries increases when asked to update them.

I have been using Gentoo for a quite long time, but I am still unsure what to do with the ._cfg000 files. When using diff command, some files are backup and other seem to be upgrade files.

To straighten the things up, my question: is it safe enough to not make any backup files and all upgrades are automatically done. If so, how to config a non-protected system?

Another question: what are the functions of gentoolkit?

Markku
Back to top
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Jul 15, 2002 5:25 am    Post subject: Re: Gentoolkit and ._cfg0000 files Reply with quote

Anonymous wrote:
I was searching on this forum, what more gentoolkit does than etc-update

One of the other programs in gentoolkit is qpkg, which, among other things, will tell you all the files contained in a particular package. So you can type
Code:
$ qpkg -l gentoolkit

...to get a list of all the other programs in gentoolkit, and see their manpages for more information about what they do.
Quote:
To straighten the things up, my question: is it safe enough to not make any backup files and all upgrades are automatically done.

It depends :). Sometimes you have a legitimate reason to make changes to config files in /etc that you don't want undone by portage. I guess if you don't feel the need to make local changes to the files in /etc (in other words, if you don't have anything you want to protect), then it would be OK not to protect anything. I don't think anyone else can say what would be appropriate for your system, and that IMHO is one of the best parts of Portage's configuration file handling.

Quote:
If so, how to config a non-protected system?

Code:
# export CONFIG_PROTECT=""

...before running emerge.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
rasat
n00b
n00b


Joined: 30 May 2002
Posts: 74

PostPosted: Mon Jul 15, 2002 8:50 am    Post subject: Reply with quote

Hi,

Thanks for the reply.

I tried running "man gentoolkit" but there is no manpage.

The code you mentioned, # export CONFIG_PROTECT="", is it a terminal command or script line in one of the files in /etc folder????

Markku
Back to top
View user's profile Send private message
Shak
n00b
n00b


Joined: 13 Jul 2002
Posts: 34
Location: Huddersfield UK

PostPosted: Mon Jul 15, 2002 9:02 am    Post subject: Reply with quote

the code

Code:


# export CONFIG_PROTECT=""



is a terminal command :)

You need to use

Code:


$ qpkg -l gentoolkit



to see the packages and then man them seperately

Shak
Back to top
View user's profile Send private message
Guest






PostPosted: Mon Jul 15, 2002 11:12 am    Post subject: Reply with quote

One more question.

Rac said to run the command, export CONFIG_PROTECT="", before running emerge. Does it also apply / works when updating the world (emerge -u world) or applies only for individual package upgrades?

Markku
Back to top
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Mon Jul 15, 2002 2:13 pm    Post subject: Reply with quote

It should apply to "emerge -u world" too.
Anonymous wrote:
One more question.

Rac said to run the command, export CONFIG_PROTECT="", before running emerge. Does it also apply / works when updating the world (emerge -u world) or applies only for individual package upgrades?

Markku
Back to top
View user's profile Send private message
xsi
n00b
n00b


Joined: 23 Dec 2011
Posts: 50
Location: Ukraine, Kiev, russian language

PostPosted: Wed Nov 07, 2012 11:35 am    Post subject: Reply with quote

Quote:
is a terminal command :)

You need to use

Code:


$ qpkg -l gentoolkit



I'm really want to launch this but it was unsuccessful. Where it is written about packages of gentoolkit? How to check like these ones.

Code:
qpkg -l gentoolkit
qpkg: invalid option -- 'l'
Usage: qpkg <opts> <misc args> : manipulate Gentoo binpkgs

Options: -[cEpP:vqChV]
  -c, --clean          * clean pkgdir of unused binary files
  -E, --eclean         * clean pkgdir of files not in the tree anymore (slow)
  -p, --pretend        * pretend only
  -P, --pkgdir   <arg> * alternate package directory
  -v, --verbose        * Make a lot of noise
  -q, --quiet          * Tighter output; suppress warnings
  -C, --nocolor        * Don't output color
  -h, --help           * Print this help and exit
  -V, --version        * Print version and exit


Code:
man gentoolkit
No manual entry for gentoolkit

_________________
Phenom X2 560
16 GB RAM
USB 3.0 SATA 3.0
SSD Crucial M4 64GB
GeForce 8400 GS
Ensoniq ES1371 audio
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Wed Nov 07, 2012 12:04 pm    Post subject: Reply with quote

The qpkg referred to above was removed in favour of equery, the equivalent command is:
Code:
equery files gentoolkit

_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9527
Location: beyond the rim

PostPosted: Fri Nov 09, 2012 3:33 pm    Post subject: Reply with quote

Congratulations, you revived a thread that died 10 years ago :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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