Code: Select all
* IMPORTANT: 4 config files in '/etc' need updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
Code: Select all
* IMPORTANT: 4 config files in '/etc' need updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though

Code: Select all
etc-updateCode: Select all
conf-update


I am not at all adverse to KISS solutions, such as the one you suggest, if for no other reason than to learn, however as a new Gentoo user, I am wondering if there is as simple a way to determine which files the system message refers to? I realize that the mention of four files, refers to two versions of two files, but as I admittedly wasn't thinking of this issue at the time... I believe one should be /etc/portage/package.unmask, however the other, I am a bit more unclear about...Goverp wrote:You can use whatever floats your boat. IMHO etc-update and similar are for wimps - real men/women use "diff -yW200" and "nano". (Actually, that should read "emacs", but that's a can of worms into which I've never dipped a toe)

Code: Select all
# etc-update
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/locale.gen (3)
2) /etc/sudoers (1)
3) /etc/libvirt/libvirtd.conf (1)
Please select a file to edit by entering the corresponding number.
(don't use -3, -5, -7 or -9 if you're unsure what to do)
(-1 to exit) (-3 to auto merge all files)
(-5 to auto-merge AND not use 'mv -i')
(-7 to discard all updates)
(-9 to discard all updates AND not use 'rm -i'):What is the "other" you refer to? other tools for manage configuration file?anarchosax wrote:I am not at all adverse to KISS solutions, such as the one you suggest, if for no other reason than to learn, however as a new Gentoo user, I am wondering if there is as simple a way to determine which files the system message refers to? I realize that the mention of four files, refers to two versions of two files, but as I admittedly wasn't thinking of this issue at the time... I believe one should be /etc/portage/package.unmask, however the other, I am a bit more unclear about...Goverp wrote:You can use whatever floats your boat. IMHO etc-update and similar are for wimps - real men/women use "diff -yW200" and "nano". (Actually, that should read "emacs", but that's a can of worms into which I've never dipped a toe)
Use what works for you. Conf-update is in no way better than dispatch-conf. It's just different. It's the first time I'm hearing about it but a simple eix search tells me it's ncurses based. If you like ncurses interfaces, you may like it.flexibeast wrote:i've been using dispatch-conf, which i've not had any issues with; should i instead be using conf-update?
Portage puts updates for protected config files into a new file with the prefix "._cfg####_", where #### is a 4-digit sequence number. Soanarchosax wrote:I am not at all adverse to KISS solutions, such as the one you suggest, if for no other reason than to learn, however as a new Gentoo user, I am wondering if there is as simple a way to determine which files the system message refers to? I realize that the mention of four files, refers to two versions of two files, but as I admittedly wasn't thinking of this issue at the time... I believe one should be /etc/portage/package.unmask, however the other, I am a bit more unclear about...
Code: Select all
find /etc -name '._cfg????_*' -type f
Very cool, thanks. In my case, there were four versions of the package.use file, from when I was futzing around with librewolf and firefox. neither were actually installed, so I just needed to ensure that the content in the files was indeed in connection to the two web browsers and then I just deleted the files. No need to use etc-update, conf-update or dispatch-conf.Goverp wrote:Portage puts updates for protected config files into a new file with the prefix "._cfg####_", where #### is a 4-digit sequence number. Soanarchosax wrote:I am not at all adverse to KISS solutions, such as the one you suggest, if for no other reason than to learn, however as a new Gentoo user, I am wondering if there is as simple a way to determine which files the system message refers to? I realize that the mention of four files, refers to two versions of two files, but as I admittedly wasn't thinking of this issue at the time... I believe one should be /etc/portage/package.unmask, however the other, I am a bit more unclear about...will list them for you. I guess that command or some equivalent is buried in etc-update, cfg_update, conf_update and whatever else.Code: Select all
find /etc -name '._cfg????_*' -type f

Goverp wrote:You can use whatever floats your boat. IMHO etc-update and similar are for wimps - real men/women use "diff -yW200" and "nano".
Heh.Goverp wrote:(Actually, that should read "emacs", but that's a can of worms into which I've never dipped a toe)

Ah okay. i generally don't use ncurses-based stuff, with a few exceptions (e.g. btop / top).logrusx wrote:Conf-update is in no way better than dispatch-conf. It's just different. It's the first time I'm hearing about it but a simple eix search tells me it's ncurses based. If you like ncurses interfaces, you may like it.
Interesting .... i see dispatch-conf was last updated in June by sam_, so given that i'm happy with dispatch-conf, i might stick with it.it seems to be 10 years old now.