Summary: | Extra option to skip downgrades | ||
---|---|---|---|
Product: | Portage Development | Reporter: | faz <faz> |
Component: | Core | Assignee: | Nicholas Jones (RETIRED) <carpaski> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | h3y, hannes, jhhudso, jrray, mholzer, moixa, slyzer, whale |
Priority: | High | ||
Version: | 2.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 9379 | ||
Bug Blocks: | |||
Attachments: |
vote for this or similar option
emerge.diff emerge-2.0.47-r2.diff emerge-2.0.47-r2.diff |
Description
faz
2002-12-13 01:36:35 UTC
Created attachment 6806 [details]
vote for this or similar option
Created attachment 7430 [details, diff]
emerge.diff
This patch adds a '--nodowngrade' or '-g' option to emerge.
geep root # emerge -up world
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
[ebuild UD] app-text/xpdf-2.01 [2.01-r1]
[ebuild U ] net-www/links-2.1_pre6 [2.1_pre3]
geep root # emerge -up --nodowngrade world
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
[ebuild U ] net-www/links-2.1_pre6 [2.1_pre3]
patch works great here, comes in very handy :) I'd prefer the parameter was called 'maintain' with a short switch of -m if this was to be done. Cool, that was what i was looking for, but how do I add the patch? what about updates to SLOTed packages ? Upgrades to SLOTed packages are not disabled by this flag, although they still appear as 'D'. This patch is great, just what I've been looking for! I think this needs to be in the official version. Created attachment 8550 [details, diff]
emerge-2.0.47-r2.diff
Here's an updated copy of the diff for portage 2.0.47-r2
Created attachment 8551 [details, diff]
emerge-2.0.47-r2.diff
Here's an updated copy of the diff for portage 2.0.47-r2
*** Bug 16819 has been marked as a duplicate of this bug. *** -U/--upgradeonly does a make.conf option for that exist ? (i.e. to make it never downgrade) |