Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] emerge broken: 'PackageTrackerDbapiWrapper' obj....
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
silverjam
n00b
n00b


Joined: 03 Sep 2004
Posts: 67
Location: Haslev, Denmark

PostPosted: Fri Jun 13, 2014 9:55 am    Post subject: [Solved] emerge broken: 'PackageTrackerDbapiWrapper' obj.... Reply with quote

Hi all,

Seems like I'm stuck with an unusable emerge command:

Code:

foo # emerge -av sip

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


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

Calculating dependencies... done!
Traceback (most recent call last):
  File "/usr/bin/emerge", line 50, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1037, in emerge_main
    return run_action(emerge_config)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 4061, in run_action
    emerge_config.args, spinner)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 320, in action_build
    settings, trees, myopts, myparams, myaction, myfiles, spinner)
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 8403, in backtrack_depgraph
    myaction, myfiles, spinner)
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 8435, in _backtrack_depgraph
    success, favorites = mydepgraph.select_files(myfiles)
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 3093, in select_files
    return self._select_files(args)
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 3429, in _select_files
    return self._resolve(myfavorites)
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 3584, in _resolve
    self.altlist()
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 6229, in altlist
    self._resolve_conflicts()
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 6353, in _resolve_conflicts
    if not self._complete_graph():
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 5786, in _complete_graph
    if not self._create_graph(allow_unsatisfied=True):
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 2002, in _create_graph
    if not self._pop_disjunction(allow_unsatisfied):
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 3008, in _pop_disjunction
    pkg, dep_root, dep_priority, dep_struct, allow_unsatisfied):
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 2619, in _add_pkg_dep_string
    allow_unsatisfied)
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 2675, in _wrapped_add_pkg_dep_string
    strict=strict, priority=dep_priority)
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 3814, in _select_atoms_from_graph
    **portage._native_kwargs(kwargs))
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 3868, in _select_atoms_highest_available
    myroot=root, trees=trees)
  File "/usr/lib64/portage/pym/portage/dep/dep_check.py", line 657, in dep_check
    use_binaries=use_binaries, myroot=myroot, trees=trees)
  File "/usr/lib64/portage/pym/portage/dep/dep_check.py", line 207, in _expand_new_virtuals
    portdb.aux_get(matches[-1], ['PROVIDE'])[0].split():
AttributeError: 'PackageTrackerDbapiWrapper' object has no attribute 'aux_get'


I tried to switch Python interpreters. Currently I'm running 3.2:

Code:

foo # eselect python list
Available Python interpreters:
  [1]   python2.6
  [2]   python2.7
  [3]   python3.2 *
  [4]   python3.3


Running python-updater doesn't give me anything:

Code:

foo # python-updater
WARNING: 'portageq portdir' is deprecated. Use 'portageq repositories_configuration' instead.
 * Starting Python Updater from 2.7 to 3.2 :
 *   Adding to list: app-text/gnome-doc-utils:0
 *   Adding to list: dev-vcs/mercurial:0
 *   Adding to list: dev-vcs/git:0
 *   Adding to list: dev-libs/libxml2:2
 *   Adding to list: dev-libs/boost:0
 *     check: manual [Added to list manually, see CHECKS in manpage for more information.]
 *   Adding to list: app-portage/gentoolkit:0
 *   Adding to list: app-portage/layman:0
 *   Adding to list: dev-util/gdbus-codegen:0
 *   Adding to list: dev-util/scons:0
 *   Adding to list: x11-libs/xpyb:0
 *   Adding to list: x11-proto/xcb-proto:0
 *   Adding to list: app-admin/system-config-printer-common:0
 *   Adding to list: dev-java/java-config:2
 *   Adding to list: app-emulation/emul-linux-x86-baselibs:0
 *   Adding to list: dev-python/sphinx:0
 *   Adding to list: dev-python/pycairo:0
 *   Adding to list: dev-python/sip:0/9
 *   Adding to list: dev-python/pyrex:0
 *   Adding to list: dev-python/pyogg:0
 *   Adding to list: dev-python/pygtksourceview:2
 *   Adding to list: dev-python/setuptools:0
 *   Adding to list: dev-python/dbus-python:0
 *   Adding to list: dev-python/pygobject:2
 *   Adding to list: dev-python/markupsafe:0
 *   Adding to list: dev-python/pycurl:0
 *   Adding to list: dev-python/pycups:0
 *   Adding to list: dev-python/notify-python:0
 *   Adding to list: dev-python/pyid3lib:0
 *   Adding to list: dev-python/pygtk:2
 *   Adding to list: dev-python/numpy:0
 *   Adding to list: dev-python/pyvorbis:0
 *   Adding to list: dev-python/jinja:0
 *   Adding to list: dev-python/cddb-py:0
 *   Adding to list: dev-python/docutils:0
 *   Adding to list: dev-python/pygments:0
 *   Adding to list: dev-python/docutils-glep:0
 *   Adding to list: dev-python/id3-py:0
 *   Adding to list: dev-python/PyQt4:0
 *   Adding to list: kde-base/pykde4:4
 *   Adding to list: kde-base/krosspython:4
 *   Adding to list: sys-devel/distcc:0
 *   Adding to list: net-print/hplip:0
 *   Adding to list: media-sound/jack:0
 * emerge -vD1 app-text/gnome-doc-utils:0 dev-vcs/mercurial:0 dev-vcs/git:0 dev-libs/libxml2:2 dev-libs/boost:0 app-portage/gentoolkit:0 app-portage/layman:0 dev-util/gdbus-codegen:0 dev-util/scons:0 x11-libs/xpyb:0 x11-proto/xcb-proto:0 app-admin/system-config-printer-common:0 dev-java/java-config:2 app-emulation/emul-linux-x86-baselibs:0 dev-python/sphinx:0 dev-python/pycairo:0 dev-python/sip:0/9 dev-python/pyrex:0 dev-python/pyogg:0 dev-python/pygtksourceview:2 dev-python/setuptools:0 dev-python/dbus-python:0 dev-python/pygobject:2 dev-python/markupsafe:0 dev-python/pycurl:0 dev-python/pycups:0 dev-python/notify-python:0 dev-python/pyid3lib:0 dev-python/pygtk:2 dev-python/numpy:0 dev-python/pyvorbis:0 dev-python/jinja:0 dev-python/cddb-py:0 dev-python/docutils:0 dev-python/pygments:0 dev-python/docutils-glep:0 dev-python/id3-py:0 dev-python/PyQt4:0 kde-base/pykde4:4 kde-base/krosspython:4 sys-devel/distcc:0 net-print/hplip:0 media-sound/jack:0

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


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

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "dev-python/sip:0/9".


So I try to update (or uninstall dev-python/sip), but I cannot since emerge fails (see first code listing above).

Plz help....


Last edited by silverjam on Fri Jun 13, 2014 1:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Fri Jun 13, 2014 12:44 pm    Post subject: Reply with quote

See https://forums.gentoo.org/viewtopic-p-7534404.html for resolution.
Back to top
View user's profile Send private message
silverjam
n00b
n00b


Joined: 03 Sep 2004
Posts: 67
Location: Haslev, Denmark

PostPosted: Fri Jun 13, 2014 1:47 pm    Post subject: Reply with quote

Thanks. That did it. :D
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 8537
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Jun 13, 2014 1:50 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads in favor of the thread TomWij cited.

- John.
_________________
I can confirm that I have received between 0 and 999 National Security Letters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum