Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485056 - etc-update throws an error and claims no updates with python 2.6 and portage 2.2.6
Summary: etc-update throws an error and claims no updates with python 2.6 and portage ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: Normal major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 484436
  Show dependency tree
 
Reported: 2013-09-16 03:54 UTC by Steev Klimaszewski
Modified: 2013-09-23 21:18 UTC (History)
0 users

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 Steev Klimaszewski gentoo-dev 2013-09-16 03:54:50 UTC
So, I have a rather old Efika PPC install on mine, and I decided to go ahead and try to upgrade it, even though it hasn't been turned on since around November of 2009.

Initial sync went well, and while it complains about my profile, I couldn't switch (yet) because of the fact that the currently installed portage (portage 2.2_rc5) doesn't support over eapi 2.

I was able to upgrade portage (finally) by issuing:
PYTHON_TARGETS=python2_6 emerge portage

This did the following updates:
prototype portage # PYTHON_TARGETS=python2_6 emerge -pv =portage-2.2.1

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:
        default/linux/powerpc/ppc32/13.0


These are the packages that would be merged, in order:

Calculating dependencies \/usr/lib/portage/pym/portage/dep.py:931: DeprecationWarning: portage.dep.dep_getkey() is deprecated, use portage.dep.Atom.cp instead
  DeprecationWarning)
/usr/lib/portage/pym/portage/dep.py:695: DeprecationWarning: portage.dep.dep_getcpv() is deprecated, use portage.dep.Atom.cpv instead
  DeprecationWarning)                                                                                                                                                                                                           ... done!
[ebuild     U ] sys-devel/make-3.82-r4 [3.81] USE="nls -static" 1,214 kB
[ebuild     U ] sys-libs/readline-6.2_p4 [6.0_p3] USE="-static-libs%" 2,233 kB
[ebuild  N    ] virtual/yacc-0  0 kB
[ebuild     U ] app-shells/bash-4.2_p45 [4.0_p35] USE="net nls (readline%*) (-afs) -bashlogger -examples -mem-scramble -plugins -vanilla" 6,953 kB
[ebuild     U ] sys-apps/portage-2.2.1 [2.2_rc56] USE="(ipc%*) -build -doc -epydoc (-pypy2_0) -python2% -python3 (-selinux) -xattr%" LINGUAS="-ru% (-pl%)" PYTHON_TARGETS="python2_6%* (-pypy2_0) -python2_7% -python3_2% -python3_3% (-python3_4)" 881 kB

Total: 5 packages (4 upgrades, 1 new), Size of downloads: 11,279 kB

The packages all compiled successfully, and at the end I came across...

>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * Regenerating GNU info directory index...
��&�'�j* Processed 127 info files.

 * IMPORTANT: 6 config files in '/etc' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

 * IMPORTANT: 13 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

prototype portage # etc-update 
Traceback (most recent call last):
  File "/usr/bin/portageq", line 1356, in <module>
    sys.exit(main(sys.argv))
  File "/usr/bin/portageq", line 1274, in main
    add_pquery_arguments(parser)
  File "/usr/bin/portageq", line 1196, in add_pquery_arguments
    arg_group.add_argument(*pargs, **kwargs)
TypeError: add_option() keywords must be strings
Scanning Configuration files...
Exiting: Nothing left to do; exiting. :)


So, etc-update does not work correctly, however dispatch-conf does seem to.

Reproducible: Always
Comment 2 Zac Medico gentoo-dev 2013-09-23 21:18:10 UTC
This is fixed in 2.2.7.