Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58005 - fixpackages should display notice if moved packages are in /etc/portage/package.keywords
Summary: fixpackages should display notice if moved packages are in /etc/portage/packa...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-07-22 19:56 UTC by Michael Stewart (vericgar) (RETIRED)
Modified: 2004-10-22 08:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch against portage-2.0.51_pre13 that does this (portage-2.0.51_pre13-fixpackages-config-notify.patch,3.04 KB, patch)
2004-07-22 21:58 UTC, Michael Stewart (vericgar) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Stewart (vericgar) (RETIRED) gentoo-dev 2004-07-22 19:56:13 UTC
I just had a emerge -pulDv world die on me because of depgraph creation problems. x11-plugins/gaim-encryption was masked by ~x86 keyword. I had in my package.keywords net-im/gaim-encryption so that I could use the latest unstable.

I think automaticly changing /etc/portage/package.keywords is a bad idea, but displaying a message saying that the entries there have moved would be a good idea. This should also apply to the other files in /etc/portage

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2004-07-22 21:58:01 UTC
Created attachment 35986 [details, diff]
patch against portage-2.0.51_pre13 that does this

I had a few minutes, so I tried my hand at implementing this. It seems to work
for me.

Sample output:

Performing Global Updates: /usr/portage/profiles/updates/3Q-2004
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
  s='/var/db SLOT move' S='binary SLOT move'
.@%%.........@%%
>>> Package net-im/gaim-encryption is being moved to 
	    x11-plugins/gaim-encryption and is referenced in:
     /etc/portage/package.keywords
.................*****************
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2004-07-23 10:28:05 UTC
I like the idea, but I want the code for these and related
checks broken out into a seperate module.
Comment 3 Masatomo Nakano (RETIRED) gentoo-dev 2004-08-02 02:24:20 UTC
I've added another feature to make ._cfg file for the package.* files as a result of talking with carpaski.
It means you can update the files by etc-update or some tools.
Comment 4 Nicholas Jones (RETIRED) gentoo-dev 2004-10-22 08:47:48 UTC
Bug has been fixed and released in stable portages on or before 2.0.51-r2