Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage Emerge Update and Clean Procedure, The Correct way!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Phredus
n00b
n00b


Joined: 07 Feb 2013
Posts: 47

PostPosted: Fri Jun 27, 2014 12:33 am    Post subject: Portage Emerge Update and Clean Procedure, The Correct way!! Reply with quote

Quote:
Hello all experienced and kind gentlemen, please help.
I am trying to figure out the best way to Update and Clean my system.
Below is the list of how I've been doing it, but I'm not sure if it the right way.

Code:
My current list of ToDos:

1- emerge --sync
2- emerge --update --deep --with-bdeps=y --newuse world
or
3- emerge --update --newuse --with-bdeps=y --deep @world --ask
4- emerge --depclean
5- etc-update
or
6- dispatch-conf
7- revdep-rebuild
8- eclean-dist --destructiv

Quote:
Please post your procedure list.
Thank you
[/code]
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9678
Location: almost Mile High in the USA

PostPosted: Fri Jun 27, 2014 1:38 am    Post subject: Reply with quote

Mine is fairly similar - though I tend to less often run revdep-rebuild (a lot is now automatically fixed) and eclean-dist --destructive just in case I need to backtrack. But yes I have to carefully check what potentially gets updated each time, and --ask does it fine. Same with --depclean, sometimes it can get rid of an application that you found helpful but portage thought it was orphaned (emerge --noreplace that package to add it into your worldfile.)
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Tue Jul 01, 2014 12:40 pm    Post subject: Reply with quote

Mine is a massively complex Perl script that automates tasks such as compiling the kernel, running makewhatis after a manpages update, etc. Comments welcome :) http://pastebin.com/bAScAdA3
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
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