Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 219369
Collapse All | Expand All

(-)bin/emerge (+20 lines)
Lines 2942-2947 Link Here
2942
								continue
2942
								continue
2943
						except portage_exception.InvalidDependString:
2943
						except portage_exception.InvalidDependString:
2944
							continue
2944
							continue
2945
2946
						# Enable upgrage or downgrade to a version
2947
						# with visible KEYWORDS when the installed
2948
						# version is masked by KEYWORDS, but never
2949
						# reinstall the same exact version only due
2950
						# to a KEYWORDS mask.
2951
						if installed and matched_packages and \
2952
							pkgsettings._getMissingKeywords(
2953
							pkg.cpv, pkg.metadata):
2954
							different_version = None
2955
							for avail_pkg in matched_packages:
2956
								if not portage_dep.cpvequal(
2957
									pkg.cpv, avail_pkg.cpv):
2958
									different_version = avail_pkg
2959
									break
2960
							if different_version is not None:
2961
								# Only reinstall for KEYWORDS if
2962
								# it's not the same version.
2963
								continue
2964
2945
					if not built and not calculated_use:
2965
					if not built and not calculated_use:
2946
						# This is avoided whenever possible because
2966
						# This is avoided whenever possible because
2947
						# it's expensive.
2967
						# it's expensive.

Return to bug 219369