Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 351598

Summary: emerge -avDuN not pulling in all packages
Product: Portage Development Reporter: Alex Orange <crazycasta>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alex Orange 2011-01-13 20:07:25 UTC
When I do:
sudo emerge -avDuN world
some of the packages are not updated.

When I do:
emerge -avc
it complains of required packages not being installed.

When I do:
emerge -ave world
it reports 8 upgrades, 1 new, 1 in new slot, 1035 reinstalls. The missing packages are:

U  app-arch/cabextract-1.3
U  dev-lang/fpc-2.4.0
N  dev-python/cython-0.13
U  dev-python/markupsafe-0.11
U  dev-lang/yasm-1.1.0
U  dev-java/ant-nodeps-1.8.1
U  sys-apps/ed-1.4
NS sys-devel/gcc-4.3.4
U  dev-python/sphinx-1.0.4
U  dev-python/jinja-2.5.5

I apologize for not have a copy paste. The computer is not connected to the internet at the moment.

While I can of course merge these packages one by one, it is quite annoying that emerge -avDuN world does not work. This is a problem that I have seen at other times. I don't have any idea what causes the problem or how to reproduce it.

Reproducible: Didn't try

Steps to Reproduce:

Actual Results:  
Missed 10 packages in emerge -avDuN world

Expected Results:  
All packages are upgraded/installed.
Comment 1 Zac Medico gentoo-dev 2011-01-13 20:38:04 UTC
You should try --with-bdeps=y as mentioned in the faq:

  http://www.gentoo.org/proj/en/portage/doc/faq.xml
Comment 2 Alex Orange 2011-01-15 07:18:28 UTC
Yes, that works great. Can someone explain the reasoning behind having different defaults for -DuN vs -av --depclean?
Comment 3 Zac Medico gentoo-dev 2011-01-15 08:20:39 UTC
People typically don't want build-time deps removed by --depclean, since they'll have to install them again anyway the next time they are needed for updates.