Giter Club home page Giter Club logo

packagekit's Introduction

packagekit's People

Contributors

afb avatar arrowd avatar belka-ew avatar caglar10ur avatar conan-kudo avatar dantti avatar dimstar77 avatar fbourigault avatar glatzor avatar hughsie avatar igorpsoares avatar jonathan-conder avatar jonathankang avatar joulupukki avatar kalev avatar kenvandine avatar lmacken avatar megabajt avatar mounirlamouri avatar onestep avatar palfrey avatar piotrdrag avatar pwithnall avatar robert-ancell avatar soig avatar stephanedelcroix avatar timlau avatar xiaoqiang0 avatar ximion avatar zhangsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

packagekit's Issues

dnf commands don't cause signals in packagekit

running dnf erase powertop
and monitoring signals in packagekit:

gdbus monitor --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit 

shows no UpdateChanged signal. It does show up if you use pkcon remove. Note that install is independently broken in #109

Thanks!

Transaction progress

Hi,
I've been looking into why our progress bar keeps resetting every now and then when upgrading.
I've seen that with every state change, it jumps back to 0 (on alpm backend).

I would like to know if that's an error on ALPM or if it needs to be sorted out in the client somehow.

PackageKit - Katja segmentation faults.

Hi I have had many times issues with PK crashing on Slackware64-14.1 . I also heard of few people claiming it stays on 0% when you issue pkcon install dropline command.

Get ahead and found that the packagekitd simply crashes. It seems because of the gstrreverse function in glib. I compilled PK with debugging symbols and this is what I have so far:

root@rclaptop:~# gdb
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-slackware-linux".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
(gdb) file /usr/libexec/packagekitd
Reading symbols from /usr/libexec/packagekitd...done.
(gdb) run --verbose
Starting program: /usr/libexec/packagekitd --verbose
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.4200.1-gdb.py", line 9, in
from gobject import register
File "/usr/share/glib-2.0/gdb/gobject.py", line 117, in
class SignalFrame(FrameDecorator):
NameError: name 'FrameDecorator' is not defined
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
19:12:44 PackageKit Verbose debugging enabled (on console 1)
19:12:44 PackageKit daemon shutdown set to 0 seconds
19:12:44 PackageKit clearing download cache at /var/cache/PackageKit/downloads
[New Thread 0x7ffff5772700 (LWP 4618)]
[New Thread 0x7ffff4f71700 (LWP 4619)]
[New Thread 0x7fffeefa8700 (LWP 4620)]
19:12:44 PackageKit destination eth0 is valid
19:12:44 PackageKit setting config file watch on /etc/PackageKit/PackageKit.conf
19:12:44 PackageKit Trying to load : katja
19:12:44 PackageKit dlopening '/usr/lib64/packagekit-backend/libpk_backend_katja.so'
19:12:44 PackageKit trying to open database '/var/lib/PackageKit/transactions.db'
19:12:44 PackageKit job count is now at 0
19:12:44 PackageKit is_default: 1
19:12:44 PackageKit network state is wired
19:12:44 PackageKit PkEngine: acquired name: org.freedesktop.PackageKit
[Thread 0x7ffff4f71700 (LWP 4619) exited]
19:13:02 PackageKit CreateTransaction method called
19:13:02 PackageKit job count now 1
[New Thread 0x7ffff4f71700 (LWP 4680)]
19:13:02 PackageKit trying to open database '/var/lib/PackageKit/transactions.db'
19:13:02 PackageKit job count is now at 0
19:13:02 PackageKit transaction now new
19:13:02 PackageKit setting sender to :1.80
[New Thread 0x7fffed23b700 (LWP 4681)]
19:13:02 PackageKit adding transaction 0x555555853150
19:13:02 PackageKit sending object path: '/1_bddcdcde'
19:13:02 PackageKit notify::connected
19:13:02 PackageKit SetHints method called: locale=en_US.UTF-8, background=false, interactive=true, cache-age=4294967295
19:13:02 PackageKit locale changed to en_US.UTF-8
19:13:02 PackageKit cache-age changed to -1
19:13:02 PackageKit RefreshCache method called: 1
19:13:02 PackageKit transaction now waiting-for-auth
19:13:02 PackageKit authorizing action org.freedesktop.packagekit.system-sources-refresh
19:13:02 PackageKit transaction now ready
19:13:02 PackageKit changing transaction to exclusive mode
19:13:02 PackageKit 1 transactions in list, 1 committed but not finished
19:13:02 PackageKit transaction now running
19:13:02 PackageKit Failed to get session for :1.80: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '4672'
19:13:02 PackageKit failed to set the session state (non-fatal): failed to get the session
19:13:02 PackageKit setting role for /1_bddcdcde to refresh-cache
[New Thread 0x7fffeca3a700 (LWP 4682)]
[Thread 0x7fffed23b700 (LWP 4681) exited]
HTTP/1.1 200 OK
Date: Thu, 18 Jun 2015 18:14:41 GMT
Server: Apache
Last-Modified: Tue, 16 Jun 2015 05:47:51 GMT
ETag: "ba6b-5189c1d69efc0"
Accept-Ranges: bytes
Content-Length: 47723
Content-Type: text/plain

19:13:04 PackageKit State:
0 refresh-cache /1_bddcdcde state[running] exclusive[1] background[0]

19:13:04 PackageKit 1 are running
HTTP/1.1 302 Found
Date: Thu, 18 Jun 2015 18:14:42 GMT
Server: Apache/2.4.12 (Unix)
X-MirrorBrain-Mirror: linorg.usp.br
X-MirrorBrain-Realm: country
Link: http://mirrors.slackware.com/slackware/slackware64-14.1/patches/PACKAGES.TXT.meta4; rel=describedby; type="application/metalink4+xml"
Link: http://linorg.usp.br/slackware/slackware64-14.1/patches/PACKAGES.TXT; rel=duplicate; pri=1; geo=br
Link: http://slackmirror.cbpf.br/pub/slackware/slackware64-14.1/patches/PACKAGES.TXT; rel=duplicate; pri=2; geo=br
Link: http://mirror.ic.ufmt.br/slackware/slackware64-14.1/patches/PACKAGES.TXT; rel=duplicate; pri=3; geo=br
Link: http://mirror.cedia.org.ec/slackware/slackware64-14.1/patches/PACKAGES.TXT; rel=duplicate; pri=4; geo=ec
Link: http://slackbuilds.org/mirror/slackware/slackware64-14.1/patches/PACKAGES.TXT; rel=duplicate; pri=5; geo=us
Digest: MD5=f576vmoIr7EBGnQ10gbfwQ==
Digest: SHA=gkZyP0whEweSX6HdklHeDSDVMjs=
Digest: SHA-256=slpzBnwSWh2sKCcn6JSibCL+rzY6NuDoa7hWCG/QnyM=
Location: http://linorg.usp.br/slackware/slackware64-14.1/patches/PACKAGES.TXT
Content-Type: text/html; charset=iso-8859-1

HTTP/1.1 200 OK
Date: Thu, 18 Jun 2015 18:12:03 GMT
Server: Apache
Last-Modified: Fri, 12 Jun 2015 18:10:04 GMT
ETag: "c58030b4-a6e1-51856046c1700"
Accept-Ranges: bytes
Content-Length: 42721
Vary: Accept-Encoding
X-server: linorg-frontend08
Content-Type: text/plain

HTTP/1.1 302 Found
Date: Thu, 18 Jun 2015 18:14:42 GMT
Server: Apache/2.4.12 (Unix)
X-MirrorBrain-Mirror: linorg.usp.br
X-MirrorBrain-Realm: country
Link: http://mirrors.slackware.com/slackware/slackware64-14.1/patches/MANIFEST.bz2.meta4; rel=describedby; type="application/metalink4+xml"
Link: http://linorg.usp.br/slackware/slackware64-14.1/patches/MANIFEST.bz2; rel=duplicate; pri=1; geo=br
Link: http://slackmirror.cbpf.br/pub/slackware/slackware64-14.1/patches/MANIFEST.bz2; rel=duplicate; pri=2; geo=br
Link: http://mirror.ic.ufmt.br/slackware/slackware64-14.1/patches/MANIFEST.bz2; rel=duplicate; pri=3; geo=br
Link: http://mirror.cedia.org.ec/slackware/slackware64-14.1/patches/MANIFEST.bz2; rel=duplicate; pri=4; geo=ec
Link: http://slackbuilds.org/mirror/slackware/slackware64-14.1/patches/MANIFEST.bz2; rel=duplicate; pri=5; geo=us
Digest: MD5=asX8Uyg7iWhe3Iqbf5uixg==
Digest: SHA=etMBc7RHtc20Hyft2ZapTOXyL4Y=
Digest: SHA-256=VxzXdHL3O+YCe5X13+H2TtuATjalSphZZ8RsT/8Vfw8=
Location: http://linorg.usp.br/slackware/slackware64-14.1/patches/MANIFEST.bz2
Content-Type: text/html; charset=iso-8859-1

HTTP/1.1 200 OK
Date: Thu, 18 Jun 2015 18:12:04 GMT
Server: Apache
Last-Modified: Fri, 12 Jun 2015 18:10:02 GMT
ETag: "8cd51ad6-45a32a-51856044d9280"
Accept-Ranges: bytes
Content-Length: 4563754
X-server: linorg-frontend08
Content-Type: application/x-bzip2

HTTP/1.1 302 Found
Date: Thu, 18 Jun 2015 18:14:43 GMT
Server: Apache/2.4.12 (Unix)
X-MirrorBrain-Mirror: linorg.usp.br
X-MirrorBrain-Realm: country
Link: http://mirrors.slackware.com/slackware/slackware64-14.1/slackware64/PACKAGES.TXT.meta4; rel=describedby; type="application/metalink4+xml"
Link: http://linorg.usp.br/slackware/slackware64-14.1/PACKAGES.TXT; rel=duplicate; pri=1; geo=br
Link: http://slackmirror.cbpf.br/pub/slackware/slackware64-14.1/PACKAGES.TXT; rel=duplicate; pri=2; geo=br
Link: http://mirror.ic.ufmt.br/slackware/slackware64-14.1/PACKAGES.TXT; rel=duplicate; pri=3; geo=br
Link: http://mirror.cedia.org.ec/slackware/slackware64-14.1/PACKAGES.TXT; rel=duplicate; pri=4; geo=ec
Link: http://slackbuilds.org/mirror/slackware/slackware64-14.1/PACKAGES.TXT; rel=duplicate; pri=5; geo=us
Digest: MD5=uRbTnYrVDOv7D9bP4yBhXw==
Digest: SHA=u+oad+o9bFRnmLWX/kUo+xei2ng=
Digest: SHA-256=R18j25g3PxC2bf5JeAaI3D3o5E9nzDdX66LMW6CmpfM=
Location: http://linorg.usp.br/slackware/slackware64-14.1/PACKAGES.TXT
Content-Type: text/html; charset=iso-8859-1

HTTP/1.1 200 OK
Date: Thu, 18 Jun 2015 18:12:04 GMT
Server: Apache
Last-Modified: Sun, 03 Nov 2013 06:19:37 GMT
ETag: "9bdf2fb6-a2411-4ea3fc8a5f040"
Accept-Ranges: bytes
Content-Length: 664593
Vary: Accept-Encoding
X-server: linorg-frontend08
Content-Type: text/plain

HTTP/1.1 302 Found
Date: Thu, 18 Jun 2015 18:14:43 GMT
Server: Apache/2.4.12 (Unix)
X-MirrorBrain-Mirror: linorg.usp.br
X-MirrorBrain-Realm: country
Link: http://mirrors.slackware.com/slackware/slackware64-14.1/slackware64/MANIFEST.bz2.meta4; rel=describedby; type="application/metalink4+xml"
Link: http://linorg.usp.br/slackware/slackware64-14.1/slackware64/MANIFEST.bz2; rel=duplicate; pri=1; geo=br
Link: http://slackmirror.cbpf.br/pub/slackware/slackware64-14.1/slackware64/MANIFEST.bz2; rel=duplicate; pri=2; geo=br
Link: http://mirror.ic.ufmt.br/slackware/slackware64-14.1/slackware64/MANIFEST.bz2; rel=duplicate; pri=3; geo=br
Link: http://mirror.cedia.org.ec/slackware/slackware64-14.1/slackware64/MANIFEST.bz2; rel=duplicate; pri=4; geo=ec
Link: http://slackbuilds.org/mirror/slackware/slackware64-14.1/slackware64/MANIFEST.bz2; rel=duplicate; pri=5; geo=us
Digest: MD5=STC75EM6k4xau50rRUvi4Q==
Digest: SHA=ZOOkKq58vC6h9wqft/jyVS6mKxY=
Digest: SHA-256=Vqs2OjQweenSPvQKIW4pfZBJkEhXBfsJjdcZV+eQil8=
Location: http://linorg.usp.br/slackware/slackware64-14.1/slackware64/MANIFEST.bz2
Content-Type: text/html; charset=iso-8859-1

HTTP/1.1 200 OK
Date: Thu, 18 Jun 2015 18:12:04 GMT
Server: Apache
Last-Modified: Sun, 03 Nov 2013 06:19:05 GMT
ETag: "4a5f8003-2b94bc-4ea3fc6bda840"
Accept-Ranges: bytes
Content-Length: 2856124
X-server: linorg-frontend08
Content-Type: application/x-bzip2

HTTP/1.1 302 Found
Date: Thu, 18 Jun 2015 18:14:43 GMT
Server: Apache/2.4.12 (Unix)
X-MirrorBrain-Mirror: linorg.usp.br
X-MirrorBrain-Realm: country
Link: http://mirrors.slackware.com/slackware/slackware64-14.1/extra/PACKAGES.TXT.meta4; rel=describedby; type="application/metalink4+xml"
Link: http://linorg.usp.br/slackware/slackware64-14.1/extra/PACKAGES.TXT; rel=duplicate; pri=1; geo=br
Link: http://slackmirror.cbpf.br/pub/slackware/slackware64-14.1/extra/PACKAGES.TXT; rel=duplicate; pri=2; geo=br
Link: http://mirror.ic.ufmt.br/slackware/slackware64-14.1/extra/PACKAGES.TXT; rel=duplicate; pri=3; geo=br
Link: http://mirror.cedia.org.ec/slackware/slackware64-14.1/extra/PACKAGES.TXT; rel=duplicate; pri=4; geo=ec
Link: http://slackbuilds.org/mirror/slackware/slackware64-14.1/extra/PACKAGES.TXT; rel=duplicate; pri=5; geo=us
Digest: MD5=LuCSbQdKT/Y3I7Wf9mRvjA==
Digest: SHA=2TM9HybiHYmD0Yy43UVRe1My34s=
Digest: SHA-256=P86R2Lqlct0Z25RAcBqPtk3TQu+1bdv6FMNtO3INyCc=
Location: http://linorg.usp.br/slackware/slackware64-14.1/extra/PACKAGES.TXT
Content-Type: text/html; charset=iso-8859-1

HTTP/1.1 200 OK
Date: Thu, 18 Jun 2015 18:12:05 GMT
Server: Apache
Last-Modified: Mon, 21 Oct 2013 07:36:20 GMT
ETag: "d78a22e2-7bd7-4e93b57124500"
Accept-Ranges: bytes
Content-Length: 31703
Vary: Accept-Encoding
X-server: linorg-frontend08
Content-Type: text/plain

HTTP/1.1 302 Found
Date: Thu, 18 Jun 2015 18:14:44 GMT
Server: Apache/2.4.12 (Unix)
X-MirrorBrain-Mirror: linorg.usp.br
X-MirrorBrain-Realm: country
Link: http://mirrors.slackware.com/slackware/slackware64-14.1/extra/MANIFEST.bz2.meta4; rel=describedby; type="application/metalink4+xml"
Link: http://linorg.usp.br/slackware/slackware64-14.1/extra/MANIFEST.bz2; rel=duplicate; pri=1; geo=br
Link: http://slackmirror.cbpf.br/pub/slackware/slackware64-14.1/extra/MANIFEST.bz2; rel=duplicate; pri=2; geo=br
Link: http://mirror.ic.ufmt.br/slackware/slackware64-14.1/extra/MANIFEST.bz2; rel=duplicate; pri=3; geo=br
Link: http://mirror.cedia.org.ec/slackware/slackware64-14.1/extra/MANIFEST.bz2; rel=duplicate; pri=4; geo=ec
Link: http://slackbuilds.org/mirror/slackware/slackware64-14.1/extra/MANIFEST.bz2; rel=duplicate; pri=5; geo=us
Digest: MD5=eLkzww8D6JHQeemB8RgdDw==
Digest: SHA=68c7V1P9+6PSokaOPmwcGO24Aig=
Digest: SHA-256=5NplT1ne5C6ryDNnZgfubkCrFWm/AuAqO2rFH1JrxuE=
Location: http://linorg.usp.br/slackware/slackware64-14.1/extra/MANIFEST.bz2
Content-Type: text/html; charset=iso-8859-1

HTTP/1.1 200 OK
Date: Thu, 18 Jun 2015 18:12:05 GMT
Server: Apache
Last-Modified: Mon, 21 Oct 2013 07:36:18 GMT
ETag: "75afdc0-163e9-4e93b56f3c080"
Accept-Ranges: bytes
Content-Length: 91113
X-server: linorg-frontend08
Content-Type: application/x-bzip2

HTTP/1.1 200 OK
Date: Thu, 18 Jun 2015 18:14:44 GMT
Server: Apache/2.4.12 (Unix)
Last-Modified: Thu, 16 May 2013 00:17:52 GMT
ETag: "49d-4dccacc10cc00"
Accept-Ranges: bytes
Content-Length: 1181
Content-Type: text/plain

HTTP/1.1 200 OK
Date: Thu, 18 Jun 2015 18:14:44 GMT
Server: Apache/2.4.12 (Unix)
Last-Modified: Thu, 16 May 2013 00:17:52 GMT
ETag: "86a-4dccacc10cc00"
Accept-Ranges: bytes
Content-Length: 2154
Content-Type: application/x-bzip2

HTTP/1.1 200 OK
Date: Thu, 18 Jun 2015 18:14:45 GMT
Server: Apache/2.4.12 (Unix)
Last-Modified: Mon, 04 Nov 2013 02:40:40 GMT
ETag: "34d-4ea50d7769a00"
Accept-Ranges: bytes
Content-Length: 845
Content-Type: text/plain

HTTP/1.1 200 OK
Date: Thu, 18 Jun 2015 18:14:45 GMT
Server: Apache/2.4.12 (Unix)
Last-Modified: Mon, 04 Nov 2013 02:40:40 GMT
ETag: "375-4ea50d7769a00"
Accept-Ranges: bytes
Content-Length: 885
Content-Type: application/x-bzip2

19:13:14 PackageKit State:
0 refresh-cache /1_bddcdcde state[running] exclusive[1] background[0]

19:13:14 PackageKit 1 are running
[Thread 0x7ffff4f71700 (LWP 4680) exited]
19:13:24 PackageKit State:
0 refresh-cache /1_bddcdcde state[running] exclusive[1] background[0]

19:13:24 PackageKit 1 are running
19:13:34 PackageKit State:
0 refresh-cache /1_bddcdcde state[running] exclusive[1] background[0]

19:13:34 PackageKit 1 are running
19:13:44 PackageKit State:
0 refresh-cache /1_bddcdcde state[running] exclusive[1] background[0]

19:13:44 PackageKit 1 are running
19:13:54 PackageKit State:
0 refresh-cache /1_bddcdcde state[running] exclusive[1] background[0]

19:13:54 PackageKit 1 are running
19:14:04 PackageKit State:
0 refresh-cache /1_bddcdcde state[running] exclusive[1] background[0]

19:14:04 PackageKit 1 are running
19:14:14 PackageKit State:
0 refresh-cache /1_bddcdcde state[running] exclusive[1] background[0]

19:14:14 PackageKit 1 are running

(packagekitd:4614): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
19:14:20 PackageKit directory dropline found in /tmp/PackageKit.UTZU0X, deleting
19:14:20 PackageKit file found in /tmp/PackageKit.UTZU0X/dropline, deleting
19:14:20 PackageKit directory slackware found in /tmp/PackageKit.UTZU0X, deleting
19:14:20 PackageKit file found in /tmp/PackageKit.UTZU0X/slackware, deleting
19:14:20 PackageKit file found in /tmp/PackageKit.UTZU0X/slackware, deleting
19:14:20 PackageKit file found in /tmp/PackageKit.UTZU0X/slackware, deleting
19:14:20 PackageKit file found in /tmp/PackageKit.UTZU0X/slackware, deleting
19:14:20 PackageKit file found in /tmp/PackageKit.UTZU0X/slackware, deleting
19:14:20 PackageKit file found in /tmp/PackageKit.UTZU0X/slackware, deleting
19:14:20 PackageKit emitting allow-cancel 1
[Thread 0x7fffeca3a700 (LWP 4682) exited]
19:14:20 PackageKit backend was running for 77882 ms
19:14:20 PackageKit emitting finished 'success', 77882
19:14:20 PackageKit transaction now finished
19:14:20 PackageKit 1 transactions in list, 0 committed but not finished
19:14:20 PackageKit emitting updates-changed
19:14:20 PackageKit emitting UpdatesChanged
19:14:26 PackageKit transaction /1_bddcdcde completed, removing
19:14:26 PackageKit emitting destroy /1_bddcdcde
19:14:40 PackageKit CreateTransaction method called
19:14:40 PackageKit job count now 2
[New Thread 0x7fffeca3a700 (LWP 4694)]
19:14:40 PackageKit trying to open database '/var/lib/PackageKit/transactions.db'
19:14:40 PackageKit job count is now at 0
19:14:40 PackageKit transaction now new
19:14:40 PackageKit setting sender to :1.82
[New Thread 0x7ffff4f71700 (LWP 4695)]
19:14:40 PackageKit adding transaction 0x5555558532c0
19:14:40 PackageKit sending object path: '/2_bbceeaeb'
19:14:40 PackageKit notify::connected
19:14:40 PackageKit SetHints method called: locale=en_US.UTF-8, background=false, interactive=true, cache-age=4294967295
19:14:40 PackageKit locale changed to en_US.UTF-8
19:14:40 PackageKit cache-age changed to -1
19:14:40 PackageKit Resolve method called: 2424840, dropline
19:14:40 PackageKit transaction now ready
19:14:40 PackageKit changing transaction to exclusive mode
19:14:40 PackageKit 1 transactions in list, 1 committed but not finished
19:14:40 PackageKit transaction now running
19:14:40 PackageKit Failed to get session for :1.82: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '4686'
19:14:40 PackageKit failed to set the session state (non-fatal): failed to get the session
19:14:40 PackageKit setting role for /2_bbceeaeb to resolve
[New Thread 0x7fffed23b700 (LWP 4696)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffed23b700 (LWP 4696)]
0x00007ffff600154e in g_strreverse () from /usr/lib64/../lib64/libglib-2.0.so.0
(gdb) bt
#0 0x00007ffff600154e in g_strreverse () from /usr/lib64/../lib64/libglib-2.0.so.0
#1 0x00007fffee5a44df in katja_cut_pkg (pkg_filename=pkg_filename@entry=0x7fffe8022cd0 "google-talkplugin_current_x86_64") at katja-utils.c:81
#2 0x00007fffee5a4643 in katja_pkg_is_installed (pkg_full_name=0x55555588f060 "dropline-3.14.2-noarch-1dl") at katja-utils.c:126
#3 0x00007fffee59fcf6 in pk_backend_resolve_thread (job=0x55555586c770, params=, user_data=) at pk-backend-katja.c:394
#4 0x00005555555742da in pk_backend_job_thread_setup (thread_data=0x55555584e4f0) at pk-backend-job.c:815
#5 0x00007ffff6008f95 in ?? () from /usr/lib64/../lib64/libglib-2.0.so.0
#6 0x00007ffff5d86ce2 in start_thread () from /lib64/libpthread.so.0
#7 0x00007ffff5aaf8cd in clone () from /lib64/libc.so.6

(gdb) n
Single stepping until exit from function g_strreverse,
which has no line number information.
[Thread 0x7fffed23b700 (LWP 4696) exited]
[Thread 0x7ffff4f71700 (LWP 4695) exited]
[Thread 0x7fffeca3a700 (LWP 4694) exited]
[Thread 0x7ffff5772700 (LWP 4618) exited]
[Thread 0x7ffff7fb4740 (LWP 4614) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb)

error: void function 'pk_backend_repo_list_changed' should not return a value

I get this error when compiling PackageKit with clang. A simple patch to fix the problem:

diff --git a/src/pk-backend.c b/src/pk-backend.c
index 665a860..78191c1 100644
--- a/src/pk-backend.c
+++ b/src/pk-backend.c
@@ -641,8 +641,8 @@ pk_backend_repo_list_changed (PkBackend *backend)
 #ifdef PK_BUILD_DAEMON
        _cleanup_object_unref_ PkNotify *notify = NULL;

-       g_return_val_if_fail (PK_IS_BACKEND (backend), FALSE);
-       g_return_val_if_fail (backend->priv->loaded, FALSE);
+       g_return_if_fail (PK_IS_BACKEND (backend));
+       g_return_if_fail (backend->priv->loaded);

        notify = pk_notify_new ();
        pk_notify_repo_list_changed (notify);

Paralellization of "read" operations

I know that alpm backend does not support paralellization but when testing some code before pushing, I ran in something strange. I launched a pkcon update and then launched gnome-software. As you can see in the screenshot, the backend is busy on the update task so it can't perform the read tasks required by Software. I think same behavior happens with every backend that does not support paralellization.

I also notice that it also happens when installing an app and while it's not finished going to other application pages. I only get an empty page with loader image.

What could be improved here to easly support parallel read operations ? Maybe we could have a intermediate level of paralellization that allow clients to do some operations in parallel ?

capture d ecran de 2015-03-19 23 00 01

cc @hughsie

PackageKit-command-not-found always fails on remote sessions

  • SSH into a computer
  • Type the name of a command that doesn't exist
  • Watch command-not-found fail:
$ vim
bash: vim: command not found...
Install package 'vim-enhanced' to provide command 'vim'? [N/y] y


 * Waiting in queue... 
 * Loading list of packages.... 
The following packages have to be installed:
 vim-common-2:7.4.827-1.fc23.x86_64 The common files needed by any version of the VIM editor
 vim-filesystem-2:7.4.827-1.fc23.x86_64 VIM filesystem layout
Proceed with changes? [N/y] y


 * Waiting in queue... 
 * Waiting for authentication... Failed to install packages: Failed to obtain authentication.

It should have prompted me to authenticate.

Katja backend segmentation fault.

Hi, in the PackageKit 1.0.3 and 1.0.5 versions I get a segmentation fault when doing a pkcon install dropline .

It seems that the offending piece of code is g_strreverse() used in katja-utils.c at line 79.

See the debug and verbose output of the packagekitd:

rc@rclaptop:$ su -
Password:
root@rclaptop:
# pkcon refresh force
Refreshing cache [=========================]
Waiting for authentication [=========================]
Downloading lists of changes [=========================]
Downloading repository information[=========================]
Refreshing software list [=========================]
Finished [=========================]
root@rclaptop:~# pkcon install dropline
Resolving

Here is the log on another terminal.

root@rclaptop:# killall packagekitd
packagekitd: no process found
root@rclaptop:
# /usr/libexec/packagekitd --verbose --backend=katja
16:30:57 PackageKit Verbose debugging enabled (on console 1)
16:30:57 PackageKit daemon shutdown set to 0 seconds
16:30:57 PackageKit clearing download cache at /var/cache/PackageKit/downloads
16:30:57 PackageKit destination eth0 is valid
16:30:57 PackageKit setting config file watch on /etc/PackageKit/PackageKit.conf
16:30:57 PackageKit Trying to load : katja
16:30:57 PackageKit dlopening '/usr/lib64/packagekit-backend/libpk_backend_katja.so'
16:30:57 PackageKit trying to open database '/var/lib/PackageKit/transactions.db'
16:30:57 PackageKit job count is now at 0
16:30:57 PackageKit is_default: 1
16:30:57 PackageKit network state is wired
16:30:57 PackageKit emitting network-state-changed: wired
16:30:57 PackageKit PkEngine: acquired name: org.freedesktop.PackageKit
16:31:25 PackageKit CreateTransaction method called
16:31:25 PackageKit job count now 1
16:31:25 PackageKit trying to open database '/var/lib/PackageKit/transactions.db'
16:31:25 PackageKit job count is now at 0
16:31:25 PackageKit transaction now new
16:31:25 PackageKit setting sender to :1.108
16:31:25 PackageKit adding transaction 0x7f224d1eb240
16:31:25 PackageKit sending object path: '/1_cadbeddd'
16:31:25 PackageKit notify::connected
16:31:25 PackageKit SetHints method called: locale=en_US.UTF-8, background=false, interactive=true, cache-age=4294967295
16:31:25 PackageKit RefreshCache method called: 1
16:31:25 PackageKit transaction now waiting-for-auth
16:31:25 PackageKit authorizing action org.freedesktop.packagekit.system-sources-refresh
16:31:25 PackageKit transaction now ready
16:31:25 PackageKit changing transaction to exclusive mode
16:31:25 PackageKit 1 transactions in list, 1 committed but not finished
16:31:25 PackageKit transaction now running
16:31:25 PackageKit locale changed to en_US.UTF-8
16:31:25 PackageKit cache-age changed to -1
16:31:25 PackageKit Failed to get session for :1.108: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '3631'
16:31:25 PackageKit failed to set the session state (non-fatal): failed to get the session
16:31:25 PackageKit setting role for /1_cadbeddd to refresh-cache
16:31:27 PackageKit State:
0 refresh-cache /1_cadbeddd state[running] exclusive[1] background[0]

16:31:27 PackageKit 1 are running
HTTP/1.1 200 OK
Date: Thu, 05 Mar 2015 15:32:58 GMT
Server: Apache
Last-Modified: Tue, 03 Mar 2015 20:41:40 GMT
ETag: "ba18-510685c9d2900"
Accept-Ranges: bytes
Content-Length: 47640
Content-Type: text/plain

HTTP/1.1 302 Found
Date: Thu, 05 Mar 2015 15:32:59 GMT
Server: Apache/2.4.10 (Unix)
X-MirrorBrain-Mirror: muzzy
X-MirrorBrain-Realm: country
Link: http://mirrors.slackware.com/slackware/slackware64-14.1/patches/PACKAGES.TXT.meta4; rel=describedby; type="application/metalink4+xml"
Link: http://slackware.muzzy.it/slackware64-14.1/patches/PACKAGES.TXT; rel=duplicate; pri=1; geo=it
Link: http://www.slackware.at/data/slackware64-14.1/patches/PACKAGES.TXT; rel=duplicate; pri=2; geo=at
Link: http://mirror.slackware.hr/slackware/slackware64-14.1/patches/PACKAGES.TXT; rel=duplicate; pri=3; geo=hr
Link: http://mirror.netcologne.de/slackware/slackware64-14.1/patches/PACKAGES.TXT; rel=duplicate; pri=4; geo=de
Link: http://ftp5.gwdg.de/pub/linux/slackware/slackware64-14.1/patches/PACKAGES.TXT; rel=duplicate; pri=5; geo=de
Digest: MD5=DZKkxnVSnZgXWYPyg91ENw==
Digest: SHA=ldtAfGcjns695+LITr0S4vwrHQY=
Digest: SHA-256=wLJam31iasdG8zs1O0h+v1gThjLHMQuroTgo+TbijQs=
Location: http://slackware.muzzy.it/slackware64-14.1/patches/PACKAGES.TXT
Content-Type: text/html; charset=iso-8859-1

HTTP/1.1 200 OK
Date: Thu, 05 Mar 2015 15:32:59 GMT
Server: Apache
Last-Modified: Thu, 26 Feb 2015 01:16:40 GMT
ETag: "27200d4-9e9e-50ff3810aee00"
Accept-Ranges: bytes
Content-Length: 40606
Vary: Accept-Encoding
Content-Type: text/plain

HTTP/1.1 302 Found
Date: Thu, 05 Mar 2015 15:33:00 GMT
Server: Apache/2.4.10 (Unix)
X-MirrorBrain-Mirror: muzzy
X-MirrorBrain-Realm: country
Link: http://mirrors.slackware.com/slackware/slackware64-14.1/patches/MANIFEST.bz2.meta4; rel=describedby; type="application/metalink4+xml"
Link: http://slackware.muzzy.it/slackware64-14.1/patches/MANIFEST.bz2; rel=duplicate; pri=1; geo=it
Link: http://www.slackware.at/data/slackware64-14.1/patches/MANIFEST.bz2; rel=duplicate; pri=2; geo=at
Link: http://mirror.slackware.hr/slackware/slackware64-14.1/patches/MANIFEST.bz2; rel=duplicate; pri=3; geo=hr
Link: http://mirror.netcologne.de/slackware/slackware64-14.1/patches/MANIFEST.bz2; rel=duplicate; pri=4; geo=de
Link: http://ftp5.gwdg.de/pub/linux/slackware/slackware64-14.1/patches/MANIFEST.bz2; rel=duplicate; pri=5; geo=de
Digest: MD5=mOV/KZDW5rXsgAP3VYPg+g==
Digest: SHA=vaMvAYiEz8sXcg9yeUiKjCDj29U=
Digest: SHA-256=DdXhf9I+C2niMDjU45r5QVm8iBf7BIAIw+pEvN5HUbE=
Location: http://slackware.muzzy.it/slackware64-14.1/patches/MANIFEST.bz2
Content-Type: text/html; charset=iso-8859-1

HTTP/1.1 200 OK
Date: Thu, 05 Mar 2015 15:33:00 GMT
Server: Apache
Last-Modified: Thu, 26 Feb 2015 01:16:34 GMT
ETag: "27200ed-3fd2f4-50ff380af6080"
Accept-Ranges: bytes
Content-Length: 4182772
Content-Type: application/x-bzip2

HTTP/1.1 302 Found
Date: Thu, 05 Mar 2015 15:33:00 GMT
Server: Apache/2.4.10 (Unix)
X-MirrorBrain-Mirror: muzzy
X-MirrorBrain-Realm: country
Link: http://mirrors.slackware.com/slackware/slackware64-14.1/slackware64/PACKAGES.TXT.meta4; rel=describedby; type="application/metalink4+xml"
Link: http://slackware.muzzy.it/slackware64-14.1/PACKAGES.TXT; rel=duplicate; pri=1; geo=it
Link: http://www.slackware.at/data/slackware64-14.1/PACKAGES.TXT; rel=duplicate; pri=2; geo=at
Link: http://mirror.slackware.hr/slackware/slackware64-14.1/PACKAGES.TXT; rel=duplicate; pri=3; geo=hr
Link: http://mirror.netcologne.de/slackware/slackware64-14.1/PACKAGES.TXT; rel=duplicate; pri=4; geo=de
Link: http://ftp5.gwdg.de/pub/linux/slackware/slackware64-14.1/PACKAGES.TXT; rel=duplicate; pri=5; geo=de
Digest: MD5=uRbTnYrVDOv7D9bP4yBhXw==
Digest: SHA=u+oad+o9bFRnmLWX/kUo+xei2ng=
Digest: SHA-256=R18j25g3PxC2bf5JeAaI3D3o5E9nzDdX66LMW6CmpfM=
Location: http://slackware.muzzy.it/slackware64-14.1/PACKAGES.TXT
Content-Type: text/html; charset=iso-8859-1

HTTP/1.1 200 OK
Date: Thu, 05 Mar 2015 15:33:00 GMT
Server: Apache
Last-Modified: Sun, 03 Nov 2013 06:19:37 GMT
ETag: "181c58-a2411-4ea3fc8a5f040"
Accept-Ranges: bytes
Content-Length: 664593
Vary: Accept-Encoding
Content-Type: text/plain

HTTP/1.1 302 Found
Date: Thu, 05 Mar 2015 15:33:00 GMT
Server: Apache/2.4.10 (Unix)
X-MirrorBrain-Mirror: muzzy
X-MirrorBrain-Realm: country
Link: http://mirrors.slackware.com/slackware/slackware64-14.1/slackware64/MANIFEST.bz2.meta4; rel=describedby; type="application/metalink4+xml"
Link: http://slackware.muzzy.it/slackware64-14.1/slackware64/MANIFEST.bz2; rel=duplicate; pri=1; geo=it
Link: http://www.slackware.at/data/slackware64-14.1/slackware64/MANIFEST.bz2; rel=duplicate; pri=2; geo=at
Link: http://mirror.slackware.hr/slackware/slackware64-14.1/slackware64/MANIFEST.bz2; rel=duplicate; pri=3; geo=hr
Link: http://mirror.netcologne.de/slackware/slackware64-14.1/slackware64/MANIFEST.bz2; rel=duplicate; pri=4; geo=de
Link: http://ftp5.gwdg.de/pub/linux/slackware/slackware64-14.1/slackware64/MANIFEST.bz2; rel=duplicate; pri=5; geo=de
Digest: MD5=STC75EM6k4xau50rRUvi4Q==
Digest: SHA=ZOOkKq58vC6h9wqft/jyVS6mKxY=
Digest: SHA-256=Vqs2OjQweenSPvQKIW4pfZBJkEhXBfsJjdcZV+eQil8=
Location: http://slackware.muzzy.it/slackware64-14.1/slackware64/MANIFEST.bz2
Content-Type: text/html; charset=iso-8859-1

HTTP/1.1 200 OK
Date: Thu, 05 Mar 2015 15:33:00 GMT
Server: Apache
Last-Modified: Sun, 03 Nov 2013 06:19:05 GMT
ETag: "2720173-2b94bc-4ea3fc6bda840"
Accept-Ranges: bytes
Content-Length: 2856124
Content-Type: application/x-bzip2

HTTP/1.1 302 Found
Date: Thu, 05 Mar 2015 15:33:00 GMT
Server: Apache/2.4.10 (Unix)
X-MirrorBrain-Mirror: muzzy
X-MirrorBrain-Realm: country
Link: http://mirrors.slackware.com/slackware/slackware64-14.1/extra/PACKAGES.TXT.meta4; rel=describedby; type="application/metalink4+xml"
Link: http://slackware.muzzy.it/slackware64-14.1/extra/PACKAGES.TXT; rel=duplicate; pri=1; geo=it
Link: http://www.slackware.at/data/slackware64-14.1/extra/PACKAGES.TXT; rel=duplicate; pri=2; geo=at
Link: http://mirror.slackware.hr/slackware/slackware64-14.1/extra/PACKAGES.TXT; rel=duplicate; pri=3; geo=hr
Link: http://mirror.netcologne.de/slackware/slackware64-14.1/extra/PACKAGES.TXT; rel=duplicate; pri=4; geo=de
Link: http://ftp5.gwdg.de/pub/linux/slackware/slackware64-14.1/extra/PACKAGES.TXT; rel=duplicate; pri=5; geo=de
Digest: MD5=LuCSbQdKT/Y3I7Wf9mRvjA==
Digest: SHA=2TM9HybiHYmD0Yy43UVRe1My34s=
Digest: SHA-256=P86R2Lqlct0Z25RAcBqPtk3TQu+1bdv6FMNtO3INyCc=
Location: http://slackware.muzzy.it/slackware64-14.1/extra/PACKAGES.TXT
Content-Type: text/html; charset=iso-8859-1

HTTP/1.1 200 OK
Date: Thu, 05 Mar 2015 15:33:00 GMT
Server: Apache
Last-Modified: Mon, 21 Oct 2013 07:36:20 GMT
ETag: "1c11f3-7bd7-4e93b57124500"
Accept-Ranges: bytes
Content-Length: 31703
Vary: Accept-Encoding
Content-Type: text/plain

HTTP/1.1 302 Found
Date: Thu, 05 Mar 2015 15:33:00 GMT
Server: Apache/2.4.10 (Unix)
X-MirrorBrain-Mirror: muzzy
X-MirrorBrain-Realm: country
Link: http://mirrors.slackware.com/slackware/slackware64-14.1/extra/MANIFEST.bz2.meta4; rel=describedby; type="application/metalink4+xml"
Link: http://slackware.muzzy.it/slackware64-14.1/extra/MANIFEST.bz2; rel=duplicate; pri=1; geo=it
Link: http://www.slackware.at/data/slackware64-14.1/extra/MANIFEST.bz2; rel=duplicate; pri=2; geo=at
Link: http://mirror.slackware.hr/slackware/slackware64-14.1/extra/MANIFEST.bz2; rel=duplicate; pri=3; geo=hr
Link: http://mirror.netcologne.de/slackware/slackware64-14.1/extra/MANIFEST.bz2; rel=duplicate; pri=4; geo=de
Link: http://ftp5.gwdg.de/pub/linux/slackware/slackware64-14.1/extra/MANIFEST.bz2; rel=duplicate; pri=5; geo=de
Digest: MD5=eLkzww8D6JHQeemB8RgdDw==
Digest: SHA=68c7V1P9+6PSokaOPmwcGO24Aig=
Digest: SHA-256=5NplT1ne5C6ryDNnZgfubkCrFWm/AuAqO2rFH1JrxuE=
Location: http://slackware.muzzy.it/slackware64-14.1/extra/MANIFEST.bz2
Content-Type: text/html; charset=iso-8859-1

HTTP/1.1 200 OK
Date: Thu, 05 Mar 2015 15:33:01 GMT
Server: Apache
Last-Modified: Mon, 21 Oct 2013 07:36:18 GMT
ETag: "1c11f2-163e9-4e93b56f3c080"
Accept-Ranges: bytes
Content-Length: 91113
Content-Type: application/x-bzip2

HTTP/1.1 200 OK
Date: Thu, 05 Mar 2015 15:33:01 GMT
Server: Apache/2.4.10 (Unix)
Last-Modified: Thu, 16 May 2013 00:17:52 GMT
ETag: "49d-4dccacc10cc00"
Accept-Ranges: bytes
Content-Length: 1181
Content-Type: text/plain

HTTP/1.1 200 OK
Date: Thu, 05 Mar 2015 15:33:01 GMT
Server: Apache/2.4.10 (Unix)
Last-Modified: Thu, 16 May 2013 00:17:52 GMT
ETag: "86a-4dccacc10cc00"
Accept-Ranges: bytes
Content-Length: 2154
Content-Type: application/x-bzip2

HTTP/1.1 200 OK
Date: Thu, 05 Mar 2015 15:33:01 GMT
Server: Apache/2.4.10 (Unix)
Last-Modified: Mon, 04 Nov 2013 02:40:40 GMT
ETag: "34d-4ea50d7769a00"
Accept-Ranges: bytes
Content-Length: 845
Content-Type: text/plain

HTTP/1.1 200 OK
Date: Thu, 05 Mar 2015 15:33:01 GMT
Server: Apache/2.4.10 (Unix)
Last-Modified: Mon, 04 Nov 2013 02:40:40 GMT
ETag: "375-4ea50d7769a00"
Accept-Ranges: bytes
Content-Length: 885
Content-Type: application/x-bzip2

16:31:37 PackageKit State:
0 refresh-cache /1_cadbeddd state[running] exclusive[1] background[0]

16:31:37 PackageKit 1 are running
16:31:47 PackageKit State:
0 refresh-cache /1_cadbeddd state[running] exclusive[1] background[0]

16:31:47 PackageKit 1 are running
16:31:57 PackageKit State:
0 refresh-cache /1_cadbeddd state[running] exclusive[1] background[0]

16:31:57 PackageKit 1 are running
16:32:07 PackageKit State:
0 refresh-cache /1_cadbeddd state[running] exclusive[1] background[0]

16:32:07 PackageKit 1 are running

(packagekitd:3528): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
16:32:12 PackageKit directory dropline found in /tmp/PackageKit.QBA6UX, deleting
16:32:12 PackageKit file found in /tmp/PackageKit.QBA6UX/dropline, deleting
16:32:12 PackageKit directory slackware found in /tmp/PackageKit.QBA6UX, deleting
16:32:12 PackageKit file found in /tmp/PackageKit.QBA6UX/slackware, deleting
16:32:12 PackageKit file found in /tmp/PackageKit.QBA6UX/slackware, deleting
16:32:12 PackageKit file found in /tmp/PackageKit.QBA6UX/slackware, deleting
16:32:12 PackageKit file found in /tmp/PackageKit.QBA6UX/slackware, deleting
16:32:12 PackageKit file found in /tmp/PackageKit.QBA6UX/slackware, deleting
16:32:12 PackageKit file found in /tmp/PackageKit.QBA6UX/slackware, deleting
16:32:12 PackageKit backend was running for 47270 ms
16:32:12 PackageKit emitting finished 'success', 47270
16:32:12 PackageKit transaction now finished
16:32:12 PackageKit 1 transactions in list, 0 committed but not finished
16:32:12 PackageKit emitting updates-changed
16:32:12 PackageKit emitting updates-changed
16:32:17 PackageKit transaction /1_cadbeddd completed, removing
16:32:17 PackageKit emitting destroy /1_cadbeddd
16:32:31 PackageKit CreateTransaction method called
16:32:31 PackageKit job count now 2
16:32:31 PackageKit trying to open database '/var/lib/PackageKit/transactions.db'
16:32:31 PackageKit job count is now at 0
16:32:31 PackageKit transaction now new
16:32:31 PackageKit setting sender to :1.110
16:32:31 PackageKit adding transaction 0x7f224d1eb3e0
16:32:31 PackageKit sending object path: '/2_eedeedae'
16:32:31 PackageKit notify::connected
16:32:31 PackageKit SetHints method called: locale=en_US.UTF-8, background=false, interactive=true, cache-age=4294967295
16:32:31 PackageKit Resolve method called: 2424840, dropline
16:32:31 PackageKit transaction now ready
16:32:31 PackageKit changing transaction to exclusive mode
16:32:31 PackageKit 1 transactions in list, 1 committed but not finished
16:32:31 PackageKit transaction now running
16:32:31 PackageKit locale changed to en_US.UTF-8
16:32:31 PackageKit cache-age changed to -1
16:32:31 PackageKit Failed to get session for :1.110: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '3643'
16:32:31 PackageKit failed to set the session state (non-fatal): failed to get the session
16:32:31 PackageKit setting role for /2_eedeedae to resolve
Segmentation fault
root@rclaptop:~#

Here is the output when run in gdb:

16:51:09 PackageKit SetHints method called: locale=en_US.UTF-8, background=false, interactive=true, cache-age=4294967295
16:51:09 PackageKit Resolve method called: 2424840, dropline
16:51:09 PackageKit transaction now ready
16:51:09 PackageKit changing transaction to exclusive mode
16:51:09 PackageKit 1 transactions in list, 1 committed but not finished
16:51:09 PackageKit transaction now running
16:51:09 PackageKit locale changed to en_US.UTF-8
16:51:09 PackageKit cache-age changed to -1
16:51:09 PackageKit Failed to get session for :1.118: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '3947'
16:51:09 PackageKit failed to set the session state (non-fatal): failed to get the session
16:51:09 PackageKit setting role for /2_deddeecd to resolve
[New Thread 0x7fffec834700 (LWP 3957)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffec834700 (LWP 3957)]
0x00007ffff600154e in g_strreverse () from /usr/lib64/../lib64/libglib-2.0.so.0
(gdb) bt
#0 0x00007ffff600154e in g_strreverse () from /usr/lib64/../lib64/libglib-2.0.so.0
#1 0x00007fffee5a44df in katja_cut_pkg () from /usr/lib64/packagekit-backend/libpk_backend_katja.so
#2 0x00007fffee5a4643 in katja_pkg_is_installed () from /usr/lib64/packagekit-backend/libpk_backend_katja.so
#3 0x00007fffee59fcf6 in ?? () from /usr/lib64/packagekit-backend/libpk_backend_katja.so
#4 0x00005555555735ba in ?? ()
#5 0x00007ffff0004000 in ?? ()
#6 0x00007ffff6008f95 in ?? () from /usr/lib64/../lib64/libglib-2.0.so.0
#7 0x00007ffff5d86ce2 in start_thread () from /lib64/libpthread.so.0
#8 0x00007ffff5aaf8cd in clone () from /lib64/libc.so.6

(gdb) n
Single stepping until exit from function g_strreverse,
which has no line number information.
[Thread 0x7fffec834700 (LWP 3957) exited]
[Thread 0x7fffed23b700 (LWP 3955) exited]
[Thread 0x7fffeefa8700 (LWP 3815) exited]
[Thread 0x7ffff5772700 (LWP 3813) exited]
[Thread 0x7ffff7fb4740 (LWP 3809) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb)

I will see if I can build it also with -g option enabled and include more debug symbols.

hif: cannot install Deja Dup

I'm testing Fedora 21 Release Candidate 5, with PackageKit 1.0.3-2.fc21. I can't install Deja Dup with GNOME Software. 'pkcon search deja-dup' returns no results. 'yum search deja-dup' finds the package with no troubles.

alpm: can not install updates

After the update to libalpm 9.0.0 / pacman 4.2.0 installing updates with packagekit fails.

gnome-packagekit lists the available updates, pressing "Install updates" makes packagekit work for some time, then it returns with the same available updates. No packages have been upated.

Even pkcon behaves strange:

root@08-00-27-f1-27-24 ~ # pkcon get-details nftables
Resolving                     [=========================]         
Getting details               [=========================]         
Finished                      [=========================]         
Package description
  package:     nftables-1:0.4-2.x86_64
  summary:     (null)
  license:     GPL2
  group:       other
  description: Netfilter tables userspace tools
  size:        328704 bytes
  url:         http://netfilter.org/projects/nftables/
root@08-00-27-f1-27-24 ~ # pkcon update nftables
Resolving                     [                         ] (0%)  Command failed: This tool could not find the package: nftables: could not find or read package

Use libproxy

By integrating libproxy into PackageKit in a global way, we will be able to remove lot of duplicate code about proxy configuration into each backend.

This issue is for tracking the faisability of libproxy integration and study how it can be done.

For now I'm lacking informations about how proxy configuration works in general way. I think @DimStar77 could help us as he hacked a little on libproxy.

[pkcon] ignores blocked flag on packages

For testing purpose I added sudo to to IgnorePkg in pacman.conf (so backend in alpm, but I do not think this matters).

Getting the update status works, updates are listed, sudo is marked blocked:

root@08-00-27-f1-27-24 ~ # pkcon get-updates   
Getting updates               [=========================]         
Starting                      [=========================]         
Downloading list of packages  [=========================]         
Finished                      [=========================]         
Normal          pacman-mirrorlist-20150719-1.any (core)                         Arch Linux mirror list for use by pacman
Blocked         sudo-1.8.14.p1-1.x86_64 (core)                                  Give certain users the ability to run some commands as root
Normal          xfdesktop-4.12.3-1.x86_64 (extra)                               A desktop manager for Xfce

However the package is installed nevertheless:

root@08-00-27-f1-27-24 ~ # pkcon update
Getting updates               [=========================]         
Finished                      [=========================]         
Downloading list of packages  [=========================]         
Finished                      [=========================]         
Updating packages             [=========================]         
Downloading packages          [=========================]         
Checking signatures           [=========================]         
Installing updates            [=========================]         
Finished                      [=========================]         
root@08-00-27-f1-27-24 ~ # pkcon get-updates
Getting updates               [=========================]         
Downloading list of packages  [=========================]         
Finished                      [=========================]         
There are no updates available at this time.

gnome-packagekit handles this correctly, gnome-software installs blocked packages as well.

Not sure if the client should handle blocked packages or if libpackagekit-glib is to blame.

Return information about installed package origin

In GNOME Software "Software sources", we can see the Arch Linux repositories. As you can notice in the screenshot, there is no information about apps installed from each repos.

This is not easy to fix because libalpm don't record the package origin when installed. A lookup through syncdb is possible, but if a package is available from multiple repos, I will not be able to display the right repos.

An other problem is that the core repository does not provide applications, so an user can disable this repos and thus upgrades will be inconsistent and system may be unusable.

Software Sources

IMHO a possible solution would be to record the info in libalpm. I don't know yet if it's possible but I will ask.

In case it's possible, what it the use case for manually installed applications (i.e. pacman -U some-application-1.0-x86_64.pkg.tar.xz) ?

What happen if a repos was disabled outside of gnome-software ?

An other stupid question, does disabling a software source should disable it system wide ?

cc @hughsie for the last 3 questions :)

alpm: simulation install packages

I don't have bijiben installed on my system. By running pkcon install bijiben and answering No to abort the package installation, the package is installed anyway. As a first thought I think simulation installed the package.

Katja: Package installation order

It should be possible to set the installation priority for the packages (for example based on the order of the packages in the index file), since some packages have to be installed before other ones.

packagekit dbus api returns resolve signals in triplicate

Strangely, packagekit seems to reply to the resolve method in triplicate!
Strangely, packagekit seems to reply to the resolve method in triplicate!
Strangely, packagekit seems to reply to the resolve method in triplicate!

okay, maybe my joke above isn't funny, but this is the case. If I resolve for ['powertop', 'sl'], I get signal output:

[1 sl;5.02-2.fc23;x86_64;installed:@commandline Joke command for when you type 'sl' instead of 'ls']
[1 sl;5.02-2.fc23;x86_64;installed:@commandline Joke command for when you type 'sl' instead of 'ls']
[1 sl;5.02-2.fc23;x86_64;installed:@commandline Joke command for when you type 'sl' instead of 'ls']
[2 powertop;2.8-1.fc23;x86_64;updates Power consumption monitor]
[2 powertop;2.8-1.fc23;x86_64;updates Power consumption monitor]
[2 powertop;2.8-1.fc23;x86_64;updates Power consumption monitor]
[2 powertop;2.7-6.fc23;x86_64;fedora Power consumption monitor]
[2 powertop;2.7-6.fc23;x86_64;fedora Power consumption monitor]
[2 powertop;2.7-6.fc23;x86_64;fedora Power consumption monitor]
Finished
Finished
Finished

It's not particularly disastrous because I can just discard duplicates, but still can be an issue nonetheless. I'm doing this with golang and the godbus library. I can provide reproducing code if it's not obvious what the issue is to the upstream.

Cheers

zypp: Please add support for the APPLICATION filter

The application filter is a way of filtering the update and installed lists to just packages that contain a /usr/share/applications/*.desktop file in the file list and is crucial to making GetPackages() to work in anything like an acceptable time for a GUI client.

Systemd updates are not working on Arch Linux

On an Arch Linux desktop, systemd offline updates don't work.

Informations from Jan de Groot :

Updating system either from gnome-software, gnome-packagekit or logout of GNOME will boot your system into a disabled target. Even when you enable that target so it will boot into system update results into an update process stuck at 0%.

I'm looking for informations about how systemd updates works, then I will setup a VM and then I will start debugging this.

hif: RFE: Implement dependency querying (pk_backend_depends_on, pk_backend_required_by)

Apper can show this information if the backend provides it. (E.g., the old yum backend provided it.)

The recursive case is fairly complicated (does anybody actually use that?), but the non-recursive versions should be enough for Apper. There, I would just expect a full unfiltered list of what amounts to repoquery --requires foo resp. repoquery --whatrequires --alldeps foo. The first is just a hy_package_get_requires. For the second, we need a hy_query_filter_reldep_in(…, HY_PKG_REQUIRES, hy_package_get_provides(…)).

[RFE] add plugin to handle texlive packages

[brain@x1carbon ~]$ sudo dnf install "tex(minted.sty)"
Dependencies resolved.
================================================================================
 Package             Arch        Version                     Repository    Size
================================================================================
Installing:
 texlive-minted      noarch      4:svn24002.1.7-4.fc22       rawhide       25 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 25 k
Installed size: 8.2 k
Is this ok [y/N]: 

[brain@x1carbon ~]$ pkcon install "tex(minted.sty)"
Resolving                     [=========================]         Package not
found: tex(minted.sty)
Command failed: This tool could not find any available package: No packages
were found

For GNOME Builder we're thinking to install LaTeX packages via PK, but we can't do it now. Probably this bug should go to libhif, but I'm not sure.

zypp: FTBFS when using '-Wall -Werror=format-security' in CFLAGS & CXXFLAGS

I attempted to build PackageKit with the zypp backend on Fedora 23 with libzypp 15.21.1, and it failed to compile.

The error output below is what happened when compiling the zypp backend code:

[  317s] Making all in zypp
[  317s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/PackageKit-1.0.11/backends/zypp'
[  317s] /bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../lib -DPK_COMPILATION -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -Wno-deprecated   --std=c++0x -Wall -Woverloaded-virtual -Wnon-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c -o libpk_backend_zypp_la-pk-backend-zypp.lo `test -f 'pk-backend-zypp.cpp' || echo './'`pk-backend-zypp.cpp
[  317s] libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../lib -DPK_COMPILATION -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-deprecated --std=c++0x -Wall -Woverloaded-virtual -Wnon-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c pk-backend-zypp.cpp  -fPIC -DPIC -o .libs/libpk_backend_zypp_la-pk-backend-zypp.o
[  322s] pk-backend-zypp.cpp: In member function 'virtual zypp::target::rpm::InstallResolvableReport::Action ZyppBackend::InstallResolvableReportReceiver::problem(zypp::Resolvable::constPtr, zypp::target::rpm::InstallResolvableReport::Error, const string&, zypp::target::rpm::InstallResolvableReport::RpmLevel)':
[  322s] pk-backend-zypp.cpp:279:97: error: format not a string literal and no format arguments [-Werror=format-security]
[  322s]    pk_backend_job_error_code (_job, PK_ERROR_ENUM_PACKAGE_FAILED_TO_INSTALL, description.c_str ());
[  322s]                                                                                                  ^
[  322s] pk-backend-zypp.cpp: In member function 'virtual zypp::target::rpm::RemoveResolvableReport::Action ZyppBackend::RemoveResolvableReportReceiver::problem(zypp::Resolvable::constPtr, zypp::target::rpm::RemoveResolvableReport::Error, const string&)':
[  322s] pk-backend-zypp.cpp:314:114: error: format not a string literal and no format arguments [-Werror=format-security]
[  322s]                  pk_backend_job_error_code (_job, PK_ERROR_ENUM_CANNOT_REMOVE_SYSTEM_PACKAGE, description.c_str ());
[  322s]                                                                                                                   ^
[  322s] pk-backend-zypp.cpp: In member function 'virtual zypp::media::MediaChangeReport::Action ZyppBackend::MediaChangeReportReceiver::requestMedia(zypp::Url&, unsigned int, const string&, zypp::media::MediaChangeReport::Error, const string&, const std::vector<std::__cxx11::basic_string<char> >&, unsigned int&)':
[  322s] pk-backend-zypp.cpp:413:90: error: format not a string literal and no format arguments [-Werror=format-security]
[  322s]    pk_backend_job_error_code (_job, PK_ERROR_ENUM_REPO_NOT_AVAILABLE, description.c_str ());
[  322s]                                                                                           ^
[  322s] pk-backend-zypp.cpp: In member function 'zypp::ZYpp::Ptr ZyppJob::get_zypp()':
[  322s] pk-backend-zypp.cpp:603:111: error: format not a string literal and no format arguments [-Werror=format-security]
[  322s]    pk_backend_job_error_code (priv->currentJob, PK_ERROR_ENUM_FAILED_INITIALIZATION, ex.asUserString().c_str() );
[  322s]                                                                                                                ^
[  322s] pk-backend-zypp.cpp:606:104: error: format not a string literal and no format arguments [-Werror=format-security]
[  322s]    pk_backend_job_error_code (priv->currentJob, PK_ERROR_ENUM_INTERNAL_ERROR, ex.asUserString().c_str() );
[  322s]                                                                                                         ^
[  322s] pk-backend-zypp.cpp: In function 'zypp::RepoInfo zypp_get_Repository(PkBackendJob*, const gchar*)':
[  322s] pk-backend-zypp.cpp:972:91: error: format not a string literal and no format arguments [-Werror=format-security]
[  322s]    pk_backend_job_error_code (job, PK_ERROR_ENUM_REPO_NOT_FOUND, ex.asUserString().c_str() );
[  322s]                                                                                            ^
[  323s] pk-backend-zypp.cpp: In function 'gboolean zypp_perform_execution(PkBackendJob*, zypp::ZYpp::Ptr, PerformType, gboolean, PkBitfield)':
[  323s] pk-backend-zypp.cpp:1430:77: error: format not a string literal and no format arguments [-Werror=format-security]
[  323s]     pk_backend_job_error_code (job, PK_ERROR_ENUM_DEP_RESOLUTION_FAILED, emsg);
[  323s]                                                                              ^
[  323s] pk-backend-zypp.cpp:1557:91: error: format not a string literal and no format arguments [-Werror=format-security]
[  323s]    pk_backend_job_error_code (job, PK_ERROR_ENUM_REPO_NOT_FOUND, ex.asUserString().c_str() );
[  323s]                                                                                            ^
[  323s] pk-backend-zypp.cpp:1559:101: error: format not a string literal and no format arguments [-Werror=format-security]
[  323s]    pk_backend_job_error_code (job, PK_ERROR_ENUM_PACKAGE_DOWNLOAD_FAILED, ex.asUserString().c_str () );
[  323s]                                                                                                      ^
[  323s] pk-backend-zypp.cpp:1561:91: error: format not a string literal and no format arguments [-Werror=format-security]
[  323s]    pk_backend_job_error_code (job, PK_ERROR_ENUM_INTERNAL_ERROR, ex.asUserString().c_str() );
[  323s]                                                                                            ^
[  323s] pk-backend-zypp.cpp: In function 'gboolean zypp_refresh_cache(PkBackendJob*, zypp::ZYpp::Ptr, gboolean)':
[  323s] pk-backend-zypp.cpp:1620:90: error: format not a string literal and no format arguments [-Werror=format-security]
[  323s]    pk_backend_job_error_code (job, PK_ERROR_ENUM_REPO_NOT_FOUND, e.asUserString().c_str() );
[  323s]                                                                                           ^
[  323s] pk-backend-zypp.cpp:1670:25: error: format not a string literal and no format arguments [-Werror=format-security]
[  323s]    g_printf(repo_messages);
[  323s]                          ^
[  323s] pk-backend-zypp.cpp: In function 'void backend_install_files_thread(PkBackendJob*, GVariant*, gpointer)':
[  323s] pk-backend-zypp.cpp:2393:91: error: format not a string literal and no format arguments [-Werror=format-security]
[  323s]    pk_backend_job_error_code (job, PK_ERROR_ENUM_REPO_NOT_FOUND, ex.asUserString().c_str() );
[  323s]                                                                                            ^
[  323s] pk-backend-zypp.cpp: In function 'void backend_repo_set_data_thread(PkBackendJob*, GVariant*, gpointer)':
[  323s] pk-backend-zypp.cpp:3328:88: error: format not a string literal and no format arguments [-Werror=format-security]
[  323s]    pk_backend_job_error_code (job, PK_ERROR_ENUM_INTERNAL_ERROR, ex.asString ().c_str ());
[  323s]                                                                                         ^
[  334s] cc1plus: some warnings being treated as errors
[  334s] Makefile:588: recipe for target 'libpk_backend_zypp_la-pk-backend-zypp.lo' failed
[  334s] make[3]: *** [libpk_backend_zypp_la-pk-backend-zypp.lo] Error 1
[  334s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/PackageKit-1.0.11/backends/zypp'
[  334s] Makefile:510: recipe for target 'all-recursive' failed
[  334s] make[2]: *** [all-recursive] Error 1
[  334s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/PackageKit-1.0.11/backends'
[  334s] Makefile:599: recipe for target 'all-recursive' failed
[  334s] make[1]: *** [all-recursive] Error 1
[  334s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/PackageKit-1.0.11'
[  334s] Makefile:531: recipe for target 'all' failed
[  334s] make: *** [all] Error 2
[  334s] error: Bad exit status from /var/tmp/rpm-tmp.Ip7w3M (%build)

Here's the complete build log for PackageKit with zypp for Fedora 23, along with the project on OBS where it is being built.

Packagkit Python Backend Fix Suggestion

Hi, We are using packagekit python backed in blackPanther, but we meet with a little problem. Example Apper does not provide args[3] and threfoe packagekit backend is crashed . This is a suggestion to fix this problem:

|--- backend.py.orig 2015-06-12 22:44:16.000000000 +0200
|+++ backend.py 2015-07-31 12:35:41.000000000 +0200
|@@ -626,7 +626,11 @@
| transaction_flags = args[0].split(';')
| package_ids = args[1].split(PACKAGE_IDS_DELIM)
| allowdeps = _text_to_bool(args[2])
|- autoremove = _text_to_bool(args[3])
|+ autoremove = False
|+ try:
|+ autoremove = _text_to_bool(args[3])
|+ except:
|+ pass
| self.remove_packages(transaction_flags, package_ids, allowdeps, autoremove)
| self.finished()
| elif cmd == 'repo-enable':

Sorry if my English too poor

alpm: install reason not set

When installing a package with packagekit the install reason is not set.

  • Install package package with packagekit
  • pacman -Qdt will list package
  • pacman -D --asexplicit package will set install reason to explicit

hif: RFE: In the update details, include the old version that is being updated or obsoleted

Apper can show this information if the backend provides it. (E.g., the old yum backend provided it.)

It makes a difference whether a hypothetical foo-2.0.0-2.fc23 package is an update to, e.g., foo-2.0.0-1.fc23 or foo-1.0.0-1.fc23. (In the former case, it is likely to be a small update; in the latter case, you will want to treat it much more carefully.) The information is even more important in the case of Obsoletes.

error: conditional "HAVE_SYSTEMD" was never defined.

I got this error when configuring PackageKit:
configure: error: conditional "HAVE_SYSTEMD" was never defined. Usually this means the macro was only invoked conditionally

It seems the commit 8eb4725 breaks the build.
I used this simple patch to fix the problem.

diff --git a/configure.ac b/configure.ac
index 85b6d4e..c3d15c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -250,9 +250,8 @@ if test x$enable_systemd = xyes; then
                    [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
        AC_DEFINE(HAVE_SYSTEMD,1,[Build systemd code])
        AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
-
-       AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir"])
 fi
+AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir" && test x$enable_systemd = xyes])

 dnl ---------------------------------------------------------------------------
 dnl - Generate man pages ? (default enabled)

Add support for cache_age

The cache age is a job property that tells the backed when to get new metadata, so if we send a GetUpdates() with a cache_age of 1 week, and the metadata is only 5 days old, we return the cached results without downloading new metadata. This is needed to make the gnome packagekit and gnome software UI's to appear without a spinner showing for minutes on end.

alpm: pacman updates are not tracked

From Jan de Groot :

System updates by pacman are not tracked, after running pacman –Syu packageKit will not see that updates are already installed

From kalev :

the plan is to set up a file monitor on the package database file and use it to remove the prepared updates if anything external touches the database

The alpm local database is a directory tree. Here is the structure :

/var/lib/pacman/local/
├── aalib-1.4rc5-10
│   ├── desc
│   ├── files
│   ├── install
│   └── mtree
├── accountsservice-0.6.38-1
│   ├── desc
│   ├── files
│   └── mtree
├── acl-2.2.52-2
│   ├── desc
│   ├── files
│   └── mtree
├── alsa-lib-1.0.28-1
│   ├── desc
│   ├── files
│   └── mtree
├── alsa-plugins-1.0.28-2
│   ├── desc
...

Watching the /var/lib/pacman/local/ directory for changes should be enough.

As this will be implemented in the backend code, I'm waiting for the Hif implementation and then will do the alpm one.

Ignore selected packages in the index file

We should have also an option of "origrestore" in the index field (or ignore since the package from the index file would be just ignored and a slackware package would be used instead of it). This would permit to reinstall the original package supplied from Slackware in case of an upgrade. Since it is something as local, for a single repository, obsolete package, "obsolete" field can be used for this.

[command-not-found] [kdbus] nothing returns in terminal if kdbus is used

$ sudo busctl monitor packagekit.service
Monitoring bus message stream.
‣ Type=signal  Endian=l  Flags=1  Version=2  Priority=0 Cookie=-1
  Sender=org.freedesktop.DBus  Path=/org/freedesktop/DBus  Interface=org.freedesktop.DBus  Member=NameOwnerChanged
  Monotonic=36239544480  Realtime=1438756860420701  SequenceNumber=165447
  UniqueName=org.freedesktop.DBus  WellKnownNames=org.freedesktop.DBus
  MESSAGE "sss" {
          STRING ":1.165446";
          STRING "";
          STRING ":1.165446";
  };

‣ Type=method_call  Endian=l  Flags=0  Version=2  Priority=0 Cookie=7
  Sender=:1.165446  Destination=:1.1881  Path=/org/freedesktop/PackageKit  Interface=org.freedesktop.DBus.Properties  Member=GetAll
  Monotonic=36239548943  Realtime=1438756860425164  SequenceNumber=165448
  Description=sd_2dproxy
  UniqueName=:1.165446  WellKnownNames=
  MESSAGE "s" {
          STRING "org.freedesktop.PackageKit";
  };

‣ Type=method_return  Endian=l  Flags=1  Version=2  Priority=0 Cookie=618  ReplyCookie=7
  Sender=:1.1881  Destination=:1.165446
  Monotonic=36239549930  Realtime=1438756860426150  SequenceNumber=165449
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "a{sv}" {
          ARRAY "{sv}" {
                  DICT_ENTRY "sv" {
                          STRING "VersionMajor";
                          VARIANT "u" {
                                  UINT32 1;
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "VersionMinor";
                          VARIANT "u" {
                                  UINT32 0;
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "VersionMicro";
                          VARIANT "u" {
                                  UINT32 7;
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "BackendName";
                          VARIANT "s" {
                                  STRING "hif";
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "BackendDescription";
                          VARIANT "s" {
                                  STRING "Hif";
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "BackendAuthor";
                          VARIANT "s" {
                                  STRING "Richard Hughes <[email protected]>";
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "Roles";
                          VARIANT "t" {
                                  UINT64 8370777978;
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "Groups";
                          VARIANT "t" {
                                  UINT64 21958950888;
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "Filters";
                          VARIANT "t" {
                                  UINT64 85196884;
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "MimeTypes";
                          VARIANT "as" {
                                  ARRAY "s" {
                                          STRING "application/x-rpm";
                                  };
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "Locked";
                          VARIANT "b" {
                                  BOOLEAN false;
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "NetworkState";
                          VARIANT "u" {
                                  UINT32 4;
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "DistroId";
                          VARIANT "s" {
                                  STRING "fedora;24;x86_64";
                          };
                  };
          };
  };

‣ Type=method_call  Endian=l  Flags=0  Version=2  Priority=0 Cookie=8
  Sender=:1.165446  Destination=:1.1881  Path=/org/freedesktop/PackageKit  Interface=org.freedesktop.PackageKit  Member=CreateTransaction
  Monotonic=36239551109  Realtime=1438756860427329  SequenceNumber=165450
  Description=sd_2dproxy
  UniqueName=:1.165446  WellKnownNames=
  MESSAGE "" {
  };

‣ Type=method_return  Endian=l  Flags=1  Version=2  Priority=0 Cookie=620  ReplyCookie=8
  Sender=:1.1881  Destination=:1.165446
  Monotonic=36239553469  Realtime=1438756860429690  SequenceNumber=165451
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "o" {
          OBJECT_PATH "/3282_beacaeea";
  };

‣ Type=method_call  Endian=l  Flags=0  Version=2  Priority=0 Cookie=13
  Sender=:1.165446  Destination=:1.1881  Path=/3282_beacaeea  Interface=org.freedesktop.DBus.Properties  Member=GetAll
  Monotonic=36239555025  Realtime=1438756860431246  SequenceNumber=165452
  Description=sd_2dproxy
  UniqueName=:1.165446  WellKnownNames=
  MESSAGE "s" {
          STRING "org.freedesktop.PackageKit.Transaction";
  };

‣ Type=method_return  Endian=l  Flags=1  Version=2  Priority=0 Cookie=625  ReplyCookie=13
  Sender=:1.1881  Destination=:1.165446
  Monotonic=36239557596  Realtime=1438756860433817  SequenceNumber=165453
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "a{sv}" {
          ARRAY "{sv}" {
                  DICT_ENTRY "sv" {
                          STRING "Role";
                          VARIANT "u" {
                                  UINT32 0;
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "Status";
                          VARIANT "u" {
                                  UINT32 1;
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "LastPackage";
                          VARIANT "s" {
                                  STRING "";
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "Uid";
                          VARIANT "u" {
                                  UINT32 1000;
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "Percentage";
                          VARIANT "u" {
                                  UINT32 101;
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "AllowCancel";
                          VARIANT "b" {
                                  BOOLEAN true;
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "CallerActive";
                          VARIANT "b" {
                                  BOOLEAN true;
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "ElapsedTime";
                          VARIANT "u" {
                                  UINT32 0;
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "Speed";
                          VARIANT "u" {
                                  UINT32 0;
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "DownloadSizeRemaining";
                          VARIANT "t" {
                                  UINT64 0;
                          };
                  };
                  DICT_ENTRY "sv" {
                          STRING "TransactionFlags";
                          VARIANT "t" {
                                  UINT64 0;
                          };
                  };
          };
  };

‣ Type=method_call  Endian=l  Flags=0  Version=2  Priority=0 Cookie=14
  Sender=:1.165446  Destination=:1.1881  Path=/3282_beacaeea  Interface=org.freedesktop.PackageKit.Transaction  Member=SetHints
  Monotonic=36239558319  Realtime=1438756860434540  SequenceNumber=165454
  Description=sd_2dproxy
  UniqueName=:1.165446  WellKnownNames=
  MESSAGE "as" {
          ARRAY "s" {
                  STRING "locale=en_US.utf8";
                  STRING "background=false";
                  STRING "interactive=false";
                  STRING "cache-age=4294967295";
          };
  };

‣ Type=method_return  Endian=l  Flags=1  Version=2  Priority=0 Cookie=626  ReplyCookie=14
  Sender=:1.1881  Destination=:1.165446
  Monotonic=36239558817  Realtime=1438756860435038  SequenceNumber=165455
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "" {
  };

‣ Type=method_call  Endian=l  Flags=0  Version=2  Priority=0 Cookie=15
  Sender=:1.165446  Destination=:1.1881  Path=/3282_beacaeea  Interface=org.freedesktop.PackageKit.Transaction  Member=SearchFiles
  Monotonic=36239559318  Realtime=1438756860435539  SequenceNumber=165456
  Description=sd_2dproxy
  UniqueName=:1.165446  WellKnownNames=
  MESSAGE "tas" {
          UINT64 327688;
          ARRAY "s" {
                  STRING "/usr/bin/xmonad";
                  STRING "/usr/sbin/xmonad";
                  STRING "/bin/xmonad";
                  STRING "/sbin/xmonad";
          };
  };

‣ Type=signal  Endian=l  Flags=1  Version=2  Priority=0 Cookie=627
  Sender=:1.1881  Path=/3282_beacaeea  Interface=org.freedesktop.DBus.Properties  Member=PropertiesChanged
  Monotonic=36239559928  Realtime=1438756860436149  SequenceNumber=165457
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "sa{sv}as" {
          STRING "org.freedesktop.PackageKit.Transaction";
          ARRAY "{sv}" {
                  DICT_ENTRY "sv" {
                          STRING "Role";
                          VARIANT "u" {
                                  UINT32 19;
                          };
                  };
          };
          ARRAY "s" {
          };
  };

‣ Type=signal  Endian=l  Flags=1  Version=2  Priority=0 Cookie=628
  Sender=:1.1881  Path=/org/freedesktop/PackageKit  Interface=org.freedesktop.PackageKit  Member=TransactionListChanged
  Monotonic=36239561327  Realtime=1438756860437548  SequenceNumber=165458
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "as" {
          ARRAY "s" {
                  STRING "/3282_beacaeea";
          };
  };

‣ Type=signal  Endian=l  Flags=1  Version=2  Priority=0 Cookie=629
  Sender=:1.1881  Path=/3282_beacaeea  Interface=org.freedesktop.DBus.Properties  Member=PropertiesChanged
  Monotonic=36239561816  Realtime=1438756860438037  SequenceNumber=165459
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "sa{sv}as" {
          STRING "org.freedesktop.PackageKit.Transaction";
          ARRAY "{sv}" {
                  DICT_ENTRY "sv" {
                          STRING "Percentage";
                          VARIANT "u" {
                                  UINT32 101;
                          };
                  };
          };
          ARRAY "s" {
          };
  };

‣ Type=signal  Endian=l  Flags=1  Version=2  Priority=0 Cookie=630
  Sender=:1.1881  Path=/3282_beacaeea  Interface=org.freedesktop.DBus.Properties  Member=PropertiesChanged
  Monotonic=36239562025  Realtime=1438756860438246  SequenceNumber=165460
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "sa{sv}as" {
          STRING "org.freedesktop.PackageKit.Transaction";
          ARRAY "{sv}" {
                  DICT_ENTRY "sv" {
                          STRING "ElapsedTime";
                          VARIANT "u" {
                                  UINT32 0;
                          };
                  };
          };
          ARRAY "s" {
          };
  };

‣ Type=signal  Endian=l  Flags=1  Version=2  Priority=0 Cookie=631
  Sender=:1.1881  Path=/3282_beacaeea  Interface=org.freedesktop.DBus.Properties  Member=PropertiesChanged
  Monotonic=36239562224  Realtime=1438756860438444  SequenceNumber=165461
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "sa{sv}as" {
          STRING "org.freedesktop.PackageKit.Transaction";
          ARRAY "{sv}" {
                  DICT_ENTRY "sv" {
                          STRING "RemainingTime";
                          VARIANT "u" {
                                  UINT32 0;
                          };
                  };
          };
          ARRAY "s" {
          };
  };

‣ Type=method_return  Endian=l  Flags=1  Version=2  Priority=0 Cookie=632  ReplyCookie=15
  Sender=:1.1881  Destination=:1.165446
  Monotonic=36239562382  Realtime=1438756860438603  SequenceNumber=165462
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "" {
  };

‣ Type=signal  Endian=l  Flags=1  Version=2  Priority=0 Cookie=633
  Sender=:1.1881  Path=/3282_beacaeea  Interface=org.freedesktop.DBus.Properties  Member=PropertiesChanged
  Monotonic=36239562456  Realtime=1438756860438677  SequenceNumber=165463
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "sa{sv}as" {
          STRING "org.freedesktop.PackageKit.Transaction";
          ARRAY "{sv}" {
                  DICT_ENTRY "sv" {
                          STRING "Status";
                          VARIANT "u" {
                                  UINT32 2;
                          };
                  };
          };
          ARRAY "s" {
          };
  };

‣ Type=signal  Endian=l  Flags=1  Version=2  Priority=0 Cookie=635
  Sender=:1.1881  Path=/3282_beacaeea  Interface=org.freedesktop.DBus.Properties  Member=PropertiesChanged
  Monotonic=36239566625  Realtime=1438756860442846  SequenceNumber=165464
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "sa{sv}as" {
          STRING "org.freedesktop.PackageKit.Transaction";
          ARRAY "{sv}" {
                  DICT_ENTRY "sv" {
                          STRING "Percentage";
                          VARIANT "u" {
                                  UINT32 39;
                          };
                  };
          };
          ARRAY "s" {
          };
  };

‣ Type=signal  Endian=l  Flags=1  Version=2  Priority=0 Cookie=636
  Sender=:1.1881  Path=/3282_beacaeea  Interface=org.freedesktop.DBus.Properties  Member=PropertiesChanged
  Monotonic=36239697937  Realtime=1438756860574158  SequenceNumber=165465
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "sa{sv}as" {
          STRING "org.freedesktop.PackageKit.Transaction";
          ARRAY "{sv}" {
                  DICT_ENTRY "sv" {
                          STRING "Percentage";
                          VARIANT "u" {
                                  UINT32 89;
                          };
                  };
          };
          ARRAY "s" {
          };
  };

‣ Type=signal  Endian=l  Flags=1  Version=2  Priority=0 Cookie=637
  Sender=:1.1881  Path=/3282_beacaeea  Interface=org.freedesktop.DBus.Properties  Member=PropertiesChanged
  Monotonic=36239698342  Realtime=1438756860574563  SequenceNumber=165466
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "sa{sv}as" {
          STRING "org.freedesktop.PackageKit.Transaction";
          ARRAY "{sv}" {
                  DICT_ENTRY "sv" {
                          STRING "Percentage";
                          VARIANT "u" {
                                  UINT32 90;
                          };
                  };
          };
          ARRAY "s" {
          };
  };

‣ Type=signal  Endian=l  Flags=1  Version=2  Priority=0 Cookie=638
  Sender=:1.1881  Path=/3282_beacaeea  Interface=org.freedesktop.DBus.Properties  Member=PropertiesChanged
  Monotonic=36239698662  Realtime=1438756860574882  SequenceNumber=165467
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "sa{sv}as" {
          STRING "org.freedesktop.PackageKit.Transaction";
          ARRAY "{sv}" {
                  DICT_ENTRY "sv" {
                          STRING "Percentage";
                          VARIANT "u" {
                                  UINT32 91;
                          };
                  };
          };
          ARRAY "s" {
          };
  };

‣ Type=signal  Endian=l  Flags=1  Version=2  Priority=0 Cookie=639
  Sender=:1.1881  Path=/3282_beacaeea  Interface=org.freedesktop.DBus.Properties  Member=PropertiesChanged
  Monotonic=36239698932  Realtime=1438756860575153  SequenceNumber=165468
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "sa{sv}as" {
          STRING "org.freedesktop.PackageKit.Transaction";
          ARRAY "{sv}" {
                  DICT_ENTRY "sv" {
                          STRING "Percentage";
                          VARIANT "u" {
                                  UINT32 100;
                          };
                  };
          };
          ARRAY "s" {
          };
  };

‣ Type=signal  Endian=l  Flags=1  Version=2  Priority=0 Cookie=640
  Sender=:1.1881  Path=/3282_beacaeea  Interface=org.freedesktop.DBus.Properties  Member=PropertiesChanged
  Monotonic=36239699211  Realtime=1438756860575432  SequenceNumber=165469
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "sa{sv}as" {
          STRING "org.freedesktop.PackageKit.Transaction";
          ARRAY "{sv}" {
                  DICT_ENTRY "sv" {
                          STRING "Status";
                          VARIANT "u" {
                                  UINT32 18;
                          };
                  };
          };
          ARRAY "s" {
          };
  };

‣ Type=signal  Endian=l  Flags=1  Version=2  Priority=0 Cookie=641
  Sender=:1.1881  Path=/3282_beacaeea  Interface=org.freedesktop.PackageKit.Transaction  Member=Finished
  Monotonic=36239699695  Realtime=1438756860575916  SequenceNumber=165470
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "uu" {
          UINT32 1;
          UINT32 131;
  };

‣ Type=signal  Endian=l  Flags=1  Version=2  Priority=0 Cookie=642
  Sender=:1.1881  Path=/org/freedesktop/PackageKit  Interface=org.freedesktop.PackageKit  Member=TransactionListChanged
  Monotonic=36239699939  Realtime=1438756860576160  SequenceNumber=165471
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "as" {
          ARRAY "s" {
          };
  };

‣ Type=signal  Endian=l  Flags=1  Version=2  Priority=0 Cookie=-1
  Sender=org.freedesktop.DBus  Path=/org/freedesktop/DBus  Interface=org.freedesktop.DBus  Member=NameOwnerChanged
  Monotonic=36239701507  Realtime=1438756860577728  SequenceNumber=165472
  UniqueName=org.freedesktop.DBus  WellKnownNames=org.freedesktop.DBus
  MESSAGE "sss" {
          STRING ":1.165446";
          STRING ":1.165446";
          STRING "";
  };

‣ Type=signal  Endian=l  Flags=1  Version=2  Priority=0 Cookie=643
  Sender=:1.1881  Path=/3282_beacaeea  Interface=org.freedesktop.DBus.Properties  Member=PropertiesChanged
  Monotonic=36239703831  Realtime=1438756860580052  SequenceNumber=165473
  Description=sd_2dproxy
  UniqueName=:1.1881  WellKnownNames=org.freedesktop.PackageKit
  MESSAGE "sa{sv}as" {
          STRING "org.freedesktop.PackageKit.Transaction";
          ARRAY "{sv}" {
                  DICT_ENTRY "sv" {
                          STRING "CallerActive";
                          VARIANT "b" {
                                  BOOLEAN false;
                          };
                  };
          };
          ARRAY "s" {
          };
  };

PackageKit-1.0.7-2.fc24.x86_64
systemd-224-1.fc24.x86_64
kernel-4.2.0-0.rc5.git0.2.fc24.x86_64

Failed to ensure oddjob as source media not found

Dec 17 00:29:29 PC.localdomain realmd[19217]:  * Required files: /usr/sbin/ipa-client-install, /usr/sbin/oddjobd, /usr/libexec/oddjob/mkhomedir, /usr/sbin/sssd
Dec 17 00:29:29 PC.localdomain realmd[19217]:  * Required files: /usr/sbin/ipa-client-install, /usr/sbin/oddjobd, /usr/libexec/oddjob/mkhomedir, /usr/sbin/sssd
Dec 17 00:29:30 PC.localdomain realmd[19217]: PackageKit: emit transaction-list-changed
Dec 17 00:29:30 PC.localdomain realmd[19217]: PackageKit: remove state 0x7feaf418fa60
Dec 17 00:29:30 PC.localdomain realmd[19217]:  ! Failed to enroll machine in realm: Failed to ensure oddjob as source media not found (0 sources loaded)
Dec 17 00:29:30 PC.localdomain realmd[19217]:  ! Failed to enroll machine in realm: Failed to ensure oddjob as source media not found (0 sources loaded)
Dec 17 00:29:30 PC.localdomain realmd[19217]: released daemon: current-invocation

command-not-found: doesn't work with sudo

[brain@x1carbon ~]$ sudo iotop
sudo: iotop: command not found
[brain@x1carbon ~]$ iotop
bash: iotop: command not found...
Install package 'iotop' to provide command 'iotop'? [N/y] n

Check local files against running machine architecture?

Hi!

Is there a way for packagekit to check for running machine arch matching against files waiting to be installed arch?
Now pkcon just crashes:
"
LC_ALL=C pkcon install-local pulseaudio-7.0-2-i686.pkg.tar.xz
Installing files [=========================]
Testing changes [ == ] The daemon crashed mid-transaction!
"
(on archlinux x86_64)

Track syncdb for changes

Tracking /var/lib/pacman/sync for changes will improve synchronisation between packagekit and pacman.

alpm: SIGSEV when running get-files

When running pkcon get-files <package> the deamon is crashing.

Here is the gdb stack trace

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffeffff700 (LWP 19417)]
0x00007ffff6647b2a in strlen () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff6647b2a in strlen () from /usr/lib/libc.so.6
#1  0x00007ffff6beb7a3 in g_strdup (str=0x18a4c <error: Cannot access memory at address 0x18a4c>) at gstrfuncs.c:355
#2  0x00007ffff6bed0c5 in g_strdupv (str_array=0x7ffff0001900) at gstrfuncs.c:2464
#3  0x00007ffff6ec8ffc in boxed_proxy_collect_value (value=0x7fffefffec40, n_collect_values=<optimized out>, collect_values=<optimized out>, collect_flags=<optimized out>) at gboxed.c:244
#4  0x00007ffff6ed3309 in g_object_set_valist (object=0x7ffff0004560, first_property_name=0x555555592baa "files", var_args=0x7fffefffed08) at gobject.c:2148
#5  0x00007ffff6ed3bdf in g_object_set (_object=0x7ffff0004560, first_property_name=0x555555592970 "package-id") at gobject.c:2269
#6  0x0000555555579507 in pk_backend_job_files ()
#7  0x00007fffec67d232 in pk_backend_get_files_thread () from /home/fabien/Projets/jhbuild/install/lib/packagekit-backend/libpk_backend_alpm.so
#8  0x0000555555578046 in pk_backend_job_thread_setup ()
#9  0x00007ffff6bf3c25 in g_thread_proxy (data=0x555555848f70) at gthread.c:764
#10 0x00007ffff6970314 in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007ffff66ae24d in clone () from /usr/lib/libc.so.6

alpm: remove is broken

When removing packages, the daemon is crashing.

$ ./pkcon remove vlc
Resolving                     [=========================]         
Testing changes               [     ==                  ]         The daemon crashed mid-transaction!
(lt-packagekitd:5723): PackageKit-alpm-CRITICAL **: pk_alpm_transaction_remove_start: assertion 'pkg != NULL' failed

alpm: API change with pacman 5.x

With the upcoming release of pacman 5.x we have an API change with this commit:

commit 95121cc4f1b63fccaa27dfb567e5a2dfa628671e
Author: Andrew Gregory <[email protected]>
Date:   Sat Apr 26 11:53:47 2014 -0400

    conf.c: use masks for siglevel inheritance

    This will allow pacman to parse its config file in a single pass and
    removes the need for the *_SET siglevels in alpm that were only required
    for pacman's siglevel inheritance.

Compilation of alpm backend will break with missing ALPM_SIG_PACKAGE_SET and ALPM_SIG_PACKAGE_TRUST_SET from alpm_siglevel_t.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.