Re: [gentoo-user] Update question

2003-10-23 Thread Brett I. Holcomb
Yes, thanks.

On Thursday 23 October 2003 19:58, you wrote:
> On Thu Oct 23, 2003 at 06:55:11PM -0400 or thereabouts, Brett I. Holcomb 
wrote:
> > Where do you find this cfg-update?
> >
> > Thanks.
> >
> > On Tuesday 21 October 2003 23:27, you wrote:
>
> http://forums.gentoo.org/viewtopic.php?t=86622
>
> Hope this helps.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update question

2003-10-23 Thread Robert Crawford
Gentoo.org forums, under Documentation, Tips, & Tricks.

http://forums.gentoo.org/viewtopic.php?t=86622


On Thursday 23 October 2003 6:55 pm, Brett I. Holcomb wrote:
> Where do you find this cfg-update?
>
> Thanks.
>
> On Tuesday 21 October 2003 23:27, you wrote:
> > > IMO etc-update should make a backup copy of all files replaced
> > >
> > > Rick
> > >
> > > Kitty5 NewMedia http://Kitty5.com
> > > POV-Ray News & Resources http://Povray.co.uk
> > > TEL : +44 (01270) 501101 - ICQ : 15776037
> >
> > Rick,
> > This is one of the features (among others) of using the cfg-update with
> > the xxdiff gui front-end to replace using etc-update. After you set it
> > up, you just type "cfg-update -i" instead "of etc-update," and the xxdiff
> > gui comes up with the original and the ._cfg file shown in right and
> > left panes- then you open a "merged" pane and you can work in those very
> > easily, with many options.
> >
> > Robert Crawford
>
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update question

2003-10-23 Thread Michael Rasile
On Thu Oct 23, 2003 at 06:55:11PM -0400 or thereabouts, Brett I. Holcomb wrote:
> Where do you find this cfg-update?
> 
> Thanks.
> 
> On Tuesday 21 October 2003 23:27, you wrote:
> > > IMO etc-update should make a backup copy of all files replaced
> > >
> > > Rick
> > >
> > > Kitty5 NewMedia http://Kitty5.com
> > > POV-Ray News & Resources http://Povray.co.uk
> > > TEL : +44 (01270) 501101 - ICQ : 15776037
> >
> > Rick,
> > This is one of the features (among others) of using the cfg-update with the
> > xxdiff gui front-end to replace using etc-update. After you set it up, you
> > just type "cfg-update -i" instead "of etc-update," and the xxdiff gui comes
> > up with the original and the ._cfg file shown in right and left panes-
> > then you open a "merged" pane and you can work in those very easily, with
> > many options.
> >
> > Robert Crawford
> 

http://forums.gentoo.org/viewtopic.php?t=86622

Hope this helps.

> 

-- 
Regards,
Mike
[EMAIL PROTECTED]
"Don't Fear The Penguin."

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update question

2003-10-23 Thread Brett I. Holcomb
Where do you find this cfg-update?

Thanks.

On Tuesday 21 October 2003 23:27, you wrote:
> > IMO etc-update should make a backup copy of all files replaced
> >
> > Rick
> >
> > Kitty5 NewMedia http://Kitty5.com
> > POV-Ray News & Resources http://Povray.co.uk
> > TEL : +44 (01270) 501101 - ICQ : 15776037
>
> Rick,
> This is one of the features (among others) of using the cfg-update with the
> xxdiff gui front-end to replace using etc-update. After you set it up, you
> just type "cfg-update -i" instead "of etc-update," and the xxdiff gui comes
> up with the original and the ._cfg file shown in right and left panes-
> then you open a "merged" pane and you can work in those very easily, with
> many options.
>
> Robert Crawford

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update question

2003-10-22 Thread Ernie Schroder
On Wednesday 22 October 2003 07:49 am, brett holcomb wrote:
> Not that I'm aware of.  I keep backups on another system
> and on tape so I can recover.  I assume you've seen some
> of the suggestions in this thread about other programs
> that might make updating easier.


> >
> >If accidentally updating a /etc/~config file, is there
> >any record to trace it, i.e. any record showing config
> >files updated.
> >
> >B.R.
> >Stephen

After getting burned one too many times I back up my main box every 
night. I also keep a manual backup of important config files in a 
directory on my home partition. I call it etc_backup. It contains the 
last 2 or 3 working configs of things that could really cause havoc 
if I screwed up with etc-update. I HAVE used it, but luckily, not for 
a while now.
-- 
Regards, Ernie
100% Microsoft and Intel free


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update question

2003-10-22 Thread brett holcomb
Not that I'm aware of.  I keep backups on another system 
and on tape so I can recover.  I assume you've seen some 
of the suggestions in this thread about other programs 
that might make updating easier.

One thing I do is run emerge sync and then emerge -uDp on 
system and world very frequently (daily on some machines). 
This helps keep the number of changes down which is where 
we get into trouble - with a large list of changes it's 
easy to miss one.

On Wed, 22 Oct 2003 11:56:01 +0800
 Stephen Liu <[EMAIL PROTECTED]> wrote:
Hi Brett,

Thanks for your advice.

If accidentally updating a /etc/~config file, is there 
any record to trace it, i.e. any record showing config 
files updated.

B.R.
Stephen
brett holcomb wrote:

Yes - look at what etc-update displays.  It gives options 
for updating 
all files automatically, selecting them one at a time or 
skipping them.

On Tue, 21 Oct 2003 23:29:56 +0800
Stephen Liu <[EMAIL PROTECTED]> wrote:
Hi Hall

Can I deselect some of the files LISTED?

Thanks

B.R.
Stephen



--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-21 Thread Stephen Liu
Hi Brett,

Thanks for your advice.

If accidentally updating a /etc/~config file, is there any record to 
trace it, i.e. any record showing config files updated.

B.R.
Stephen
brett holcomb wrote:

Yes - look at what etc-update displays.  It gives options for updating 
all files automatically, selecting them one at a time or skipping them.

On Tue, 21 Oct 2003 23:29:56 +0800
 Stephen Liu <[EMAIL PROTECTED]> wrote:
Hi Hall

Can I deselect some of the files LISTED?

Thanks

B.R.
Stephen



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-21 Thread Robert Crawford

> A more novice-friendly tool would probably benefit a lot of users. But
> it should be as an additional option for updating files as well as
> the current etc-update, not instead of it. Seeing as so many people are
> keen for such a tool it shouldn't be too long before someone writes one.
> Maybe the graphical program someone mentioned fits the bill already...
>
> Cheers
> David
>
> BTW it may be helpful to read the last couple of paragraphs from Heschi
> Kreinick's post in August for a brief overview of how the current
> `problem' came to be:
> http://article.gmane.org/gmane.linux.gentoo.user/42052/
>
> --
> [EMAIL PROTECTED] mailing list

Again, I urge people to check out the cfg-update script that opens the great 
full-featured xxdiff program as a replacement for etc-update. Really newbie 
friendly! Find it on the Gentoo forums under the Docs, tricks, tips 
forum.(post has great screen shots) Once set up, you just type cfg-update -i 
instead of etc-update after emerging if you need to.

http://forums.gentoo.org/viewtopic.php?t=86622

Robert Crawford


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update question

2003-10-21 Thread Robert Crawford

>
> IMO etc-update should make a backup copy of all files replaced
>
> Rick
>
> Kitty5 NewMedia http://Kitty5.com
> POV-Ray News & Resources http://Povray.co.uk
> TEL : +44 (01270) 501101 - ICQ : 15776037

Rick,
This is one of the features (among others) of using the cfg-update with the 
xxdiff gui front-end to replace using etc-update. After you set it up, you 
just type "cfg-update -i" instead "of etc-update," and the xxdiff gui comes 
up with the original and the ._cfg file shown in right and left panes- 
then you open a "merged" pane and you can work in those very easily, with 
many options.

Robert Crawford


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update question

2003-10-21 Thread Richard Kilgore
On Tue, Oct 21, 2003 at 05:14:46PM -0500, Andrew Gaffney wrote:
> Michael Rasile wrote:
> >It's funny that you mention that. I'm not a newbie to Linux but I was 
> >to gentoo some months back when I did my first update and was told 
> >(nicely, of course! :-))to do an etc-update. Well, I never dreamed 
> >that /etc/fstab would be overwritten. Duh, this was my oversight, of 
> >course, I'm not blaming anyone.  But I didn't catch it so when gentoo 
> >wouldn't boot, I thought the system had given up the ghost. I 
> >reinstalled gentoo. I believe I must have had a lot of free time back 
> >then. :-) Had I caught it, I could have simply corrected the 
> >/etc/fstab overwrite and things would have been fine. I didn't go 
> >back to Mandrake, however. :-))). It happened again, but the second 
> >time, I was more careful. I agree with what someone said earlier, is 
> >it really necessary to even offer to change /etc/fstab??
> 
> /etc/fstab is a config file just like anything else in /etc. etc-update of 
> dispatch-conf or any other tool you may choose to use to update your config 
> files had no way to know whether changing a certain file may render your 
> system unbootable.

That is really irrelevant.  If a single question, buried among
dozens of others and in no way emphasized can prevent your system
from booting if you answer it the wrong way, then it needs to be
changed (or use -5 in etc-update, in which case you didn't even
really answer that particular question).

Failing to do so, whatever the technical reason, would be
inexcusable in an awful lot of people's eyes.  I'd be raising it
as a banner of proof of my convictions if I caught Windows doing
something like that (actually, I have, and I did -- blowing away
my MBR without asking the first time I mistakenly tried to
install Linux first and Windows second was pretty bad).

- richard

-- 
Richard Kilgore
[EMAIL PROTECTED]

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update question

2003-10-21 Thread Doug Weimer
On Tue, 2003-10-21 at 15:39, Rick [Kitty5] wrote:

> IMO etc-update should make a backup copy of all files replaced
> 
> Rick

You can do this with two small changes. First, add the --backup option
to mv_opts in /etc/etc-update.conf. Note: The default backup option will
create a single backup named filename~. If you do want to maintain
previous backups, you can use something like --backup=numbered. Take a
look at the man info page for other backup options.

The second change is to the etc-update program itself. Unfortunately,
etc-update's current method using when using '-5' is to reset mv_opts to
"". To add backups when using the '-5' option open /usr/sbin/etc-update
in an editor and locate the lines:

  if (( ${input} == -5 )); then
 input=-3
 export mv_opts=""
  fi

Change the export line to: export mv_opts="--backup". Or
--backup=numbered etc.

Good Luck,

Doug


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update question

2003-10-21 Thread David Friggens
* Hall Stevenson <[EMAIL PROTECTED]> [2003-10-21 13:18]:
> Someone commented about *not* replacing files like /etc/fstab or /etc/issue 
> and the response was that "we sometimes need to merge new information". I 
> guess I have a different definition of "merge"... To me, "merge" would 
> imply "add to", not "replace".

> I do see mention of an option "CONFIG_PROTECT_MASK="enter files here..." 
> that you add to /etc/make.conf. Haha !! But /etc/make.conf is a file that 
> frequently gets replaced !!

No file gets replaced unless you replace it. Portage places new versions
of files beside them and tells you to update/merge any new information.
etc-update is a tool to help you do that. Sure, it could be a bit more
user friendly and better documented but you can't really add anything
more than that.

True, replacing fstab will make your system unbootable, but it's fairly
quick to boot from CD and edit the file correctly. But it would take me
much longer to figure out all the custom options in my apache conf file
if that got replaced with the default - can we have non-replace
functionality for that too? What about ... [pick one from the infinite
list of possibilities].

There isn't really anywhere to draw the line, so if you got involved in
doing something like that it would become hugely complicated. And it
would probably lose functionality.

A more novice-friendly tool would probably benefit a lot of users. But
it should be as an additional option for updating files as well as
the current etc-update, not instead of it. Seeing as so many people are
keen for such a tool it shouldn't be too long before someone writes one.
Maybe the graphical program someone mentioned fits the bill already...

Cheers
David

BTW it may be helpful to read the last couple of paragraphs from Heschi
Kreinick's post in August for a brief overview of how the current
`problem' came to be:
http://article.gmane.org/gmane.linux.gentoo.user/42052/

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update question

2003-10-21 Thread Rick [Kitty5]
Michael Rasile wrote:
> I agree with what someone said earlier, is
> it really necessary to even offer to change /etc/fstab??

IMO etc-update should make a backup copy of all files replaced

Rick

Kitty5 NewMedia http://Kitty5.com
POV-Ray News & Resources http://Povray.co.uk
TEL : +44 (01270) 501101 - ICQ : 15776037

PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update question

2003-10-21 Thread Andrew Gaffney
Michael Rasile wrote:
On Tue, 21 Oct 2003 14:33:59 +0100, norm wrote:

You know, now that you mention is, I seem to recall that it wanted
to
replace mine once too. Luckily I caught it ! This is one thing
where
Gentoo's package system needs work. With RPM or APT, it always
backs up
your current file(s) and appends a meaningful name to it.
I agree, If I had been a complete newbie I would have really
panicked
and probably went back to Mandrake (god forbid).


It's funny that you mention that. I'm not a newbie to Linux but I was 
to gentoo some months back when I did my first update and was told 
(nicely, of course! :-))to do an etc-update. Well, I never dreamed 
that /etc/fstab would be overwritten. Duh, this was my oversight, of 
course, I'm not blaming anyone.  But I didn't catch it so when gentoo 
wouldn't boot, I thought the system had given up the ghost. I 
reinstalled gentoo. I believe I must have had a lot of free time back 
then. :-) Had I caught it, I could have simply corrected the 
/etc/fstab overwrite and things would have been fine. I didn't go 
back to Mandrake, however. :-))). It happened again, but the second 
time, I was more careful. I agree with what someone said earlier, is 
it really necessary to even offer to change /etc/fstab??
/etc/fstab is a config file just like anything else in /etc. etc-update of dispatch-conf 
or any other tool you may choose to use to update your config files had no way to know 
whether changing a certain file may render your system unbootable.

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-21 Thread Robert Crawford
For those interested, there's a great gui replacement script for etc-update on 
the Gentoo forum by xentric (with screenshots). He helped me tremendously 
getting it working, as my system was severely misconfigured, and I had 
problems. He has updated it with some things we discovered which will insure 
that users will avoid the pitfalls I ran into. (In the process, I also 
corrected serious problems with my Gentoo installation).

Robert Crawford (wrc1944 on the forum)

http://forums.gentoo.org/viewtopic.php?t=86622


On Tuesday 21 October 2003 2:22 pm, brett holcomb wrote:
> Yes, but I haven't had much luck with that.  At some time
> I might go back and work with it some more.
>
> On Tue, 21 Oct 2003 19:33:07 +0200
>
>   Andrej Kacian <[EMAIL PROTECTED]> wrote:
> >On Tue, 21 Oct 2003 10:42:18 -0400
> >
> >"brett holcomb" <[EMAIL PROTECTED]> wrote:
> >> Yes, you have to look at what it wants to update.  If
> >>it's
> >> a file you edit then see what it wants to change.  I
> >>have
> >> some on my list (make.conf, fstab) that I always do
> >> manually.  You can't just tell etc-update to run and let
> >> it loose.
> >
> >You can always 'merge' interactively, it is a powerful
> >feature.



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update question

2003-10-21 Thread Michael Rasile
On Tue, 21 Oct 2003 14:33:59 +0100, norm wrote:
>
>>You know, now that you mention is, I seem to recall that it wanted
>>to
>>replace mine once too. Luckily I caught it ! This is one thing
>>where
>>Gentoo's package system needs work. With RPM or APT, it always
>>backs up
>>your current file(s) and appends a meaningful name to it.
>>
>
>I agree, If I had been a complete newbie I would have really
>panicked
>and probably went back to Mandrake (god forbid).


It's funny that you mention that. I'm not a newbie to Linux but I was
to gentoo some months back when I did my first update and was told
(nicely, of course! :-))to do an etc-update. Well, I never dreamed
that /etc/fstab would be overwritten. Duh, this was my oversight, of
course, I'm not blaming anyone.  But I didn't catch it so when gentoo
wouldn't boot, I thought the system had given up the ghost. I
reinstalled gentoo. I believe I must have had a lot of free time back
then. :-) Had I caught it, I could have simply corrected the
/etc/fstab overwrite and things would have been fine. I didn't go
back to Mandrake, however. :-))). It happened again, but the second
time, I was more careful. I agree with what someone said earlier, is
it really necessary to even offer to change /etc/fstab??





--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update question

2003-10-21 Thread brett holcomb
Yes - look at what etc-update displays.  It gives options 
for updating all files automatically, selecting them one 
at a time or skipping them.

On Tue, 21 Oct 2003 23:29:56 +0800
 Stephen Liu <[EMAIL PROTECTED]> wrote:
Hi Hall

Can I deselect some of the files LISTED?

Thanks

B.R.
Stephen
--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-21 Thread brett holcomb
Yes, but I haven't had much luck with that.  At some time 
I might go back and work with it some more.

On Tue, 21 Oct 2003 19:33:07 +0200
 Andrej Kacian <[EMAIL PROTECTED]> wrote:
On Tue, 21 Oct 2003 10:42:18 -0400
"brett holcomb" <[EMAIL PROTECTED]> wrote:
Yes, you have to look at what it wants to update.  If 
it's 
a file you edit then see what it wants to change.  I 
have 
some on my list (make.conf, fstab) that I always do 
manually.  You can't just tell etc-update to run and let 
it loose.
You can always 'merge' interactively, it is a powerful 
feature.

--
/~\ The ASCIIAndrej "Ticho" Kacian 
\ / Ribbon Campaign  GnuPG public key ID: 7CD93FE2 
(pgp.mit.edu)
 X  Against HTML Key fingerprint:
/ \ Email!   E87D 9DEF 2A23 6FFB 7AD9 542F 4253 
3A46 7CD9 3FE2

"Don't forget that MS-Windows is just a temporary
 workaround until you can switch to a GNU system."
  --GnuPG creators


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-21 Thread Andrej Kacian
On Tue, 21 Oct 2003 10:42:18 -0400
"brett holcomb" <[EMAIL PROTECTED]> wrote:

> Yes, you have to look at what it wants to update.  If it's 
> a file you edit then see what it wants to change.  I have 
> some on my list (make.conf, fstab) that I always do 
> manually.  You can't just tell etc-update to run and let 
> it loose.

You can always 'merge' interactively, it is a powerful feature.

-- 
/~\ The ASCIIAndrej "Ticho" Kacian 
\ / Ribbon Campaign  GnuPG public key ID: 7CD93FE2 (pgp.mit.edu)
 X  Against HTML Key fingerprint:
/ \ Email!   E87D 9DEF 2A23 6FFB 7AD9 542F 4253 3A46 7CD9 3FE2

"Don't forget that MS-Windows is just a temporary
 workaround until you can switch to a GNU system."
  --GnuPG creators


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] Update question

2003-10-21 Thread Hall Stevenson
At 11:23 AM 10/21/2003, you wrote:
Off to Gentoo's "bug" submittal system to see if anything like this is 
already listed
A search for "etc-update" turns up (18) results, many similar to what I'm 
referring to...

Someone commented about *not* replacing files like /etc/fstab or /etc/issue 
and the response was that "we sometimes need to merge new information". I 
guess I have a different definition of "merge"... To me, "merge" would 
imply "add to", not "replace".

I do see mention of an option "CONFIG_PROTECT_MASK="enter files here..." 
that you add to /etc/make.conf. Haha !! But /etc/make.conf is a file that 
frequently gets replaced !!

Hall

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-21 Thread Hall Stevenson
At 12:54 PM 10/21/2003, you wrote:
On Tue, 21 Oct 2003 14:33:59 +0100 norm <[EMAIL PROTECTED]> wrote:

>
> > You know, now that you mention is, I seem to recall that it wanted to
> > replace mine once too. Luckily I caught it ! This is one thing where
> > Gentoo's package system needs work. With RPM or APT, it always backs up
> > your current file(s) and appends a meaningful name to it.
> >
>
> I agree, If I had been a complete newbie I would have really panicked
> and probably went back to Mandrake (god forbid).
>
Gentoo developers do a bang-up job (unpaid) on most things, but no one has 
been
able to sell them the fact that offering to replace /etc/fstab (and other
critical files) with a generic version (usually there are no differences other
than a CVS date) on a running system is a piss-poor idea!  Shure, only 
gurus who
never make any mistakes run gentoo.
I am hesitant to criticize too harshly people who do an otherwise excellent 
job, but are unpaid for doing so. Until it affects one of them, apparently 
we won't see a "fix" for this.

Regards
Hall 

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-21 Thread Collins Richey
On Tue, 21 Oct 2003 14:33:59 +0100 norm <[EMAIL PROTECTED]> wrote:

> 
> > You know, now that you mention is, I seem to recall that it wanted to 
> > replace mine once too. Luckily I caught it ! This is one thing where 
> > Gentoo's package system needs work. With RPM or APT, it always backs up 
> > your current file(s) and appends a meaningful name to it.
> > 
> 
> I agree, If I had been a complete newbie I would have really panicked 
> and probably went back to Mandrake (god forbid).
> 

Gentoo developers do a bang-up job (unpaid) on most things, but no one has been
able to sell them the fact that offering to replace /etc/fstab (and other
critical files) with a generic version (usually there are no differences other
than a CVS date) on a running system is a piss-poor idea!  Shure, only gurus who
never make any mistakes run gentoo. 

-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update question

2003-10-21 Thread Hall Stevenson
At 11:29 AM 10/21/2003, you wrote:
Again, when you run etc-update, it will *LIST* all of the files it wants 
to update. You could probably 'cat' that list to a file too.

Can I deselect some of the files LISTED?
Follow the prompts...

Hall 

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-21 Thread Stephen Liu
Hi Hall

- snip -

I hesitate whether to proceed UPDATE as recommended if all config 
files will be rewritten.  Not only adding extra work, but the 
difficulty to me is I am new to Gentoo only having it running for one 
(1) day.  I am inexperienced to re-fix them back if Gentoo can't run 
properly afterwords.

Have you edited any files in /etc ?? The ones that will possibly get 
updated you probably haven't touched. It won't overwrite files like 
/etc/resolv.conf or /etc/hostname. It will often want to replace 
/etc/make.conf, for example.
Yes.  I have edited files under /etc/  such as make.conf

Again, when you run etc-update, it will *LIST* all of the files it 
wants to update. You could probably 'cat' that list to a file too.
Can I deselect some of the files LISTED?

Thanks

B.R.
Stephen
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-21 Thread Hall Stevenson
At 10:42 AM 10/21/2003, you wrote:
Yes, you have to look at what it wants to update.  If it's a file you edit 
then see what it wants to change.  I have some on my list (make.conf, 
fstab) that I always do manually.  You can't just tell etc-update to run 
and let it loose.
There's a few files, /etc/fstab or /etc/lilo.conf, for example, that Gentoo 
(emerge) should be more careful about replacing though. Honestly, why do 
very user/machine-specific files like those two examples need changed ?? 
Oh, we went from lilo v21.5 up to v21.6 ?? Nope. Do NOT touch it. Or, does 
Gentoo *force* the user to be more careful (than need be ?) ??

Same with /etc/make.conf. I read that that file is your "custom" make 
settings and /etc/make.globals was the "standard" settings. Why replace 
specific things that we've changed ?? Is there a reason they can't go in 
/etc/make.globals instead.

Otherwise, there are dozens and dozens of *.conf files that I'll never look 
at or care about. They just work with the settings that someone else deems 
are needed. Those are the ones I see listed after running etc-update and 
choose option ( -5).

Off to Gentoo's "bug" submittal system to see if anything like this is 
already listed

Hall 

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-21 Thread brett holcomb
Yes, you have to look at what it wants to update.  If it's 
a file you edit then see what it wants to change.  I have 
some on my list (make.conf, fstab) that I always do 
manually.  You can't just tell etc-update to run and let 
it loose.

On Tue, 21 Oct 2003 12:42:29 +0100
 Norm <[EMAIL PROTECTED]> wrote:
Hall Stevenson wrote:
Have you edited any files in /etc ?? The ones that will 
possibly get 
updated you probably haven't touched. It won't overwrite 
files like 
/etc/resolv.conf or /etc/hostname. It will often want to 
replace 
/etc/make.conf, for example.

Again, when you run etc-update, it will *LIST* all of the 
files it wants 
to update. You could probably 'cat' that list to a file 
too.

Somehow it managed to overwrite my /etc/fstab which I 
wasn't to happy about.

--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-21 Thread norm

You know, now that you mention is, I seem to recall that it wanted to 
replace mine once too. Luckily I caught it ! This is one thing where 
Gentoo's package system needs work. With RPM or APT, it always backs up 
your current file(s) and appends a meaningful name to it.

I agree, If I had been a complete newbie I would have really panicked 
and probably went back to Mandrake (god forbid).

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-21 Thread Hall Stevenson
At 07:42 AM 10/21/2003, you wrote:
Hall Stevenson wrote:
Have you edited any files in /etc ?? The ones that will possibly get 
updated you probably haven't touched. It won't overwrite files like 
/etc/resolv.conf or /etc/hostname. It will often want to replace 
/etc/make.conf, for example.
Again, when you run etc-update, it will *LIST* all of the files it wants 
to update. You could probably 'cat' that list to a file too.
Somehow it managed to overwrite my /etc/fstab which I wasn't to happy about.
You know, now that you mention is, I seem to recall that it wanted to 
replace mine once too. Luckily I caught it ! This is one thing where 
Gentoo's package system needs work. With RPM or APT, it always backs up 
your current file(s) and appends a meaningful name to it.

Hall

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-21 Thread Norm
Hall Stevenson wrote:
Have you edited any files in /etc ?? The ones that will possibly get 
updated you probably haven't touched. It won't overwrite files like 
/etc/resolv.conf or /etc/hostname. It will often want to replace 
/etc/make.conf, for example.

Again, when you run etc-update, it will *LIST* all of the files it wants 
to update. You could probably 'cat' that list to a file too.

Somehow it managed to overwrite my /etc/fstab which I wasn't to happy 
about.

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-21 Thread Hall Stevenson
At 05:24 AM 10/21/2003, you wrote:
I hesitate whether to proceed UPDATE as recommended if all config files 
will be rewritten.  Not only adding extra work, but the difficulty to me 
is I am new to Gentoo only having it running for one (1) day.  I am 
inexperienced to re-fix them back if Gentoo can't run properly afterwords.
Have you edited any files in /etc ?? The ones that will possibly get 
updated you probably haven't touched. It won't overwrite files like 
/etc/resolv.conf or /etc/hostname. It will often want to replace 
/etc/make.conf, for example.

Again, when you run etc-update, it will *LIST* all of the files it wants to 
update. You could probably 'cat' that list to a file too.

Hall 

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-21 Thread Stephen Liu
Hi seam

Thanks for your advice.

sean m. wrote:

- snip -
Run etc-update. Type the number of each file that shows up, and merge.
If you _know_ you have never edited any of the files left on the list,
you may choose to use the '-5' option.
I am not very clear of what the advice indicated " then update 
ALL of your configuration files'.  Whether they meant the config 
files of all packages running on Gentoo 1.4 or only 'portage'  Some 
of those config files have been edited otherwise the packages can't 
run properly.  What is '-5' option?
etc-update will update all the config files for portage. but make 
backups of files like /etc/make.conf, because -5 option will overwrite 
all the files that etc-update lists. you'll lose your USE variables 
and gentoo mirrors and all otherwise.
I hesitate whether to proceed UPDATE as recommended if all config files 
will be rewritten.  Not only adding extra work, but the difficulty to me 
is I am new to Gentoo only having it running for one (1) day.  I am 
inexperienced to re-fix them back if Gentoo can't run properly 
afterwords.  Is there any notice/record that which config file(s) 
has/have been edited so that I may have a chance to trace it/them back 
after update?

B.R.
Stephen
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-20 Thread sean m.
On 2003.10.21 02:17, Stephen Liu wrote:
Hi Donnie,

Thanks for your advice.

_ snip_

2) How to update ALL configuration files collectively/
simultaneously afterwords?
Run etc-update. Type the number of each file that shows up, and 
merge.
If you _know_ you have never edited any of the files left on the 
list,
you may choose to use the '-5' option.

I am not very clear of what the advice indicated " then update 
ALL of your configuration files'.  Whether they meant the config 
files of all packages running on Gentoo 1.4 or only 'portage'  Some 
of those config files have been edited otherwise the packages can't 
run properly.  What is '-5' option?
etc-update will update all the config files for portage. but make 
backups of files like /etc/make.conf, because -5 option will overwrite 
all the files that etc-update lists. you'll lose your USE variables and 
gentoo mirrors and all otherwise.

sean

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-20 Thread Stephen Liu
Hi Donnie,

Thanks for your advice.

_ snip_
 

2) How to update ALL configuration files collectively/simultaneously 
afterwords?
   

Run etc-update. Type the number of each file that shows up, and merge.
If you _know_ you have never edited any of the files left on the list,
you may choose to use the '-5' option.
 

I am not very clear of what the advice indicated " then update ALL 
of your configuration files'.  Whether they meant the config files of 
all packages running on Gentoo 1.4 or only 'portage'  Some of those 
config files have been edited otherwise the packages can't run 
properly.  What is '-5' option?

Thanks

B.R.
Stephen
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-20 Thread Donnie Berkholz
On Tue, 2003-10-21 at 01:25, Stephen Liu wrote:
> My questions are;
> 
> 1) How to run update portage?  Whether
> #emerge -u portage
> will do the job

Yes. Even 'emerge portage' will.

> 
> 2) How to update ALL configuration files collectively/simultaneously 
> afterwords?

Run etc-update. Type the number of each file that shows up, and merge.
If you _know_ you have never edited any of the files left on the list,
you may choose to use the '-5' option.


signature.asc
Description: This is a digitally signed message part


[gentoo-user] Update question

2003-10-20 Thread Stephen Liu
Hi all folks,

After running

# emerge sync

following advice popup


* An update to portage is available.  It is _highly_recommended
* that you update portage now, before any other packages are updated
* Please do so and then update ALL of your configuration files
My questions are;

1) How to run update portage?  Whether
#emerge -u portage
will do the job
2) How to update ALL configuration files collectively/simultaneously 
afterwords?

Thanks in advance.

B.R.
Stephen Liu
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Update question

2003-10-16 Thread Andrew Gaffney
Jure Turk wrote:
so I got the network running in gentoo finally (the original e100 didn't 
work in the actual distro but only in the installation so I installed 
the driver from my motherboard CD). I installed it from stage3...how can 
I update my system? (bootstrap,packages,...the works!) ?
emerge sync
emerge -upDv world
emerge -uD world
--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


[gentoo-user] Update question

2003-10-16 Thread Jure Turk



so I got the network running in gentoo finally (the 
original e100 didn't work in the actual distro but only in the installation so I 
installed the driver from my motherboard CD). I installed it from stage3...how 
can I update my system? (bootstrap,packages,...the works!) ?
 
Tnx