Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16
What are your procedures for updating your Gentoo system without dependency problems. I usually do: emerge --sync emerge --update world For me it happens from time to time that I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    2

    Keep you system updated


    What are your procedures for updating your Gentoo system without dependency problems.
    I usually do:
    emerge --sync
    emerge --update world

    For me it happens from time to time that I need to unmerge packages and reemerge them to go through with the world-emerge. Sometimes I remember to use revdep-rebuild, python-updater and emerge --depclean but its not a part of my "update-process". What is the best process to keep the system updated? Does the order of doing things matter?
    Is this example a good process:

    emege --sync
    emerge --update world
    emerge --depclean
    python-updater
    revdep-rebuild
    emerge --update world

    How do you do it?

  2. #2
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,042
    Welcome to the forums jortax

    I can't claim to be an expert, my approach is usually ...
    Code:
    emerge --sync
    emerge -avufDN world
    emerge -avuDN world
    I do this fairly regularly and then less regularly I will do
    Code:
    emerge -avuDN world
    (usually as part of above)
    Code:
    emerge --depclean
    revdep-rebuild
    I prefetch files so I know everything should be available for the update and is consistent.

    I used to dread running
    Code:
    emerge -uDN world
    until I got a set of USE flags that worked for me.

    Ed: I think it is worth running with -av options so you know what is going to be updated .
    It will be interesting to see what more experienced users do
    Last edited by Jonathan183; 09-26-2009 at 02:52 PM.

  3. #3
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    I usually only do
    Code:
    emerge --sync
    emerge -pvuDN world && emerge -pvuDN system
    emerge -vuDN world && emerge -vuDN system
    revdep-rebuild
    Every once in a while I'll run
    Code:
    emerge -depclean
    revdep-rebuild
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  4. #4
    Linux Enthusiast gruven's Avatar
    Join Date
    Dec 2004
    Location
    Arkansas
    Posts
    541
    I have emerge -uDN world set in a crontab to run daily, and every 2 - 3 days I will run an
    Code:
    emerge -avuDN world && emerge -av --depclean && revdep-rebuild
    I am on a quad so it really doesn't take long to update.

    Linux User #376741
    Code is Poetry

  5. #5
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,042
    Quote Originally Posted by MikeTbob View Post
    Code:
    emerge -vuDN world && emerge -vuDN system
    Hi MikeTbob ... why do you do both world & system updates?

  6. #6
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Quote Originally Posted by Jonathan183 View Post
    Hi MikeTbob ... why do you do both world & system updates?
    I read this somewhere,,world is different from system and for some reason I still do it every now and then. Here is a link, that kind of explains it....but it's not the link I read awhile back, I can't seem to find that one.

    [gentoo-user] Emerge -u system or World ?
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  7. #7
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,042
    How can
    Code:
    emerge -uDN world
    fail to update packages which
    Code:
    emerge -uDN system
    will ... unless you manually change world definition?
    I can understand updating system without world update can leave packages not being updated but how does this work the other way round? ... is this related to stage1/stage2 tarballs?

    ... if there is a good reason for running both I'll start doing it

  8. #8
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    I'm not sure of the answer here. Maybe someone else could pitch in, I may be doing it for nothing....I seem to remember it did update something a long time ago...but maybe I just ran emerge -u system first. Does emerge -avuDN system want to update any packages on your system?
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  9. #9
    Just Joined!
    Join Date
    Sep 2009
    Posts
    1
    Quote Originally Posted by MikeTbob View Post
    I'm not sure of the answer here. Maybe someone else could pitch in, I may be doing it for nothing....I seem to remember it did update something a long time ago...but maybe I just ran emerge -u system first. Does emerge -avuDN system want to update any packages on your system?
    Glad to hear you're using this: I plan to keep it much more aggressively up-to-date than has been the case in the past, but don't hesitate to let me know if you find errors or need clarifications.

  10. #10
    Linux Newbie ursusca's Avatar
    Join Date
    Dec 2008
    Location
    Toronto
    Posts
    116
    I usually do

    emerge --sync && emerge --update --ask world && emerge --update --deep world


    If I have altered any of USE flags:
    emerge --update --deep --newuse world
    emerge --depclean
    revdep-rebuild

    After transition to new python:
    python-updater

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •