Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86632 - emerge -u does not add packages to world file
Summary: emerge -u does not add packages to world file
Status: RESOLVED DUPLICATE of bug 48181
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-03-25 02:34 UTC by Marek Zachara
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Zachara 2005-03-25 02:34:58 UTC
when runnig emerge --depclean, got a huge list of cadidates, including packages i have just emerged 10 minutes ago. I have checked /var/lib/portage/world file and the packages i just emerged are not there :(

Reproducible: Always
Steps to Reproduce:
1. emerge -u emul-linux-x86-sdl
2. emerge --depclean
(or) 2. cat /var/lib/portage/world
Actual Results:  
  
>>> Waiting 10 seconds before starting...  
>>> (Control-C to abort)...  
>>> Depclean in: 10 9 8 7 6 5 4 3 2 1  
Calculating depclean dependencies ... done!  
  
...  
  
 app-emulation/emul-linux-x86-sdl  
    selected: 1.2.8-r1  
   protected: none  
     omitted: none  
  
...  
  
+ more than a half of my system (kdevelop, ntp, pciutils, logrotate just to  
name a few). Packages both emerged manually by myself as well as these emerged  
a sdependencies.  

Expected Results:  
packages that were not emerged with --oneshot shall be added to world file and 
excluded from depclean procedure.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-25 04:51:08 UTC
I'm not sure but I think this is wanted. If I update a dependency (a library) I don't want to have it saved in the worldfile.

Probably it should fail if called with a package which is not installed.
Comment 2 Marek Zachara 2005-03-25 05:15:40 UTC
well, either one way or another. Libraries get updated usually anyway while doing emerge -uDp world, but it would be ok with me if emerge -u would not add the package to the wordwile as long as it doesn't emerge new packages. Because the way its done now, people may (like i did) end up having most of the packages 'orphaned'
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-04-12 06:28:11 UTC
Yep. There's a couple of bugs like this now. The idea was that a lot of users want to upgrade libraries and such without adding them to world. Time for those users to start using --oneshot (again).
Comment 4 Yves Bellefeuille 2005-05-02 16:56:51 UTC
I agree that this is a problem. I've been using "--update" whenever installing a package, with the idea that this would mean: "update to the latest version if it's already installed, or otherwise install it". I now have a bunch of packages missing in /var/lib/portage/world.  :-(

I still think that this is the best behaviour. "--oneshot" should be used precisely for the purpose indicated in the man page: "Emerge as normal, but do not add the packages to the world profile for later updating".

"Hardware" should be changed to "all", BTW.
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2005-05-03 07:11:20 UTC

*** This bug has been marked as a duplicate of 48181 ***