Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 27283

Summary: emerge sync always says "An update to portage is available"
Product: Portage Development Reporter: Georgi Georgiev <chutz+bugs.gentoo.org>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED WONTFIX    
Severity: minor CC: fork0
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Georgi Georgiev 2003-08-25 03:23:52 UTC
When I do an "emerge sync" I always get the well-known:

 * An update to portage is available. It is _highly_ recommended
 * that you update portage now, before any other packages are updated.
 * Please do so and then update ALL of your configuration files.

It is annoying.

I have a ~x86 masked version of portage installed, which I believe is the reason
for the message to appear every time.

# emerge -pv portage

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     UD] sys-apps/portage-2.0.48-r5 [2.0.49_pre18] -build
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-08-25 12:27:45 UTC
It should say that, and for most people it's _very_ good advice.
You are aware of the reason, so don't worry about it.
Comment 2 Georgi Georgiev 2003-08-26 19:37:29 UTC
I don't worry about it, but let's say I still use the 2.0.49_pre18. Then when 2.0.49 finally goes stable I would still pay no attention to the message, even though it would be a _very_ good idea to upgrade.

Isn't it possible for portage to check that the version it recommends me to upgrade to is really a higher version than the one I already have installed?

What I have in mind is the following:

$ diff /usr/lib/portage/bin/emerge{,.chutz}
1782c1782
<       if(mybestpv != mypvs):
---
>       if(mybestpv > mypvs):
Comment 3 SpanKY gentoo-dev 2003-09-21 09:10:30 UTC
*** Bug 29254 has been marked as a duplicate of this bug. ***