Emerge portage blocked by another package

From thelinuxwiki
Jump to: navigation, search

Problem Description

attempt to update portage with emerge portageafter an emerge --sync failes with the error message below. In this case there was a problem with log rotate.


Error Messages

[blocks B ] <app-admin/logrotate-3.8.0 ("<app-admin/logrotate-3.8.0" is blocking sys-apps/portage-2.1.10.11)

  • Error: The above package list contains packages which cannot be
  • installed at the same time on the same system.
(sys-apps/portage-2.1.10.11, ebuild scheduled for merge) pulled in by
  portage


Solution

Update the blocking package before updating portage.

 #emerge -u package_name
 or specifically for this case...
 #emerge -u logrotate
 then
 #emerge portage