View previous topic :: View next topic |
Author |
Message |
Phredus n00b
Joined: 07 Feb 2013 Posts: 47
|
Posted: Fri Jun 27, 2014 12:33 am Post subject: Portage Emerge Update and Clean Procedure, The Correct way!! |
|
|
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 |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9678 Location: almost Mile High in the USA
|
Posted: Fri Jun 27, 2014 1:38 am Post subject: |
|
|
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 |
|
|
Aquous l33t
Joined: 08 Jan 2011 Posts: 700
|
Posted: Tue Jul 01, 2014 12:40 pm Post subject: |
|
|
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 |
|
|
|