Jacob Meuser wrote:
> Is pyxml in your /var/cache/edv/world file, or was it just added as
> a dependency? Last I tried, manually adding things to the world file
> worked fine. There may be a better way.
What Jake said.
You can also just re-emerge it. If you have buildpkg in your
FEATURES, it's fast the second time.
Rob Hudson wrote:
> And it recommends these steps as a proper way to update a gentoo
> system:
> emerge sync
> emerge -uDpv world
> emerge -uDv world
> emerge -pv depclean
> emerge -v depclean
> revdep-rebuild -pv
> revdep-rebuild -v
> dispatch-conf
If you read further on in that thread, you'll see that -a replaces the
-p/not-p pairs for emerge.
I'm currently using two scripts to update. premerge runs around 5:00
AM (different times for different hosts) and I then run eu
interactively when I'm awake.
No attachments allowed here, so here they are in line.
premerge:
#!/bin/sh -e
# See http://forums.gentoo.org/viewtopic.php?t=163377
[ "`id -u`" = 0 ] || { echo "$0: Must be superuser" >&2; exit 1; }
[EMAIL PROTECTED]
function cleanup() {
if [ $? != 0 ]
then
mutt -s "premerge log for `hostname`" $MAILTO < "$tmp"
fi
rm -f "$tmp"
}
tmp="`mktemp`"
exec > "$tmp" 2>&1
trap cleanup EXIT
set -x
emerge sync
/usr/sbin/eupdatedb --quiet
if [ "`hostname`" == jogger-egg ]
then
emerge world -Dvuf
fi
{
emerge world -Dvup
glsa-check -p all | grep -C2 'updates will be performed'
} | mutt -s "Gentoo Update Report for `hostname`" $MAILTO
# false # force log mail
eu:
#!/bin/sh -e
# See http://forums.gentoo.org/viewtopic.php?t=163377
sudo sh -ec 'if [ "`hostname`" != jogger-egg ]
then
populate-distfiles world -Dvuf
fi
emerge -Dvua world
emerge -va depclean
# revdep-rebuild -v -p
# revdep-rebuild -v
dispatch-conf
# prelink -afmR
eupdatedb
'
The hostname business is so that jogger-egg pulls the files from
a Gentoo mirror, and the other boxes pull from jogger-egg.
These scripts are still very new and subject to change.
--
Bob Miller K<bob>
kbobsoft software consulting
http://kbobsoft.com [EMAIL PROTECTED]
_______________________________________________
EUGLUG mailing list
[EMAIL PROTECTED]
http://www.euglug.org/mailman/listinfo/euglug