Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721852 - emerge --sync during emerge can delete ebuilds from under the emerge
Summary: emerge --sync during emerge can delete ebuilds from under the emerge
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-09 12:39 UTC by Justin Rittenhouse
Modified: 2020-05-14 00:00 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 Justin Rittenhouse 2020-05-09 12:39:57 UTC
I have a very old system that is fairly out-of-date.  I have been working slowly through updating it.  I finally got it to a point where it would do a merge of some 3-400 packages.  This emerge was taking quite some time, and I have emerge --sync set to run via cron.  The sync removed an ebuild scheduled for merge.

Reproducible: Always

Steps to Reproduce:
1.  emerge --update @world
2.  emerge --sync
3.  Get unlucky and have an ebuild removed via sync while emerge @world is running
Actual Results:  
emerge dies reporting a missing ebuild

Expected Results:  
emerge merges the ebuild because it cached it somewhere

Maybe this is expected behavior, but it seems like Portage would be more robust if it could handle a stupid user deleting ebuilds from under it.
Comment 1 Jonas Stein gentoo-dev 2020-05-14 00:00:22 UTC
There are some tricks how to upgrade an old system. Please ask on IRC #gentoo or in the forum.
We cannot help on a bug tracker.