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

Bug 393

Summary: portage handles 'emerge --world update' incorrectly; pkg_* functions do not work properly
Product: Portage Development Reporter: Martin Schlemmer (RETIRED) <azarah>
Component: UnclassifiedAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: normal CC: azarah, g2boojum
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 278, 282, 337    

Description Martin Schlemmer (RETIRED) gentoo-dev 2002-01-28 13:24:31 UTC
1)  emerge --world update, do not check if the virtual/foo dependancy is
satisfied, before adding the default package for that virtual to the update list.

Example: I have net-mail/postfix installed, which provide virtual/mta, but
  emerge --world update still wants to install net-mail/ssmtp.

2)  lets say i want to merge gnome-extra/gnome-db, but do not have
gnome-extra/libgda .. libgda will be merged as well.  Now, both have 
pkg_postinst() functions, but only gnome-db's get run when they are merged in
one shot (libgda was not merged, so got pulled in by gnome-db).
Comment 1 Geert Bevin 2002-01-30 08:18:57 UTC
*** Bug 416 has been marked as a duplicate of this bug. ***
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-02-20 00:08:50 UTC
For 1), we will be tweaking "world" support significantly which will fix this. 
For 2), both pkg_postinst()s really *should* run.  If both actually get
physically  merged, pkg_postinsts get run.  It's in the same code path.