Difference between revisions of "Gentoo: System update"

From Luky-Wiki
Jump to: navigation, search
(.)
(.)
Line 15: Line 15:
 
  find /var/log/portage -maxdepth 1 -type f -ls -delete
 
  find /var/log/portage -maxdepth 1 -type f -ls -delete
  
===== . =====
+
===== 3. Clean distfiles and package directory =====
 +
eclean-dist -d; eclean-pkg -d
 +
 
 
===== . =====
 
===== . =====
 
===== . =====
 
===== . =====

Revision as of 15:03, 9 May 2017


Warning! Warning! Warning! ... This article is my cookbook. It is designed for binary type update (two stages deployment) and only as reference. You can use it but it may not be suitable for all configurations. Use common sense and add / modify / repeat commands if necessary. I am doing same during update.

1. Update local repository
eix-sync

or

emerge --sync

or (if repository is synced)

eix-update
2. Clean logs from previous update
find /var/log/portage -maxdepth 1 -type f -ls -delete
3. Clean distfiles and package directory
eclean-dist -d; eclean-pkg -d
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.