[gentoo-user] etc-update automerge-trivial-changes-only flag
A few weeks ago I modified etc-update to add a new flag. This new flag makes etc-update to apply trivial changes exit without showing the menu. A bug was filed, but had no response so far. http://bugs.gentoo.org/show_bug.cgi?id=159080 I just wanted to know what you think. PS. This etc-update could be automatically run after each emerge, so that trivial changes are auto-merged and you are informed about non-trivial changes only. smime.p7s Description: S/MIME Cryptographic Signature
Re: [gentoo-user] etc-update and /etc/portage/package.*
On Sat, 23 Dec 2006 20:40:58 +0100 Bo Ørsted Andresen wrote: > On Friday 22 December 2006 12:30, Arnau Bria wrote: [...] > It's done because of the updates files > in /usr/portage/profiles/updates/ which I think are read during > `emerge --sync`. I'm not aware of any documentation for this so I > think the best source of information are the archives of the > gentoo-dev mailing list. The keywords are slotmove and move. > > $ egrep "ksudoku|emerald-themes" /usr/portage/profiles/updates/* > /usr/portage/profiles/updates/1Q-2006:move games-board/ksudoku > games-puzzle/ksudoku /usr/portage/profiles/updates/4Q-2006:move > x11-misc/emerald-themes x11-themes/emerald-themes > > So it should just have moved ksudoku from the games-board to the > games-puzzle category. Thanks for your reply! -- Arnau Bria http://blog.emergetux.net Wiggum: Dispara a las ruedas Lou. Lou: eee, es un tanque jefe. Wiggum: Me tienes hartito con todas tus excusas. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update and /etc/portage/package.*
On Friday 22 December 2006 12:30, Arnau Bria wrote: > It's the first time that etc-update changes something in > my /etc/portage dir. > > It has changed x11-themes/emerald-themes cause it has changed its > category and removed ksudoku... > > I undestand first change, but not second one, so could someone explain > what checks etc-update in that dir? > > many thanks in advance. It's done because of the updates files in /usr/portage/profiles/updates/ which I think are read during `emerge --sync`. I'm not aware of any documentation for this so I think the best source of information are the archives of the gentoo-dev mailing list. The keywords are slotmove and move. $ egrep "ksudoku|emerald-themes" /usr/portage/profiles/updates/* /usr/portage/profiles/updates/1Q-2006:move games-board/ksudoku games-puzzle/ksudoku /usr/portage/profiles/updates/4Q-2006:move x11-misc/emerald-themes x11-themes/emerald-themes So it should just have moved ksudoku from the games-board to the games-puzzle category. -- Bo Andresen pgplLLINNhOXE.pgp Description: PGP signature
[gentoo-user] etc-update and /etc/portage/package.*
Hi, It's the first time that etc-update changes something in my /etc/portage dir. It has changed x11-themes/emerald-themes cause it has changed its category and removed ksudoku... I undestand first change, but not second one, so could someone explain what checks etc-update in that dir? many thanks in advance. -- Arnau Bria http://blog.emergetux.net Wiggum: Dispara a las ruedas Lou. Lou: eee, es un tanque jefe. Wiggum: Me tienes hartito con todas tus excusas. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update vs dispatch-conf
On Sat, 14 Oct 2006 11:46:16 +0200, Hemmann, Volker Armin wrote: > Why? No need for that. etc-update covers all my needs - I don't have > stupid fingers... My fingers aren't stupid, but they can be downright disobedient at times :( I prefer dispatch-conf, but not for the RCS feature, rdiff-backup backs up /etc every hour anyway, but because it just seems to work better. for me. -- Neil Bothwick If at first you don't succeed, you must be a programmer. signature.asc Description: PGP signature
Re: [gentoo-user] etc-update vs dispatch-conf
On Friday 13 October 2006 18:56, maxim wexler wrote: > Hello group, > > Interesting discussion here: > > http://forums.gentoo.org/viewtopic-t-478783.html > > What does the group think? > > -Maxim > I am not 'the group' but I am using etc-update. It is all that I need. I tried dispatch-conf once and it was way to much work to get it work back then. Why? No need for that. etc-update covers all my needs - I don't have stupid fingers... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update vs dispatch-conf
> dispatch-conf is just a more robust and > full-featured system for > updating config files. I read the first page of that > discussion and it > seems most of those who use etc-update haven't tried > dispatch-conf. > The rest feel they don't need the added features. > IMHO dispatch-conf > should be the default for gentoo (with RCS turned > on) as it would help > a lot of newbies when they make their first config > update mistake. Yeah, I've already made my first. Now it looks like I made a second. I did #emerge baselayout then #dispatch-conf. I only edited out the last comment in dispatch-conf.conf to enable a log file. But nothing appeared. Not in the console or the log. I was expecting a menu to appear listing the files to be altered and a choice of actions. Something did happen: the hard-drive light flickered for a few seconds. But it didn't seem to have left its trace anywhere. Some conf files were altered(or accessed?) but the time stamps correspond to the emerge baselayout, not dispatch-conf. Well, If gentoo doesn't boot in the morning I'll be here to complain from (ewww!) Windows :( -Maxim __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update vs dispatch-conf
On 10/13/06, Justin Patrin <[EMAIL PROTECTED]> wrote: On 10/13/06, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]> wrote:> On Friday 13 October 2006 11:56, maxim wexler <[EMAIL PROTECTED] > wrote> about '[gentoo-user] etc-update vs dispatch-conf':> > Interesting discussion here:>> I didn't read it, but after I heard about dispatch-conf, I set it up to use> RCS and turned on all the auto-merge options and never looked back. For > me, it is vastly superior to etc-update.>Entirely agreed. The auto-merge feature is great as it allows you tohave configs which you haven't touched auto-updated and it keepsbackups of all of your configs if you need them (not that I have as I check the diffs and manual-merge anything I want to keep. :-)dispatch-conf is just a more robust and full-featured system forupdating config files. I read the first page of that discussion and itseems most of those who use etc-update haven't tried dispatch-conf. The rest feel they don't need the added features. IMHO dispatch-confshould be the default for gentoo (with RCS turned on) as it would helpa lot of newbies when they make their first config update mistake. --Justin Patrin--gentoo-user@gentoo.org mailing listBeen using etc-update since day one I started using Gentoo (March 2005? or was it 2004?), it's done exactly what I needed. -- - Mark Shields
Re: [gentoo-user] etc-update vs dispatch-conf
On 10/13/06, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]> wrote: On Friday 13 October 2006 11:56, maxim wexler <[EMAIL PROTECTED]> wrote about '[gentoo-user] etc-update vs dispatch-conf': > Interesting discussion here: I didn't read it, but after I heard about dispatch-conf, I set it up to use RCS and turned on all the auto-merge options and never looked back. For me, it is vastly superior to etc-update. Entirely agreed. The auto-merge feature is great as it allows you to have configs which you haven't touched auto-updated and it keeps backups of all of your configs if you need them (not that I have as I check the diffs and manual-merge anything I want to keep. :-) dispatch-conf is just a more robust and full-featured system for updating config files. I read the first page of that discussion and it seems most of those who use etc-update haven't tried dispatch-conf. The rest feel they don't need the added features. IMHO dispatch-conf should be the default for gentoo (with RCS turned on) as it would help a lot of newbies when they make their first config update mistake. -- Justin Patrin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update vs dispatch-conf
On Friday 13 October 2006 11:56, maxim wexler <[EMAIL PROTECTED]> wrote about '[gentoo-user] etc-update vs dispatch-conf': > Interesting discussion here: I didn't read it, but after I heard about dispatch-conf, I set it up to use RCS and turned on all the auto-merge options and never looked back. For me, it is vastly superior to etc-update. -- "If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability." -- Gentoo Developer Ciaran McCreesh pgpiaZTqUIAVJ.pgp Description: PGP signature
[gentoo-user] etc-update vs dispatch-conf
Hello group, Interesting discussion here: http://forums.gentoo.org/viewtopic-t-478783.html What does the group think? -Maxim __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update: what's the meaning of "using_editor" setting?
On AD 2006 September 09 Saturday 11:06:21 PM +0200, Alexander Skwar wrote: > Hello! > > In /etc/etc-update.conf, there's the "using_editor=" (with 0 and 1, > for false and true) setting. > > What's that supposed to mean? What does it do? When should > it be set to 1 (true) and when to 0? What's an editor? Or, > more directly, I'd like to use "meld" as the diff_command > tool - do I need to set using_editor=1 or =0? >From /usr/sbin/etc-update, which is a symlink to /usr/lib/portage/bin/etc-update, the only reference to 'using_editor' is on line 483. Here is some context: function do_cfg() { ... showdiffcmd=$(echo "${diff_command}" | sed -e "s:%file1:${ofile}:" -e "s:%file2:${file}:") if [ "${using_editor}" == 0 ]; then ( echo "Showing differences between ${ofile} and ${file}" ${showdiffcmd} ) | ${pager} else echo "Beginning of differences between ${ofile} and ${file}" ${showdiffcmd} echo "End of differences between ${ofile} and ${file}" fi Basically it looks like if you have a pager set then you're 'using an editor' otherwise it doesn't expect a pager. Seems like a redundant config to me. Justin -- You have 1 Moderator Point! Use it or lose it! -- gentoo-user@gentoo.org mailing list
[gentoo-user] etc-update: what's the meaning of "using_editor" setting?
Hello! In /etc/etc-update.conf, there's the "using_editor=" (with 0 and 1, for false and true) setting. What's that supposed to mean? What does it do? When should it be set to 1 (true) and when to 0? What's an editor? Or, more directly, I'd like to use "meld" as the diff_command tool - do I need to set using_editor=1 or =0? Thanks, Alexander Skwar -- Will man geachtet werden, muß man unter Menschen leben, die man achten kann. -- Jean de La Bruyère (Die Charaktere) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
Gerhard Hoogterp wrote: On Thursday 29 June 2006 18:09, A. Khattri wrote: On Mon, 26 Jun 2006, David Corbin wrote: > > I don't see why use other tool. Etc-update works great... > > It works great, But the interface sucks. What exactly sucks? Be specific rather than making some vague sweeping statement. The interface oh well.. What about it? What sucks about the interface? How should it be improved? but what I dislike about etc-update (and it's replacements afaik) is this tendency to want to restore files to their original state.. Well - how *could* this be changed? I mean, those tools show the differences between the "orignal state" (ie. the config file as shipped be Gentoo and thus as the "OEM" normally ships it) and what you've got on your hard disk. One keypress to many, one moment of not paying enough attention an whee.. Well - be careful. As always with computers. gone is fstab, XF86Org or some other important file.. I really don't understand why the system doesn't have blabla.conf.dist files to fool around with and leave it up to the administator to check of changes and the like.. Because most of the times, the user expects a more or less working system after having installed the program. That's why programs tend to ship a basic configuration. And that's good so. Yes I've been burned a few times.. and no I didn't like it.. I also don't like being burned. But I don't blame anyone else, if I burn myself. It's just plain my fault and nobody elses. Alexander Skwar -- Kissing a fish is like smoking a bicycle. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
On Thursday 29 June 2006 23:42, David Corbin wrote: > I wonder if something could be done with digital signatures, so that it > only pestered you about files you've edited. That's something dispatch-conf can do. From /etc/dispatch-conf (note the default is no): # Automerge files that the user hasn't modified # (yes or no) replace-unmodified=yes -- Bo Andresen pgpdehaaQWvX8.pgp Description: PGP signature
Re: [gentoo-user] etc-update
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daevid Vincent wrote: > I use Meld as well. It's outstanding. > > But like you, I want to use a 'console' diff program for my remote servers > (that don't have X installed). > > I've looked for a HOWTO or quick tutorial on vimdiff and couldn't find one. > Got any pointers? I know very very little 'vi' enough to insert/delete/save > basically. > > DÆVID > Hi, Give a shot to vimtutor. HTH. Tamas Sarga -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEpEo62hT1i1vMtiURAuv7AJ9InQ3N5qhdQsZ30rRwPkvykBcLjgCglINU 4DK5NLdjbtJV8/le5H3IJUw= =LSnX -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
On Thursday 29 June 2006 12:09 pm, A. Khattri wrote: > On Mon, 26 Jun 2006, David Corbin wrote: > > > I don't see why use other tool. Etc-update works great... > > > > It works great, But the interface sucks. > > What exactly sucks? Be specific rather than making some vague sweeping > statement. The action selection using numbers instead of mnemonics. Use of negative numbers is particuarly bad. After selecting a file to diff, there is not a option to "replace without prompting". I wonder if something could be done with digital signatures, so that it only pestered you about files you've edited. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
On Thu, 29 Jun 2006 18:38:49 +0200, Gerhard Hoogterp wrote: > The interface oh well.. but what I dislike about etc-update (and it's > replacements afaik) is this tendency to want to restore files to their > original state.. One keypress to many, one moment of not paying enough > attention an whee.. gone is fstab, XF86Org or some other important file. There was a patch for dispatch-conf that let you specify files to ignore, which was useful for protecting the likes of fstab (IMO baselayout should bot contain an fstab file, if your system is running, you NEVER need a new one). -- Neil Bothwick Define UNIVERSE; give two examples. signature.asc Description: PGP signature
Re: [gentoo-user] etc-update
On Thursday 29 June 2006 18:09, A. Khattri wrote: > On Mon, 26 Jun 2006, David Corbin wrote: > > > I don't see why use other tool. Etc-update works great... > > > > It works great, But the interface sucks. > > What exactly sucks? Be specific rather than making some vague sweeping > statement. The interface oh well.. but what I dislike about etc-update (and it's replacements afaik) is this tendency to want to restore files to their original state.. One keypress to many, one moment of not paying enough attention an whee.. gone is fstab, XF86Org or some other important file.. I really don't understand why the system doesn't have blabla.conf.dist files to fool around with and leave it up to the administator to check of changes and the like.. Yes I've been burned a few times.. and no I didn't like it.. Gerhard -- Ithaka photography, http://ithaka.mine.nu/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
On Mon, 26 Jun 2006, Philip Webb wrote: > Even if you're not normally a Vim user, this shows the diffs very clearly > & allows you to copy your personal changes from old to new versions. Vim is great for looking at diffs and copying between config files. Anyone hacked dispath-conf to use cvs/svn (if I wanted to use rcs Id still be using BSD ;-) -- A -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
On Mon, 26 Jun 2006, David Corbin wrote: > > > > I don't see why use other tool. Etc-update works great... > > It works great, But the interface sucks. What exactly sucks? Be specific rather than making some vague sweeping statement. -- A -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
On Mon, 26 Jun 2006, Alexander Skwar wrote: > A. Khattri wrote: > > > For example, looking at diffs using vim via etc-update is easier to read > > than dispatch-conf. The fact that dispatch-conf can use archiving is nice > > but it uses the (archaic) rcs tool to do it. > > > > For me, seeing the diffs clearly is more important... > > ACK > > But dispatch-conf uses diff as well, so that's no advantage of etc-update > over dispatch-conf. Sorry the emphasis should have been on the word CLEARLY. diff output is hard to read so I use vim (which is easy to configure and use i etc-update). (Bo pointed out that he's used vim to show diffs with dispathc-conf too). -- A -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] etc-update
I use Meld as well. It's outstanding. But like you, I want to use a 'console' diff program for my remote servers (that don't have X installed). I've looked for a HOWTO or quick tutorial on vimdiff and couldn't find one. Got any pointers? I know very very little 'vi' enough to insert/delete/save basically. DÆVID > -Original Message- > From: Bo Ørsted Andresen [mailto:[EMAIL PROTECTED] > Sent: Monday, June 26, 2006 7:38 AM > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] etc-update > > On Monday 26 June 2006 16:24, Alexander Skwar wrote: > > Hm. Why? What's bad about etc-update? > > I dislike using diff. On my desktop I use meld (all > graphical) and on my > server I use vimdiff. dispatch-update takes care of trivial > merges (changes > in cvs headers or commentaries) and changes in files that I > have never edited > automatically. dispatch-conf supports automatic use of rcs > (revision control > system) so I can revert my configs if I need to.. > > -- > Bo Andresen > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
> > I don't see why use other tool. Etc-update works great... It works great, But the interface sucks. > I've been using it since my first Gentoo install 2 years ago and never > needed (neither bothered looking for) this other tools you mentioned. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
Le lundi 26 juin 2006 à 08:36 -0400, Sean a écrit : > What is the best way to handle the files that etc-update states needs to > be updated? I use dispatch-conf with color highlighting the big advantage of dispatch-conf is that you can configure it to replace config files that you didn't modify automatically. When i run dispatch-conf after a little upgrade when portage told me to do so, most of the time i don't have to do anything (it saves time). here is my dispatch-conf.conf file : # cat /etc/dispatch-conf.conf | grep -v "^#" | grep -v "^$" archive-dir=/etc/config-archive use-rcs=no diff="colordiff -Nu %s %s | less --no-init --QUIT-AT-EOF" merge="sdiff --suppress-common-lines --output=%s %s %s" replace-cvs=yes replace-wscomments=yes replace-unmodified=yes -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
060626 Sean wrote: > What is the best way to handle the files > that etc-update states needs to be updated? You provoked a bit of a debate (smile), but in case it's still not clear, I've long used Etc-update with Gvim as defined in /etc/etc-update.conf : # pager for use with diff commands (see NOTE_2) # pager="less" pager="" # diff_command="vim -d %file1 %file2" # diff_command="diff -uN %file1 %file2" # using_editor=0 diff_command="gvim -d %file1 %file2" using_editor=1 # vim-users: don't use vimdiff for merging (see NOTE_1) merge_command="sdiff -s -o %merged %orig %new" Even if you're not normally a Vim user, this shows the diffs very clearly & allows you to copy your personal changes from old to new versions. Generally, always go through all the etc-updates & keep back-ups of /etc . -- ,, SUPPORT ___//___, Philip Webb : [EMAIL PROTECTED] ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies TRANSIT`-O--O---' University of Toronto -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
A. Khattri wrote: >On Mon, 26 Jun 2006, Teresa and Dale wrote: > > > >>I also seem to recall that dispatch-conf didn't keep back-ups on mine. >>I had the directory but it was always empty even after a lot of >>updates. You know of any reason for that? >> >> > >Is use-rcs=yes in /etc/dispath-conf.conf ? > > > > > It wasn't, it had this: > # Use rcs for storing files in the archive directory? > # (yes or no) > use-rcs=no It will be now though. I'll try to remember to try it next time. Looks like it should be yes by default to me. Thanks Dale :-) :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
A. Khattri wrote: For example, looking at diffs using vim via etc-update is easier to read than dispatch-conf. The fact that dispatch-conf can use archiving is nice but it uses the (archaic) rcs tool to do it. For me, seeing the diffs clearly is more important... ACK But dispatch-conf uses diff as well, so that's no advantage of etc-update over dispatch-conf. Alexander Skwar -- A consultant is a person who borrows your watch, tells you what time it is, pockets the watch, and sends you a bill for it. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
On Monday 26 June 2006 19:28, A. Khattri wrote: > > > For me, seeing the diffs clearly is more important... > > > > Why would you think that cfg-update and dispatch-conf cannot show you the > > diffs? > > Vim diff? Was that a question?! diff is the default. I have used vimdiff, kompare and now I'm using meld. They all show diffs. Did I answer your question? # grep ^#*diff /etc/dispatch-conf.conf #diff="diff -Nu %s %s | less --no-init --QUIT-AT-EOF" #diff="vimdiff %s %s" #diff="/usr/kde/3.5/bin/kompare %s %s" diff="/usr/bin/meld %s %s" -- Bo Andresen pgpOSfuESZidb.pgp Description: PGP signature
Re: [gentoo-user] etc-update
Bo Ørsted Andresen wrote: On Monday 26 June 2006 16:24, Alexander Skwar wrote: Hm. Why? What's bad about etc-update? I dislike using diff. Hm. dispatch-conf uses diff as well and etc-update can be configured to use a different program. On my desktop I use meld (all graphical) and on my server I use vimdiff. dispatch-update takes care of trivial merges So does etc-update. (changes in cvs headers or commentaries) Ah, okay, that's a bit better. As far as I know, etc-update only automerges changes in whitespace. and changes in files that I have never edited automatically. That's nice. dispatch-conf supports automatic use of rcs (revision control system) so I can revert my configs if I need to.. That's also nice. Alexander Skwar -- Old age is the most unexpected of things that can happen to a man. -- Trotsky -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
On Mon, 26 Jun 2006, Teresa and Dale wrote: > I also seem to recall that dispatch-conf didn't keep back-ups on mine. > I had the directory but it was always empty even after a lot of > updates. You know of any reason for that? Is use-rcs=yes in /etc/dispath-conf.conf ? -- A -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
On Mon, 26 Jun 2006, Bo Ørsted Andresen wrote: > On Monday 26 June 2006 16:29, A. Khattri wrote: > > For example, looking at diffs using vim via etc-update is easier to read > > than dispatch-conf. The fact that dispatch-conf can use archiving is nice > > but it uses the (archaic) rcs tool to do it. > > > > For me, seeing the diffs clearly is more important... > > Why would you think that cfg-update and dispatch-conf cannot show you the > diffs? Vim diff? -- A -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
Neil Bothwick wrote: >On Mon, 26 Jun 2006 10:59:09 -0500, Teresa and Dale wrote: > > > >>>I don't see why use other tool. Etc-update works great... >>>I've been using it since my first Gentoo install 2 years ago and never >>>needed (neither bothered looking for) this other tools you mentioned. >>> >>> > >If you haven't tried them, you can't know whether they are better or not. > > > >>I have tried the other tools and they are not any better. The biggest >>thing, no matter what tool you use, is to be VERY careful what you >>update. For me, about 95% of the stuff is fine but that 5% can keel you >>or make you wish you were dead. O_O >> >> > >This alone makes dispatch-conf worthwhile, because you can roll back any >changes it makes. > > > > Well, I make backups of etc anyway. I just copy it to old-etc and keep it lying around. I ran into a blank inittab once and even dispatch-conf wouldn't have saved me there. I don't think it was a update, just got erased somehow. I'm not sure how that happened either cause I don't even look at that one. I just recognized what it was doing and that it was blank. I also seem to recall that dispatch-conf didn't keep back-ups on mine. I had the directory but it was always empty even after a lot of updates. You know of any reason for that? Thanks Dale :-) :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
On Mon, 26 Jun 2006 10:59:09 -0500, Teresa and Dale wrote: > > I don't see why use other tool. Etc-update works great... > > I've been using it since my first Gentoo install 2 years ago and never > > needed (neither bothered looking for) this other tools you mentioned. If you haven't tried them, you can't know whether they are better or not. > I have tried the other tools and they are not any better. The biggest > thing, no matter what tool you use, is to be VERY careful what you > update. For me, about 95% of the stuff is fine but that 5% can keel you > or make you wish you were dead. O_O This alone makes dispatch-conf worthwhile, because you can roll back any changes it makes. -- Neil Bothwick Top Oxymorons Number 3: Working vacation signature.asc Description: PGP signature
Re: [gentoo-user] etc-update
Daniel da Veiga wrote: > On 6/26/06, Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote: > >> On Monday 26 June 2006 14:36, Sean wrote: >> > What is the best way to handle the files that etc-update states >> needs to >> > be updated? >> >> There are three competing utilities for this purpose. The official >> etc-update >> (which sucks and should have been deprecated a long time ago... ;) ), >> dispatch-conf and cfg-update. >> > > What's the matter with etc-update? It just does it all... > >> > It displays a list of all the files that need updating, but does it >> > actually put this list into a file anywhere so that I can manually >> look >> > them over to see what the differences are? >> >> This will show the new files: >> >> # find /etc -name ._cfg* >> >> > Or could anyone suggest the best steps to proceed? >> >> What you should do is figure out how to use either dispatch-conf or >> cfg-update. Personally I use dispatch-conf because I learned that >> first and >> it satisfies my needs. I think cfg-update is superior but never >> bothered to >> investigate. A couple of references: >> >> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=4 >> http://forums.gentoo.org/viewtopic.php?t=86622 >> > > I don't see why use other tool. Etc-update works great... > I've been using it since my first Gentoo install 2 years ago and never > needed (neither bothered looking for) this other tools you mentioned. > I have tried the other tools and they are not any better. The biggest thing, no matter what tool you use, is to be VERY careful what you update. For me, about 95% of the stuff is fine but that 5% can keel you or make you wish you were dead. O_O Dale :-) :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
On 6/26/06, Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote: On Monday 26 June 2006 14:36, Sean wrote: > What is the best way to handle the files that etc-update states needs to > be updated? There are three competing utilities for this purpose. The official etc-update (which sucks and should have been deprecated a long time ago... ;) ), dispatch-conf and cfg-update. What's the matter with etc-update? It just does it all... > It displays a list of all the files that need updating, but does it > actually put this list into a file anywhere so that I can manually look > them over to see what the differences are? This will show the new files: # find /etc -name ._cfg* > Or could anyone suggest the best steps to proceed? What you should do is figure out how to use either dispatch-conf or cfg-update. Personally I use dispatch-conf because I learned that first and it satisfies my needs. I think cfg-update is superior but never bothered to investigate. A couple of references: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=4 http://forums.gentoo.org/viewtopic.php?t=86622 I don't see why use other tool. Etc-update works great... I've been using it since my first Gentoo install 2 years ago and never needed (neither bothered looking for) this other tools you mentioned. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
On Monday 26 June 2006 16:29, A. Khattri wrote: > For example, looking at diffs using vim via etc-update is easier to read > than dispatch-conf. The fact that dispatch-conf can use archiving is nice > but it uses the (archaic) rcs tool to do it. > > For me, seeing the diffs clearly is more important... Why would you think that cfg-update and dispatch-conf cannot show you the diffs? -- Bo Andresen pgpi2qsLatnLT.pgp Description: PGP signature
Re: [gentoo-user] etc-update
On Monday 26 June 2006 16:24, Alexander Skwar wrote: > Hm. Why? What's bad about etc-update? I dislike using diff. On my desktop I use meld (all graphical) and on my server I use vimdiff. dispatch-update takes care of trivial merges (changes in cvs headers or commentaries) and changes in files that I have never edited automatically. dispatch-conf supports automatic use of rcs (revision control system) so I can revert my configs if I need to.. -- Bo Andresen pgpHdanrXFo9X.pgp Description: PGP signature
Re: [gentoo-user] etc-update
On Mon, 26 Jun 2006, Bo Ørsted Andresen wrote: > There are three competing utilities for this purpose. The official etc-update > (which sucks and should have been deprecated a long time ago... ;) ), > dispatch-conf and cfg-update. Actually all the update tools have pros and cons. For example, looking at diffs using vim via etc-update is easier to read than dispatch-conf. The fact that dispatch-conf can use archiving is nice but it uses the (archaic) rcs tool to do it. For me, seeing the diffs clearly is more important... -- A -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
Bo Ørsted Andresen wrote: > On Monday 26 June 2006 14:36, Sean wrote: >> What is the best way to handle the files that etc-update states needs to >> be updated? > > There are three competing utilities for this purpose. The official etc-update > (which sucks and should have been deprecated a long time ago... ;) ), What's bad about etc-update or what's missing? > dispatch-conf and cfg-update. Hm, where are the advantages of dispatch-conf over etc-update? I just used dispatch-conf for the first time, and it seems to be very much like etc-update, but it doesn't even display the list of files that need to be updated nor does it seem to offer a way to accept all changes (which are left). >> Or could anyone suggest the best steps to proceed? > > What you should do is figure out how to use either dispatch-conf or > cfg-update. Hm. Why? What's bad about etc-update? Alexander Skwar -- Some people pray for more than they are willing to work for. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
Sean wrote: > What is the best way to handle the files that etc-update states needs to > be updated? Check them. > It displays a list of all the files that need updating, but does it > actually put this list into a file anywhere Not to my knowledge. > so that I can manually look > them over to see what the differences are? Hm? When you chose a file, the differences are shown to you. > Or could anyone suggest the best steps to proceed? Use etc-update :) I don't understand your problem, though. Alexander Skwar -- Some people pray for more than they are willing to work for. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update
On Monday 26 June 2006 14:36, Sean wrote: > What is the best way to handle the files that etc-update states needs to > be updated? There are three competing utilities for this purpose. The official etc-update (which sucks and should have been deprecated a long time ago... ;) ), dispatch-conf and cfg-update. > It displays a list of all the files that need updating, but does it > actually put this list into a file anywhere so that I can manually look > them over to see what the differences are? This will show the new files: # find /etc -name ._cfg* > Or could anyone suggest the best steps to proceed? What you should do is figure out how to use either dispatch-conf or cfg-update. Personally I use dispatch-conf because I learned that first and it satisfies my needs. I think cfg-update is superior but never bothered to investigate. A couple of references: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=4 http://forums.gentoo.org/viewtopic.php?t=86622 -- Bo Andresen pgpWf8fJfiaWH.pgp Description: PGP signature
[gentoo-user] etc-update
What is the best way to handle the files that etc-update states needs to be updated? It displays a list of all the files that need updating, but does it actually put this list into a file anywhere so that I can manually look them over to see what the differences are? Or could anyone suggest the best steps to proceed? Thanks Sean -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update after 'emerge -e world'
> On 12/5/05, Grant <[EMAIL PROTECTED]> wrote: > > I 'emerge sync' and 'emerge -DuN world' daily so why did 'emerge -e > > system' and 'emerge -e world' (for the GCC upgrade) each come up with > > a bunch of etc files to be updated via etc-update? > > > > - Grant > > Because emerge -e re-installs every package on your system it also > wants to re-install the config files. If you are fairly confident that > you don't need these changes (as most of them will want to revert your > config file back to the original) you can run etc-update letting it > merge trivial changes and then tell it to keep all the files as is, > discarding the updates. > > -Mike Alright, thanks Mike. - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update after 'emerge -e world'
On 12/5/05, Grant <[EMAIL PROTECTED]> wrote: > I 'emerge sync' and 'emerge -DuN world' daily so why did 'emerge -e > system' and 'emerge -e world' (for the GCC upgrade) each come up with > a bunch of etc files to be updated via etc-update? > > - Grant Because emerge -e re-installs every package on your system it also wants to re-install the config files. If you are fairly confident that you don't need these changes (as most of them will want to revert your config file back to the original) you can run etc-update letting it merge trivial changes and then tell it to keep all the files as is, discarding the updates. -Mike -- Michael E. Crute Software Developer SoftGroup Development Corporation Linux takes junk and turns it into something useful. Windows takes something useful and turns it into junk. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] etc-update after 'emerge -e world'
Grant wrote: I 'emerge sync' and 'emerge -DuN world' daily so why did 'emerge -e system' and 'emerge -e world' (for the GCC upgrade) each come up with a bunch of etc files to be updated via etc-update? - Grant Missed a few last time around? If you made your own changes it might be trying to overwrite them back to the default. Chris. -- gentoo-user@gentoo.org mailing list
[gentoo-user] etc-update after 'emerge -e world'
I 'emerge sync' and 'emerge -DuN world' daily so why did 'emerge -e system' and 'emerge -e world' (for the GCC upgrade) each come up with a bunch of etc files to be updated via etc-update? - Grant -- gentoo-user@gentoo.org mailing list