Gentoo Archives: gentoo-user

From: Fernando Rodriguez <frodriguez.developer@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Missing digest for *** Tree looks messed up.
Date: Mon, 24 Aug 2015 19:33:52
Message-Id: BLU436-SMTP12F7A7FF9FE19F719373BE8D620@phx.gbl
In Reply to: Re: [gentoo-user] Missing digest for *** Tree looks messed up. by Dale
1 On Sunday, August 16, 2015 9:58:43 AM Dale wrote:
2 > Rich Freeman wrote:
3 > > On Mon, Aug 10, 2015 at 12:10 PM, Dale <rdalek1967@×××××.com> wrote:
4 > >> Peter Humphrey wrote:
5 > >>> On Monday 10 August 2015 09:13:01 Dale wrote:
6 > >>>
7 > >>>> I might add, sync is taking a LONG time again. Of course, my DSL is a
8 > >>>> bit slower than some folks. At least the bumpy road got smoothed out
9 > >>>> tho. It seems to be working again. Maybe next sync will be back to
10 > >>>> normal.
11 > >>> I do one sync a day, of my LAN server, and sync anything else to that. I
12 don't
13 > >>> know how long it took today because I have it on a cron job at night.
14 :-)
15 > >>>
16 > >>
17 > >> I usually sync about twice a week, sometimes three if I see something I
18 > >> want or need. I just run my desktop here so updating isn't a huge
19 > >> deal. Sometimes I forget because I'm busy with other things and I might
20 > >> go a week or more without a single sync up.
21 > >>
22 > >> When I used to run several rigs, I'd sync one rig and then sync the
23 > >> others to my main rig. I try not to sync to often.
24 > > I couldn't tell you who I ripped this off of but my cron routine is:
25 > >
26 > > ionice -n 7 nice -n 20 emerge --sync (alternatively
27 > > emerge-webrsync -k - preferred actually if you're using rsync)
28 > > ionice -n 7 nice -n 20 layman -S
29 > > emerge -puDv --changed-use world | col -bx | mutt -s "world update"
30 > > root@localhost
31 > > eix-update
32 > >
33 > > Then I do this:
34 > > #!/bin/sh
35 > >
36 > > LIST=$(mktemp);
37 > >
38 > > emerge -puD --changed-use --color=n --columns --quiet=y --with-bdeps=n
39 > > world | awk '{print $2}' > ${LIST};
40 > >
41 > > for PACKAGE in $(cat ${LIST});
42 > > do
43 > > printf "Building binary package for ${PACKAGE}... "
44 > > emerge -uN --quiet-build --quiet=y --buildpkgonly ${PACKAGE};
45 > > if [[ $? -eq 0 ]];
46 > > then
47 > > echo "ok";
48 > > else
49 > > echo "failed";
50 > > fi
51 > > done
52 > >
53 > > That isn't optimally efficient, but works reasonably well.
54 > >
55 > > The result is that the next morning I have an email containing a list
56 > > of the stuff to be merged, and a set of binary packages for most of it
57 > > (deps of modified packages cannot be pre-built in this way of course).
58 > > Then I just run an "emerge -uDNkv" world to install all of it, often
59 > > in minutes.
60 > >
61 > > The script could be optimized - if libreoffice and chromium are on the
62 > > list and I don't install them for a few days, suffice it to say that
63 > > the heater won't be running as much those nights.
64 > >
65 >
66 > Well, I only have one rig right now. May save this for when I build a
67 > spare or something.
68 >
69 > Oh, I also ran across a link to this bug:
70 >
71 > https://bugs.gentoo.org/show_bug.cgi?id=557192
72 >
73 > It seems there is still a few kinks to work out. ;-)
74
75 It finally seems to be fixed. I synced twice in a row and the 2nd time
76 it only synced 3 files.
77
78 > Dale
79 >
80 > :-) :-)
81 >
82
83 --
84 Fernando Rodriguez