Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232304 - app-admin/python-updater should check EMERGE_DEFAULT_OPTS for presence of -k / --usepkg
Summary: app-admin/python-updater should check EMERGE_DEFAULT_OPTS for presence of -k ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: InVCS
: 242890 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-19 08:46 UTC by Patrick
Modified: 2009-07-12 04:28 UTC (History)
2 users (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 Patrick 2008-07-19 08:46:24 UTC
If EMERGE_DEFAULT_OPTS contains -k / --usepkg, the emerge call that python-updater issues just causes the binary packages to be installed again, with no effect.

Suggestions:
* If -k / --usepkg is the only option specified in EMERGE_DEFAULT_OPTS, python-updater could just add '--ignore-default-opts' to emerge's option list.
* If it contains additional options, it should tell the user about the problem and abort.

Reproducible: Always
Comment 1 michael@smith-li.com 2008-11-27 19:13:58 UTC
*** Bug 242890 has been marked as a duplicate of this bug. ***
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-07-11 23:47:41 UTC
--getbinpkg, --getbinpkgonly, --usepkg and --usepkgonly options will be filtered out off EMERGE_DEFAULT_OPTS environment variable.

http://overlays.gentoo.org/proj/python/changeset/171
Comment 3 Patrick 2009-07-12 02:20:35 UTC
(In reply to comment #2)
> --getbinpkg, --getbinpkgonly, --usepkg and --usepkgonly options will be
> filtered out off EMERGE_DEFAULT_OPTS environment variable.
> 
> http://overlays.gentoo.org/proj/python/changeset/171
> 

Good solution, thanks :)

Should I close this bug now?
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-07-12 04:28:49 UTC
Fixed in app-admin/python-updater-0.7.