[packagekit] Apt2 backend

mirttex85-pk at yahoo.com.br mirttex85-pk at yahoo.com.br
Sat Mar 15 13:10:54 PDT 2008


Hi, after a lot of time trying to start doing something with PK, finnaly i have something almost working.
So I created a list of dependencies to a Debian lenny/sid system, i`ll work on qpackagekit, that i`m more familiar than python. Accutually my ideas include Kde libs so if nobody make any complain i would like to call Kpackgekit.
this is the error that i`m getting, since Sebastian wasn`t on #packagekit:

./libexec/aptDBUSBackend.py
/usr/lib/python2.4/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
Traceback (most recent call last):
  File "./libexec/aptDBUSBackend.py", line 34, in ?
    from packagekit.daemonBackend import PACKAGEKIT_DBUS_INTERFACE, PACKAGEKIT_DBUS_PATH, PackageKitBaseBackend, PackagekitProgress, pklog
  File "/usr/lib/python2.4/site-packages/packagekit/daemonBackend.py", line 60, in ?
    class PackageKitBaseBackend(dbus.service.Object):
  File "/usr/lib/python2.4/site-packages/packagekit/daemonBackend.py", line 387, in PackageKitBaseBackend
    in_signature='sb', out_signature='')
  File "/var/lib/python-support/python2.4/dbus/decorators.py", line 187, in decorator
    raise ValueError, 'input signature is shorter than the number of arguments taken'
ValueError: input signature is shorter than the number of arguments taken

>>>>>>>>>>>>>>>>
So i went to /usr/lib/python2.4/site-packages/packagekit/daemonBackend.py
lines 387 and 400 and removed sb from ''.
this makes the error go away but .pkcon search name sd

    [===============================================================================================================================================]  100%
    [===============================================================================================================================================]  100%
    [===============================================================================================================================================]  100%
    [===============================================================================================================================================]  100%

And stayed there for a long time...
then i CTRL+C and repeated the same command and this time i didn`t even get the percentage....


This is it, hope this might help,
Daniel.


DEPENDENCIES LIST:

Required for ./autogen.sh :
--prefix=/home/elisabeth/projetos/pkbin/ --with-security-framework=polkit --with-default-backend=apt2 --enable-dummy --enable-local --enable-apt2 --enable-tests --enable-gtk-doc

gtk-doc-tools        // gtkdocsize
libglib2.0-dev        // AM_GLIB_GNU_GETTEXT
libsqlite3-dev        // sqlite3
libdbus-glib-1-dev    // dbus-glib-1, dbus-1
libpolkit-dbus-dev    // polkit-dbus
libpolkit-grant-dev    // polkit-grant
policykit            // polkit-dbus, polkit-grant

Needed by apt2 backend:
python-apt        // apt2 uses python..

Pk dependencies:
dbus/unstable        // dbus newer than 1.1.3 (20070819 or later)
python-dbus        // import dbus
python-xapian        // import xapian





      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/packagekit/attachments/20080315/a41f23df/attachment.html 


More information about the PackageKit mailing list