Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do you update everything?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
alfagamma81
Tux's lil' helper
Tux's lil' helper


Joined: 22 Mar 2009
Posts: 86
Location: Finland

PostPosted: Tue May 12, 2009 5:00 pm    Post subject: How do you update everything? Reply with quote

I'm just curious. In which order do you type options when , lets say updating everything with new use flag(s)?

Personally, I always type "emerge -pvuDN world"..and after i've checked the use flags and stuff i do emerge uDN world. I never use -a option.

What combinations you usually use? -DuvNa, -uvNaD, -DaNu, NvpuD... anyone doing the same way as me? :)
Back to top
View user's profile Send private message
RedSquirrel
Guru
Guru


Joined: 22 Apr 2008
Posts: 336

PostPosted: Tue May 12, 2009 5:29 pm    Post subject: Reply with quote

I generally use the same thing. On a few occasions, I have fetched (-f) the sources beforehand. Sometimes I have used the --ask option for one last look at everything before I proceed with the updates.
Back to top
View user's profile Send private message
alfagamma81
Tux's lil' helper
Tux's lil' helper


Joined: 22 Mar 2009
Posts: 86
Location: Finland

PostPosted: Tue May 12, 2009 5:38 pm    Post subject: Reply with quote

In what order do you put the options? i'm always putting --pretend --verbose --update --deep --newuse ; pvuDN.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue May 12, 2009 5:48 pm    Post subject: Reply with quote

I sometimes use --with-bdeps=y; I always use --reinstall=changed-use instead of --newuse. Alas, there's no short option for those.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
bytenirvana
Apprentice
Apprentice


Joined: 10 Jun 2006
Posts: 218
Location: Volksstaat Hessen

PostPosted: Tue May 12, 2009 7:31 pm    Post subject: Reply with quote

Code:
emerge -avuND world --keep-going


I additionally have
Quote:

alias emerge="sudo nice -n 19 emerge -vt"
in my .bashrc
_________________
Linux User #422770
Back to top
View user's profile Send private message
tanderson
Retired Dev
Retired Dev


Joined: 11 Apr 2007
Posts: 193

PostPosted: Tue May 12, 2009 8:33 pm    Post subject: Reply with quote

I do:

Code:
paludis -i world --dl-reinstall if-use-changed


Sorta simple, I just wish there was a short option for the if-use-changed stuff.[/code]
_________________
No Man is Just a Number!

--The Prisoner
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Tue May 12, 2009 9:21 pm    Post subject: Reply with quote

Hi, I use this :

Code:

# eix-sync
# emerge -puDNv world
# emerge -fuDNv world
# emerge -uDNv world
# dispatch-conf
# revdep-rebuild --ignore
# rm /usr/portage/distfiles/*
Back to top
View user's profile Send private message
alistair
Retired Dev
Retired Dev


Joined: 15 Jul 2005
Posts: 869

PostPosted: Tue May 12, 2009 11:29 pm    Post subject: Reply with quote

gentoofan23 wrote:
I do:

Code:
paludis -i world --dl-reinstall if-use-changed


Sorta simple, I just wish there was a short option for the if-use-changed stuff.


Have a enviroment variable PALUDIS_OPTIONS="--dl-reinstall if-use-changed"
_________________
______________
Help the gentoo-java project. Visit Gentoo Java Project

what good are admin powers if you don't abuse them for personal gain - mark_alec
Back to top
View user's profile Send private message
RedSquirrel
Guru
Guru


Joined: 22 Apr 2008
Posts: 336

PostPosted: Wed May 13, 2009 12:46 am    Post subject: Reply with quote

alfagamma81 wrote:
In what order do you put the options? i'm always putting --pretend --verbose --update --deep --newuse ; pvuDN.

I use that order as well. 8)

Code:
# emerge -pvuDN world
# emerge -avuDN world
Back to top
View user's profile Send private message
RedSquirrel
Guru
Guru


Joined: 22 Apr 2008
Posts: 336

PostPosted: Wed May 13, 2009 12:50 am    Post subject: Reply with quote

d2_racing wrote:
Hi, I use this :

Code:

# eix-sync
# emerge -puDNv world
# emerge -fuDNv world
# emerge -uDNv world
# dispatch-conf
# revdep-rebuild --ignore
# rm /usr/portage/distfiles/*

Why do you empty your distfiles directory? Have you no respect for the mirrors? :P
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Wed May 13, 2009 1:07 am    Post subject: Reply with quote

Code:
esync
update -auD @world
Here esync is the following function in .zshrc
Code:
esync() { # Sync emerge and do some extra stuff
    emerge --sync | grep -v --color=none '/$' && {
        layman -S
        update-eix } || \
        echo -e "\x1b[1;31m  esync aborted by user\x1b[0m"
    # Running fixpackages not needed. --sync seems to do something already
}
and update is the script provided by steveL.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Wed May 13, 2009 1:21 am    Post subject: Reply with quote

order doesn't matter.

I use -uDNav...

Code:
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.XXXXOKjYpx installed on Mon Mar 30 16:12:16 2009)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
00 02 * * * eix-sync
30 02 * * * emerge -uDNv @system @world && emerge @preserved-rebuild && revdep-rebuild && echo "no need to worry" | mail -s "success" mkern@penguin

_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed May 13, 2009 2:04 am    Post subject: Reply with quote

RedSquirrel wrote:
Why do you empty your distfiles directory? Have you no respect for the mirrors? :P


Why keep all the packages that I may not need to reinstall :P
Back to top
View user's profile Send private message
arnvidr
l33t
l33t


Joined: 19 Aug 2004
Posts: 629
Location: Oslo, Norway

PostPosted: Wed May 13, 2009 6:20 am    Post subject: Reply with quote

Order shouldn't matter, but I use
emerge -uNDav @world
_________________
Noone wrote:
anything
Back to top
View user's profile Send private message
Ghost Raccoon
n00b
n00b


Joined: 13 Mar 2009
Posts: 24
Location: Freiburg, Germany

PostPosted: Wed May 13, 2009 6:39 am    Post subject: Reply with quote

aditionally to
Code:
eix-sync
emerge world -uDN
revdep-rebuild
emerge --depclean -a

I run
Code:
portpeek -afr
to clean up keep my packages.{keywords|unmask} from time to time
_________________
Ghost Raccoon iz in ur fridge, eatin' ur foodz.
Back to top
View user's profile Send private message
tanderson
Retired Dev
Retired Dev


Joined: 11 Apr 2007
Posts: 193

PostPosted: Wed May 13, 2009 11:31 am    Post subject: Reply with quote

alistair wrote:
gentoofan23 wrote:
I do:

Code:
paludis -i world --dl-reinstall if-use-changed


Sorta simple, I just wish there was a short option for the if-use-changed stuff.


Have a enviroment variable PALUDIS_OPTIONS="--dl-reinstall if-use-changed"


Yeah, I know all about that stuff, but I don't _always_ want that flag on which is why it's useful to have a short option for that.
_________________
No Man is Just a Number!

--The Prisoner
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6053
Location: Removed by Neddy

PostPosted: Wed May 13, 2009 11:36 am    Post subject: Reply with quote

I use update
https://forums.gentoo.org/viewtopic-t-546828.html

it does it all.
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
alfagamma81
Tux's lil' helper
Tux's lil' helper


Joined: 22 Mar 2009
Posts: 86
Location: Finland

PostPosted: Wed May 13, 2009 12:22 pm    Post subject: Reply with quote

poly_poly-man wrote:
order doesn't matter.

I use -uDNav...


I know order doesnt matter, only interested to see how many possible combinations and ways people use to update their system. :)

my whole procedure is:
Code:
emerge --sync
          emerge -pvuDN world
          emerge -uDN world
          cfg-update -um (if needed)
          emerge -pv --depclean
          emerge --depclean
          revdep-rebuild
          (sometimes eclean distfiles)
Back to top
View user's profile Send private message
marens
Apprentice
Apprentice


Joined: 05 Aug 2004
Posts: 173

PostPosted: Wed May 13, 2009 1:47 pm    Post subject: Reply with quote

poly_poly-man wrote:
order doesn't matter.

I use -uDNav...

Code:
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.XXXXOKjYpx installed on Mon Mar 30 16:12:16 2009)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
00 02 * * * eix-sync
30 02 * * * emerge -uDNv @system @world && emerge @preserved-rebuild && revdep-rebuild && echo "no need to worry" | mail -s "success" mkern@penguin


is there a difference between emerge world and emerge @world? system is normally included in world so there would be no need to hand both to emerge! is there any updated docu on portage with sets?

edit:
btw i use

0.> eix-sync (daily via cron)
1.> emerge -uDNpvt @world
2.> inspect what must be done
3.> emerge -uDN @world
4.> etc-update (with meld as diff viewer) if configs need changes
_________________
If English was good enough for Jesus, then it's good enough for you!


Last edited by marens on Wed May 13, 2009 2:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed May 13, 2009 1:56 pm    Post subject: Reply with quote

emerge world and emerge @world is equal I think.

It's only if you use portage 2.2, then you are able to use the set.
Back to top
View user's profile Send private message
Ahenobarbi
Retired Dev
Retired Dev


Joined: 02 Apr 2009
Posts: 345
Location: Warsaw, PL

PostPosted: Wed May 13, 2009 2:35 pm    Post subject: Reply with quote

Code:

/etc/init.d/rdate restart
emerge --sync
emerge -avuND world
eclean-dist -d


d2_racing wrote:
RedSquirrel wrote:
Why do you empty your distfiles directory? Have you no respect for the mirrors? :P


Why keep all the packages that I may not need to reinstall :P


Once or twice I regreted removing some sources I needed to compile while I had no network access ( eg. when I broke wpa_supplicant).
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Wed May 13, 2009 2:44 pm    Post subject: Reply with quote

d2_racing wrote:
RedSquirrel wrote:
Why do you empty your distfiles directory? Have you no respect for the mirrors? :P


Why keep all the packages that I may not need to reinstall :P


Because a patch might be applied to the portage tree, but still use the same version release, and you wouldn't then need to place demand on the server to download the same thing again???? Perhaps consider using eclean-dist and eclean-pkg instead as per below...

I have...

/etc/make.conf:

FEATURES="parallel-fetch ccache"
EMERGE_DEFAULT_OPTS="--verbose --alphabetical --keep-going"


I don't sync with eix or portage as I have portage stored on my NSLU2 (a Linksys Network Add-on Storage device thats running SlugOS). Under that I have a cron jobs to sync portage and the overlays I use...

Code:

# Mins  Hours   Days    Months  Day of the week
00      00      *       *       *               rsync --recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages rsync://rsync.gentoo.org/gentoo-portage /usr/portage/
30      00      *       *       *               /opt/bin/svn up "/usr/portage/local/layman/science/" "http://overlays.gentoo.org/svn/proj/science/overlay"
45      00      *       *       *               /opt/bin/svn up "/usr/portage/local/layman/sunrise/" "http://overlays.gentoo.org/svn/proj/sunrise/reviewed"
00      01      *       *       *               /opt/bin/svn up "/usr/portage/local/layman/perl-experimental/" "http://overlays.gentoo.org/svn/proj/perl/perl-experimental"


When I boot my desktop or laptop up I then routinely run...

Code:

emerge -uDNa @world @system
dispatch-conf
emerge --depclean ; revdep-rebuild ; eclean-dist; eclean-pkg


Works well for me at least :D
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
marens
Apprentice
Apprentice


Joined: 05 Aug 2004
Posts: 173

PostPosted: Wed May 13, 2009 3:02 pm    Post subject: Reply with quote

Quote:

Code:

emerge -uDNa @world @system
dispatch-conf
emerge --depclean ; revdep-rebuild ; eclean-dist; eclean-pkg


Works well for me at least :D


and again somebody who does world + system
_________________
If English was good enough for Jesus, then it's good enough for you!
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Wed May 13, 2009 3:31 pm    Post subject: Reply with quote

marens wrote:
Quote:

Code:

emerge -uDNa @world @system
dispatch-conf
emerge --depclean ; revdep-rebuild ; eclean-dist; eclean-pkg


Works well for me at least :D


and again somebody who does world + system


Check out the documentation here and have a read through /usr/share/portage/config/sets.conf.....

/usr/share/portage/config/sets.conf:

$ more /usr/share/portage/config/sets.conf
# WARNING: default set configuration, DO NOT CHANGE.
# If you want to change anything redefine the relevant section in
# /etc/portage/sets.conf. Any changes to this file will be lost on the next
# portage update, and configuration errors here might upset portage in
# unexpected ways.

# Not much that could be changed for world, so better leave it alone
[world]
class = portage.sets.files.WorldSet
world-candidate = False

# Same as for world, though later portage versions might use a different class
[system]
class = portage.sets.profiles.PackagesSystemSet
world-candidate = False



Thus at present there is no need to use '@world @system' but I've got into the habit of doing it in case things change in the future so I don't get bitten by not updating things.

Future proofing myself 8)

slack
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
NotQuiteSane
Guru
Guru


Joined: 30 Jan 2005
Posts: 488
Location: Klamath Falls, Jefferson, USA, North America, Midgarth

PostPosted: Wed May 13, 2009 4:13 pm    Post subject: Reply with quote

I have emerge aliased to:
Code:
emerge='sudo ionice -c 3 emerge --jobs=6 --keep-going --load-average=25 --ask --tree -v'


the last three options are pointless, as i install with
Code:
emerge -uav


and update with
Code:
emerge -DuNavt world


not the load average may not be proper. I wanted to keepit at a quarter of the load, but didn't rtfm/stfw to find proper ratings

NQS
_________________
These opinions are mine, mine I say! Piss off and get your own.

As I see it -- An irregular blog, Improved with new location

To delete French language packs from system use 'sudo rm -fr /'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum