View previous topic :: View next topic |
Author |
Message |
kiksen Guru
Joined: 24 Jun 2002 Posts: 401 Location: Denmark
|
Posted: Fri Jul 07, 2006 6:26 am Post subject: |
|
|
I sync daily. |
|
Back to top |
|
|
rmcknt Tux's lil' helper
Joined: 26 Dec 2002 Posts: 77 Location: Ingolstadt, Germany
|
Posted: Fri Jul 07, 2006 7:25 am Post subject: |
|
|
I sync twice a day, but emerge i only do once a day
To not keep the rsync server too busy, i have a very small portage tree, only containig ebuild of packages that are installed on my machine.
Have a look
Code: | $ du -sh /usr/portage/
38M /usr/portage/
|
_________________ Real software engineers don't debug programs, they verify correctness. |
|
Back to top |
|
|
dev-urandom Apprentice
Joined: 24 Jun 2005 Posts: 260 Location: Huh?
|
Posted: Fri Jul 07, 2006 9:05 am Post subject: |
|
|
I sync once a week, there's a cron job to do that and I prefer to update weekly after going through the whole list to see what i need to update. _________________ /earth: file system full. |
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Fri Jul 07, 2006 10:22 am Post subject: |
|
|
Spin-Doc wrote: | I sync twice a day, but emerge i only do once a day
To not keep the rsync server too busy, i have a very small portage tree, only containig ebuild of packages that are installed on my machine.
Have a look
Code: | $ du -sh /usr/portage/
38M /usr/portage/
|
|
uhhh.. deleting ebuilds puts much more demand on the portage mirrors... rsync is designed to keep local directories in sync with a remote directory, that's the whole point of it.. and doing it twice a day is extra wasteful and pointless |
|
Back to top |
|
|
dev-urandom Apprentice
Joined: 24 Jun 2005 Posts: 260 Location: Huh?
|
Posted: Fri Jul 07, 2006 10:50 am Post subject: |
|
|
AidanJT wrote: |
uhhh.. deleting ebuilds puts much more demand on the portage mirrors... rsync is designed to keep local directories in sync with a remote directory, that's the whole point of it.. and doing it twice a day is extra wasteful and pointless |
I second AidanJT. There's no point in syncing up twice unless there's an occasional update that you are desperate to install. Doing it every day is not only a waste of bandwidth and time, but also chokes up the main servers without any purpose. If you want to track the latest builds the rss feed from http://gentoo-portage.com is a *much* effective method to see whether there's anything interesting. _________________ /earth: file system full. |
|
Back to top |
|
|
tycho1983 Tux's lil' helper
Joined: 09 Aug 2004 Posts: 141 Location: Speyer/Germany
|
Posted: Fri Jul 07, 2006 12:02 pm Post subject: |
|
|
I sync once a week. _________________ Es wurde Win XP oder besser verlangt, also installierte ich Linux |
|
Back to top |
|
|
heikole Tux's lil' helper
Joined: 04 Oct 2004 Posts: 148 Location: Berlin, Germany
|
Posted: Fri Jul 07, 2006 12:09 pm Post subject: |
|
|
It depends Travelling a lot, I sync my notebook daily. The desktop systems at home get their sync about every weekend. _________________ 42 |
|
Back to top |
|
|
rmcknt Tux's lil' helper
Joined: 26 Dec 2002 Posts: 77 Location: Ingolstadt, Germany
|
Posted: Fri Jul 07, 2006 12:11 pm Post subject: |
|
|
AidanJT wrote: | Spin-Doc wrote: | I sync twice a day, but emerge i only do once a day
To not keep the rsync server too busy, i have a very small portage tree, only containig ebuild of packages that are installed on my machine.
Have a look
Code: | $ du -sh /usr/portage/
38M /usr/portage/
|
|
uhhh.. deleting ebuilds puts much more demand on the portage mirrors... rsync is designed to keep local directories in sync with a remote directory, that's the whole point of it.. and doing it twice a day is extra wasteful and pointless |
No i don't _delete_ ebuild, i use the rsync feature RSYNC_EXCLUDE.
My /etc/portage/rsync_excludes just includes all packages + metadata/cache/ for eache ebuild installed on my system.
It also includes basic stuff like eclasses, profiles... _________________ Real software engineers don't debug programs, they verify correctness. |
|
Back to top |
|
|
bmaynard n00b
Joined: 18 Nov 2003 Posts: 3
|
Posted: Fri Jul 07, 2006 12:12 pm Post subject: |
|
|
At work:
cd /etc/cron.daily
cat sync.cron
emerge --sync && emerge -uDp world
I have a really, really slow crappy machine, if I leave it more than a day or two the emerges take to long.
At home I sync 2-3 times a week sometimes I leave it up to a month unless I see a security fix. |
|
Back to top |
|
|
DeLorean n00b
Joined: 24 Nov 2005 Posts: 46
|
Posted: Fri Jul 07, 2006 12:27 pm Post subject: |
|
|
I sync whenever I want to update, and that is normally every weekend or when a special package I´m waiting for is available. _________________ Gentoo amd64 auf Asus P5K Premium, Core 2 Duo 6600, 4GB RAM, GeForce 7950GT
Gentoo x86 auf Asus Eeepc 901, Atom 270, 2GB RAM, Intel GMA 950
Gentoo x86 auf Compaq Evo N600c, Pentium III m 1200, 1GB RAM, Radeon Mobility M6 |
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Fri Jul 07, 2006 12:31 pm Post subject: |
|
|
Spin-Doc wrote: | No i don't _delete_ ebuild, i use the rsync feature RSYNC_EXCLUDE.
My /etc/portage/rsync_excludes just includes all packages + metadata/cache/ for eache ebuild installed on my system.
It also includes basic stuff like eclasses, profiles... |
Ah, my apologies for the blatent assumption, still.. 2 syncs a day isn't really needed unless you're anticipating a release you're looking foward to. |
|
Back to top |
|
|
jballou Tux's lil' helper
Joined: 10 Mar 2005 Posts: 128 Location: Baghdad, Iraq
|
Posted: Fri Jul 07, 2006 12:31 pm Post subject: |
|
|
bmaynard wrote: | cat sync.cron
emerge --sync && emerge -uDp world
|
That'll sync. Then pretend to do an update and print the output to /dev/null. So it's just chewing a lot of cycles for no reason
I have a weekly job that looks like the above but -uDf since I am on a slow satellite connection and I like to let the files download at night. http replicator helps a lot too. I've always been a good Gentoo netzien, which is why it's not a big deal being on a bandwidth-limited connection. I have some pretty heavy hardware here for just being one self-funded guy, and I spend one full day a week working on the systems, including doing the emerge stuff (I a network of run 500 end-users, about 30 switches, 10 servers. Alone. Yeah!) so an every day update on the 15 or so Gentoo systems here would not leave me much time to do anything else. _________________ -Shuttle SN25P, Opteron 185, 74Gb WD Raptor, 2x 300Gb Barracuda 7200.9, 2x 1Gb Corsair dual channel, BFG GeForce 7800GT
-Asus Z7100 laptop, P-M 2.13, 2Gb DDR, 100Gb 7200RPM HDD, 128Mb GeForce 6600 Go. |
|
Back to top |
|
|
AGusS n00b
Joined: 10 Mar 2004 Posts: 8 Location: Lochwiller ( Alsace ) / France
|
Posted: Fri Jul 07, 2006 12:50 pm Post subject: |
|
|
One a week. Enough to keep my servers up to date _________________ Home |
|
Back to top |
|
|
durian Guru
Joined: 16 Jul 2003 Posts: 312 Location: Margretetorp
|
Posted: Fri Jul 07, 2006 1:28 pm Post subject: |
|
|
Twice a month only,
-peter |
|
Back to top |
|
|
quag7 Apprentice
Joined: 12 Aug 2002 Posts: 288 Location: Marana, Arizona - USA
|
Posted: Fri Jul 07, 2006 3:20 pm Post subject: |
|
|
I sync every 5 to 7 days on average (irregularly), but I won't actually update my system until something particularly interesting or security-prone comes along, so I wind up doing updates perhaps once every 2 weeks.
Whenever I update, I also run etc-update since that has bitten me in the past. _________________ http://www.dataswamp.net |
|
Back to top |
|
|
stupidkid Apprentice
Joined: 17 Apr 2006 Posts: 247 Location: 127.0.0.1
|
Posted: Fri Jul 07, 2006 3:24 pm Post subject: |
|
|
quag7 wrote: | Whenever I update, I also run etc-update since that has bitten me in the past. |
Ever tried dispatch-conf? I like that better. |
|
Back to top |
|
|
Dammital Apprentice
Joined: 05 Nov 2004 Posts: 189
|
Posted: Fri Jul 07, 2006 3:40 pm Post subject: |
|
|
FWIW, I sync three machines on successive Saturday, Sunday and Monday.
Is weekend the "best" time to sync up? I thought I'd see what days the portage tree is more active, so I cooked up a quick command to pull the day-of-week out of the portage ChangeLog files:
Code: | cd /usr/portage
grep -R "# \$Header" * | grep ChangeLog,v | cut -d" " -f5 | date -f- | cut -d" " -f1 |
That yields a file (about 11,000 lines long) of days-of-the-week. I used that to derive the following percentages:
Sunday: 17.2%
Monday: 13.1%
Tuesday: 12.4%
Wednesday: 8.8%
Thursday: 17.6%
Friday: 14.0%
Saturday: 16.5%
So it looks like Wednesday is the slow day for developers. Does this mean you should sync on Wednesday? I don't know, but it's an interesting data point. |
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Fri Jul 07, 2006 4:05 pm Post subject: |
|
|
stupidkid wrote: | Ever tried dispatch-conf? I like that better. |
meh, etc-update and dispatch-conf both suck at managing config updates. |
|
Back to top |
|
|
quag7 Apprentice
Joined: 12 Aug 2002 Posts: 288 Location: Marana, Arizona - USA
|
Posted: Fri Jul 07, 2006 4:11 pm Post subject: |
|
|
AidanJT wrote: | stupidkid wrote: | Ever tried dispatch-conf? I like that better. |
meh, etc-update and dispatch-conf both suck at managing config updates. |
Usually for me, maybe 4 out of 5 replacements are files I've never touched, and then I just deal with the one manually. It's never been a big problem. I guess it's a pain when it's a very large file with lots of changes. I'm never happy about postfix's file being updated, for instance, but that's rare. _________________ http://www.dataswamp.net |
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Fri Jul 07, 2006 5:57 pm Post subject: |
|
|
quag7 wrote: | Usually for me, maybe 4 out of 5 replacements are files I've never touched, and then I just deal with the one manually. It's never been a big problem. I guess it's a pain when it's a very large file with lots of changes. I'm never happy about postfix's file being updated, for instance, but that's rare. |
Yea, that's the main problem with config updates as it stands, when you're managing servers, heaps of config changes are a nightmare. |
|
Back to top |
|
|
feld Guru
Joined: 29 Aug 2004 Posts: 593 Location: WI, USA
|
Posted: Sat Jul 08, 2006 4:30 am Post subject: |
|
|
cokehabit wrote: | How often do you sync? When ubuntu says that there are updates |
kubuntu says there are updates after you have done an apt-get update via cron. It's retarded and unnecessary because then you have to update again before seeing the packages to install. At least that's the way it is on kubuntu. I turned that off so I can do it manually. It's such a waste of bandwidth/power on their servers! _________________ < bmg505> I think the first line in reiserfsck is
if (random(65535)< 65500) { hose(partition); for (i=0;i<100000000;i++) print_crap(); } |
|
Back to top |
|
|
El_UnO n00b
Joined: 15 Feb 2006 Posts: 9 Location: Lisboa, Portugal
|
Posted: Sat Jul 08, 2006 7:54 am Post subject: |
|
|
Once every two/three days |
|
Back to top |
|
|
Dieter@be Guru
Joined: 03 Apr 2005 Posts: 314 Location: Wetteren, Belgium
|
Posted: Sat Jul 08, 2006 11:16 am Post subject: |
|
|
Spin-Doc wrote: |
No i don't _delete_ ebuild, i use the rsync feature RSYNC_EXCLUDE.
My /etc/portage/rsync_excludes just includes all packages + metadata/cache/ for eache ebuild installed on my system.
It also includes basic stuff like eclasses, profiles... |
Hmm... couldnt this be built in portage so that you can do:
# emerge --sync --world
? that would be neat
edit: found this https://forums.gentoo.org/viewtopic-t-356536.html
nice way to exclude stuff, but it would be nice to trigger "exclude-profiles" from the commandline (eg : everything, only world, according to my rsync exclude settings,...) _________________ Nothing beats a ride on the Gentoo learning curve.
2 Gentoo Linux boxes - 2 Arch Linux boxes - Love all four
Say no to i386 binaries! -- Adopt an unanswered topic |
|
Back to top |
|
|
electrofreak l33t
Joined: 30 Jun 2004 Posts: 713 Location: Ohio, USA
|
Posted: Sat Jul 08, 2006 1:58 pm Post subject: |
|
|
AidanJT wrote: | stupidkid wrote: | Ever tried dispatch-conf? I like that better. |
meh, etc-update and dispatch-conf both suck at managing config updates. |
People always say such things... but I've really never had a problem with just plain old etc-update. I've never even tried dispatch-conf. _________________ Desktop: ABit AN8, Athlon64 X2 4400+ 939 2.75GHz, 2x1GB Corsair XMS DDR400, 2x160GB SATA RAID-0, 2x20"W, Vista Ultimate x64
Laptop: 15.4" MacBook Pro 2.4Ghz, 2x1GB RAM, 160GB, Mac OS X 10.5.1
Server: PIII 550Mhz, 3x128MB RAM, 160GB, Ubuntu Server 7.10 |
|
Back to top |
|
|
geniux Veteran
Joined: 19 Feb 2004 Posts: 1400 Location: /home
|
Posted: Sat Jul 08, 2006 2:07 pm Post subject: |
|
|
electrofreak wrote: |
but I've really never had a problem with just plain old etc-update. I've never even tried dispatch-conf. |
Same here, I have backups of all important files in /etc _________________ AMD Athlon64 X2 4200+ AM2
MSI K9N SLI Platinum, Enermax Liberty 500W
1GB RAM Crucial DDR2 667MHz, MSI nVidia 7600GS 256MB
400GB + 250GB Samsung SATAII HDD
Gentoo - BeyondSources 2.6.19-20 |
|
Back to top |
|
|
|