Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Auto Update

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
nukem996
l33t
l33t
Posts: 776
Joined: Thu Nov 13, 2003 2:12 am

Auto Update

  • Quote

Post by nukem996 » Sat Jun 05, 2004 11:45 pm

I have installed my grandparents with gentoo linux and they just got cable(which I just setup). The problem is I dont over there that much, maybe once every two weeks. When I goto update there system theres about 50 packages that need updating. It slows there machine to a crawl infact at some point you cannt move the mouse or type. I was thinking of adding update as a cron job and just do it every night at midnight. My problem is there are three things im worried about, first how likly do you think compiling will break something? They dont reboot often so what if there still running the old version in memory while theres a new version on there system? Thrid what about etc-update what if I just let them build up for like two weeks, is it really THAT horrible?

Thanks

nuke
Top
RobMcM
Apprentice
Apprentice
User avatar
Posts: 170
Joined: Fri Jul 11, 2003 7:08 pm
Location: Leeds, UK

Re: Auto Update

  • Quote

Post by RobMcM » Sun Jun 06, 2004 12:12 am

It slows there machine to a crawl infact at some point you cannt move the mouse or type.
In /etc/make.conf, increase portage niceness so that it runs with less priority.
I was thinking of adding update as a cron job and just do it every night at midnight.
Does a desktop system really need the latest and greatest software versions every night? Doing it every day will require more updates than the current rate will, because more than one new version of the same software might come out in those two weeks. If you get emerge to run so it doesnt slow the system down as much, a bigger update might be more doable anyway.
My problem is there are three things im worried about, first how likly do you think compiling will break something?
Not that often, unless you're using ~x86 (or heaven forbid -x86 :twisted: ), but what happens if a compile failes during your auto-update? The rest of the update won't complete, and you'll be left with the old version (it won't be broken, just it won't be updated).
They dont reboot often so what if there still running the old version in memory while theres a new version on there system?
I'd say theres a lot more applications than system software. In other words, services, daemons etc. wont use the new version until the machine is rebooted, but other stuff like browsers, word processors etc. will start the new version the next time it is run.
Thrid what about etc-update what if I just let them build up for like two weeks, is it really THAT horrible?
Well, if a program gets updated and the config files are not updated by etc-update, then what if the new version of the program requires something in the new config file, but its not there in the old one? I would say its best to etc-update straight after an emerge. And don't event think of having etc-update run automatically...

If you ask me, I'd say to
- Set portage niceness so you can emerge without having it hog the system
- and by all means put 'emerge sync && emerge -uf world' in a cron job (to run once a week maybe) so that when you turn up, updates are already downloaded and ready to compile.
I think it'd be best if you were there to etc-update and sort out failed emerges or other problems with new versions...

Of course, you could allways remote-manage the PC. Maybe run an ssh daemon (with airtight security of course) and tunnel into their PC from home, do their emerge -u world, etc-update and reboot remotely. 8)
Keyboard error or no keyboard present. Press F1 to continue.
Top
nukem996
l33t
l33t
Posts: 776
Joined: Thu Nov 13, 2003 2:12 am

  • Quote

Post by nukem996 » Sun Jun 06, 2004 12:28 am

I was thinking about ssh and a no-dns or whatever dns account. But how secure could I get it? There connected through a linksys 802.11b router so how would I get the DNS program running on that. I guess ill google it. Anyone know of a good howto?
Top
RobMcM
Apprentice
Apprentice
User avatar
Posts: 170
Joined: Fri Jul 11, 2003 7:08 pm
Location: Leeds, UK

  • Quote

Post by RobMcM » Sun Jun 06, 2004 12:32 am

my Netgear DG824M has an option where you give it your dynamic dns link and when it connects to the internet it update you dyna dns automatically. Maybe the linksys has something similar. Alternatively, you could have a cron job to peridically run a script which gets the IP, then updates the dynamic dns entry...

Make sure its got port-fowarding set up for the sshd port you want to use, and make sure you've got a firewall running on the PC (and preferably router too). shorewall is a decent one, its a fairly simple frontend to iptables. Also keep sshd logs, examine them every now and again, and use a good password!
Keyboard error or no keyboard present. Press F1 to continue.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic