Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321849 - app-portage/eix doesn't properly read-in lines in package.keywords which have no keyword qualifiers
Summary: app-portage/eix doesn't properly read-in lines in package.keywords which have...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Martin Väth
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 16:12 UTC by Dean Matzkov
Modified: 2010-06-11 16:12 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 Dean Matzkov 2010-05-28 16:12:53 UTC
When you add a line to the package.keywords file, but leave-out any actual keywords for a specified package, it automatically implies that you want to accept the unstable keyword for your particular architecture. 

However, eix doesn't seem to honor this implication.

Say, for example, you want the latest version of Vim, even if it's unstable for your architecture. You would simply add this line to your package.keywords file:

app-editors/vim

You could then run the following command to check if Vim is now upgradeable:

eix --versionlines --upgrade vim

No results would be returned. But if you went back and added "~amd64" (or "~x86", etc.) to the end of the line in package.keywords, only then would it show you that vim is upgradeable -- while Portage would still allow you to upgrade Vim with the line formatted either way.
Comment 1 Martin Väth 2010-06-01 10:58:41 UTC
What you want is implemented in eix since many versions:
An empty line in /etc/portage/package.keywords is like adding ~ARCH for all
values in your ARCH variable. Are you sure that your ARCH variable is set
correctly (e.g. by chosing the profile) and not overridden e.g. by your
environment?
Which version of eix are you using?
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-06-11 16:12:18 UTC
(In reply to comment #1)
> What you want is implemented in eix since many versions:

closing then.