I really love Gentoo, but I don’t get to play with it enough (my main server is Fedora Core 3). Under Fedora, I use yum to stay up to date. On Gentoo, of course, there is portage. Here are some notes on the steps to get things updated on my spare Gentoo box…

emacs /etc/profile

  • set up proxy
  • add scripts directory to pathemacs /home/m/.bashrc
  • set up proxy
  • set up CVSROOT
  • add scripts dir to pathemerge –sync
  • no luck, firewalled (wonder what port it needs)emerge-webrsync
  • “attempting to fetch file dated: (today)”
  • no luck, not getting to my proxy
  • use other proxy, working now, waiting…
  • not much feedback, i do see disk/eth activity…
  • FINALLY done! Number of files: 114156 (53MB!)”An update to portage is available.”
  • emerge –update –deep portage
  • Yikes, it’s chugging along! Maybe I didn’t need that –deep… Holy crap… it’s out of control!! hahaha There goes perl… glibc… Remember -a or -p next time. :>* Regenerating GNU info directory index…
    * Processed 295 info files.
    * IMPORTANT: 12 config files in /etc need updating.
    * Type emerge –help config to learn how to update config files.

    etc-update

  • Updated everything except one with Oracle-related info.emerge –update –deep system

    !!! Error: the sys-apps/modutils package conflicts with another package.

    !!! both can’t be installed on the same system together.

    !!! Please use ’emerge –pretend’ to determine blockers.

    These are the packages that I would merge, in order:

    Calculating system dependencies …done!

    [blocks B ] sys-apps/modutils (is blocking sys-apps/module-init-tools-3.0-r2)

    [ebuild U ] app-arch/cpio-2.6-r1 [2.5]

    [ebuild U ] app-arch/gzip-1.3.5-r5 [1.3.5-r4]

    [ebuild U ] app-arch/ncompress-4.2.4-r1 [4.2.4]

    [ebuild UD] net-misc/rsync-2.6.0-r3 [2.6.3]

    [ebuild U ] net-misc/wget-1.9.1-r3 [1.9-r2]

    [ebuild N ] dev-perl/Locale-gettext-1.01-r1

    [ebuild U ] sys-apps/help2man-1.33.1 [1.29]

    [ebuild U ] sys-apps/coreutils-5.2.1-r4 [5.2.1-r2]

    [ebuild U ] sys-apps/ed-0.2-r6 [0.2-r4]

    [ebuild U ] sys-apps/kbd-1.12-r3 [1.12-r2]

    [ebuild U ] sys-apps/man-pages-2.01 [1.70]

    [ebuild U ] sys-apps/net-tools-1.60-r11 [1.60-r9]

    [ebuild U ] sys-process/procps-3.2.4-r3 [3.2.3-r1]

    [ebuild U ] sys-devel/libtool-1.5.10-r4 [1.5.2-r7]

    [ebuild U ] sys-process/psmisc-21.5 [21.4]

    [ebuild U ] sys-apps/shadow-4.0.5-r3 [4.0.5-r2]

    [ebuild U ] net-misc/openssh-3.9_p1-r2 [3.8.1_p1-r1]

    [ebuild U ] sys-devel/bin86-0.16.16 [0.16.13]

  • Googling…—

    emerge unmerge modutils && emerge module-init-tools

    “I ran into this on every box I originally built with 2.4 when I upgraded to 2.6.

    It doesn’t -want- to install modutils, it’s telling you that modutils is installed, and is blocking module-init-tools.

    emerge –pretend –update –deep system

    (that works now, whee!)

    emerge –update –deep world

    (working…)

    I got three “blocks”, firefox, mozilla and x11-base/opengl…

    emerge mozilla-firefox (taking forever)

    emerge unmerge mozilla

    checked firefox, still works, so that’s good…

    As far as the X11 dependency, I found this:

  • Yepp, thats a nasty dependency that Gentoo has setup, opengl-update requers a newer version of xorg and xorg requers the newer version of opengl-update, sadly Gentoo can’t handle this kind of dependencies well (or it’s not documented properly).
  • Dude, that’s what –nodeps is for…emerge –nodeps xorg-x11

    YIKES! 44MB coming down!

    ok, it’s like buttah baby…

    emerge –update –deep world

    ok, that one’s gonna take a while…

    first I installed monkey-bubbles so i’d have something to do while watching all that building!! :>

    OK, when it finished there were errors with the X11 building… it’s the next day so I will try to grab updated packages (20050324) and try again…

    emerge portage

    emerge-webrsync (Waiting… waiting…)

    emerge metadata

  • “Skipping sync, Updating portage cache…” – looks like this was already done by webrsync…etc-update (updated 14 files)

    Let’s try a little manual repair…

    emerge opengl-update (OK except m4 warnings)

    emerge sys-devel/m4 (OK)

    OK, let’s try again!

    emerge –update –deep world

    qt crapped out

    emerge libtools

    ok

    emerge world

    (much smaller update than with –update (or –deep, obviously))

    updating qt…

    worked like a charm!

    emerge –update –deep system

    (nothing to do, cool)

    emerge –update world

    (nothing to do, cool)

    emerge –update –deep world

    still a lot… going…

    qt crapped out again!

    Oh well, leaving it for now.

    And here’s how to get CVS working…

  • export CVSROOT=:ext:[email protected]:/home/m/development/CVSROOT
  • mkdir ~/development
  • mkdir ~/development/view
  • cvs checkout ModuleThat easy! Whee!
  • Leave a Reply