Alan Grimes wrote:
> Peter Humphrey wrote:
>> Read the manual.
>> ...and get rid of all those excruciating scripts of yours and start doing 
>> things manually and sanely, one step at a time.
>
> Repeat the following three times daily:
>
>
> The purpose of a computer is to save me time and effort.
>
>

How's that working out fer ya so far??? 

I'm not good at reading scripts but from what I understand from your
scripts, it's no wonder you are running into all the issues you are.  If
you want a update process that takes very little time and effort on your
part, Gentoo is not going to fulfil that requirement.  I been using
Gentoo for well over a decade now.  I never do blind updates.  Let me
stress that word, NEVER.  I sync the tree, which could be scripted or
done with a cron job, then I see what needs updating and most
importantly, what will be changing, which could also be scripted or done
with a cron job.  Some even script that part and have the results
emailed to them.  Some use emerge -p but I use emerge -a for that since
I do it manually.  Then comes the part that requires you and your time
and effort.  You have to look at what is going to be updated and what
changes are going to be made.  I pay very close attention to USE flag
changes.  I also watch for packages that may require other packages to
be rebuilt.  IF, big IF there, everything looks OK I proceed with
updates.  If something looks a little off and I need to see what changes
will change how software works, then I go research those changes BEFORE
doing the updates, not after.  Sometimes those require me to edit USE
flags, mask packages, unmask/unkeyword packages so that I get the
updates I want or DON'T get updates that I'm not ready for yet.  The
thing you seem to not understand yet, only YOU can make that decision. 
The emerge command and portage can't do that for you, you have to do
that last part. 

The way your script works from what I understand, you automate the whole
process and you get the end result.  That result is usually not what you
want or breaks something which leads you to here and us slapping our
foreheads at what you did to get here.  Honestly, if you keep doing
things the way you are, you are going to spend a LOT more time fixing
problems because some folks will let you learn the hard way.  You will
post, a dozen or more will know how to fix it but won't post so that you
learn on your own.  One thing about this mailing list, people expect you
to at least try and do things in a sane way.  Blind updates may work
fine on Ubuntu or something but it does not work on Gentoo.  There are
just way to many options and changes that can break things. 

Here's a hint.  Script the sync process.  Script the emerge -p part and
either have it emailed to you or spit out on the screen which is all
fine and doable with known results.  At that point, YOU have to step in
and spend a few minutes looking at what emerge is about to do.  If you
just blindly update, you get things that are broken at some point and
could be badly broken.  It shouldn't be a surprise or a big shock when
things break.  Several others have posted that the way you are doing
things is how you got those breakages.  If you keep doing things the
same way, expect more breakages.  You will likely get less help too. 

Just my $0.02 worth.  You can take that and make it valuable or throw it
away and make it worthless. 

Dale

:-)  :-) 


Reply via email to