Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385131 - app-admin/python-updater-0.9: append --keep-going to emerge
Summary: app-admin/python-updater-0.9: append --keep-going to emerge
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-30 20:15 UTC by Martin Mokrejš
Modified: 2018-02-14 15:59 UTC (History)
0 users

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 Martin Mokrejš 2011-09-30 20:15:52 UTC
I very much do not like python-updater failing because a package does not exist in the tree anymore. Would you mind adding --keep-going to emerge call? At the moment I get:

 * Starting Python Updater from 2.5 to 2.6 :
 *   Adding to list: sys-devel/distcc:0
 *   Adding to list: dev-java/antlr:0
 *   Adding to list: dev-python/pycrypto:0
 *   Adding to list: dev-python/numeric:0
 *   Adding to list: dev-python/celementtree:0
 *   Adding to list: dev-python/elementtree:0
 *   Adding to list: dev-python/python-fchksum:0
 *   Adding to list: dev-python/python-dateutil:0
 *   Adding to list: dev-libs/libgamin:0
 *   Adding to list: dev-libs/libxslt:0
 *   Adding to list: sci-chemistry/pdb2pqr:0
 * emerge -vD1 sys-devel/distcc:0 dev-java/antlr:0 dev-python/pycrypto:0 dev-python/numeric:0 dev-python/celementtree:0 dev-python/elementtree:0 dev-python/python-fchksum:0 dev-python/python-dateutil:0 dev-libs/libgamin:0 dev-libs/libxslt:0 sci-chemistry/pdb2pqr:0

 * IMPORTANT: 12 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies  ... done!

emerge: there are no ebuilds to satisfy "dev-python/numeric:0".

emerge: searching for similar names...
emerge: Maybe you meant any of these: dev-ruby/osmlib-base, dev-ruby/kirbybase, dev-ruby/snmplib?




Same for java-config and numarray being gone. How about keeping a list of dropped packages somewhere so that the wasteful search for similar names (never yielding anything meaningful in my eyes) is avoided as well? ;)
Comment 1 Zac Medico gentoo-dev 2011-10-01 02:52:05 UTC
(In reply to comment #0)
> emerge: there are no ebuilds to satisfy "dev-python/numeric:0".

emerge --keep-going doesn't handle unavailable packages specified as arguments like this. You want something like what's requested in bug 328343.
Comment 2 Martin Mokrejš 2012-03-17 11:41:48 UTC
Pitty, this is really making a set of 32 compute nodes unmaintainable. I spent a week already on this. The never-ending calls to 'revdep-rebuild -i; perl-cleaner all; python-updater' stop every once in a while, be it due to python-2.4 being gone from the tree, or python-updater complaining with:

* emerge -Dv1 --keep-going app-arch/rpm:0 app-editors/vim:0 app-portage/layman:0 dev-java/antlr:0 dev-java/java-config:0 dev-libs/boost:1.46 dev-libs/libgamin:0 dev-libs/libxml2:2 dev-libs/libxslt:0 dev-python/bsddb3:0 dev-python/celementtree:0 dev-python/egenix-mx-base:0 dev-python/elementtree:0 dev-python/imaging:0 dev-python/matplotlib:0 dev-python/mysql-python:0 dev-python/numeric:0 dev-python/pycairo:0 dev-python/pycrypto:0 dev-python/pycxx:0 dev-python/pygobject:2 dev-python/pygobject:3 dev-python/pygtk:2 dev-python/pygtksourceview:2 dev-python/pyparsing:0 dev-python/python-dateutil:python-2 dev-python/python-fchksum:0 dev-python/pytz:0 dev-python/reportlab:0 dev-python/setuptools:0 dev-python/wxpython:2.8 media-gfx/graphviz:0 media-libs/lcms:0 sci-biology/ncbi-tools++:0 sci-chemistry/openbabel:0 sys-apps/file:0 sys-cluster/ganglia:0 sys-devel/distcc:0 sys-devel/gdb:0 sys-libs/cracklib:0 x11-proto/xcb-proto:0

 * IMPORTANT: 15 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "dev-java/java-config:0".

 * IMPORTANT: 15 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

node005 ~ # python-updater -V
0.10
node005 ~ #


Similarly for numarray.

I always get around this by doing:

for p in app-arch/rpm:0 app-editors/vim:0 app-portage/layman:0 dev-java/antlr:0 dev-java/java-config:0 dev-libs/boost:1.46 dev-libs/libgamin:0 dev-libs/libxml2:2 dev-libs/libxslt:0 dev-python/bsddb3:0 dev-python/celementtree:0 dev-python/egenix-mx-base:0 dev-python/elementtree:0 dev-python/imaging:0 dev-python/matplotlib:0 dev-python/mysql-python:0 dev-python/numeric:0 dev-python/pycairo:0 dev-python/pycrypto:0 dev-python/pycxx:0 dev-python/pygobject:2 dev-python/pygobject:3 dev-python/pygtk:2 dev-python/pygtksourceview:2 dev-python/pyparsing:0 dev-python/python-dateutil:python-2 dev-python/python-fchksum:0 dev-python/pytz:0 dev-python/reportlab:0 dev-python/setuptools:0 dev-python/wxpython:2.8 media-gfx/graphviz:0 media-libs/lcms:0 sci-biology/ncbi-tools++:0 sci-chemistry/openbabel:0 sys-apps/file:0 sys-cluster/ganglia:0 sys-devel/distcc:0 sys-devel/gdb:0 sys-libs/cracklib:0 x11-proto/xcb-proto:0; do emerge -Dv1 --keep-going $p; done


Why could python-updater do the same (to execute it through a for loop in a shell)? Theoretically slow, ugly, but works.
Comment 3 Pacho Ramos gentoo-dev 2018-02-14 15:59:04 UTC
removed from the tree