Do PackageKit works?

In one of my FreeBSD machines, Gnome is my window manager. Everything is pretty ok but PackageKit.

The problem: PackageKit correctly show me the available updates in the Gnome Bar then if I click the icon to show me the packages, it load the contents fine and also print an error related to the fact it can retrieve the list of packages (thing he always did).

If I then click the option install updates it works for some moments and suddenly report an unespected problem. If I click on the Details link I can read:

Code:
The backend exited unexpectedly. This is a serious error as the spawned backend did not complete the pending transaction.

The program do not crash or do not exit, it simply print that message and do not update the system.

Is it a knows bug? Do PackageKit is expected to work under FreeBSD?
 
piggy said:
In one of my FreeBSD machines, Gnome is my window manager. Everything is pretty ok but PackageKit.

The problem: PackageKit correctly show me the available updates in the Gnome Bar then if I click the icon to show me the packages, it load the contents fine and also print an error related to the fact it can retrieve the list of packages (thing he always did).

If I then click the option install updates it works for some moments and suddenly report an unespected problem. If I click on the Details link I can read:

Code:
The backend exited unexpectedly. This is a serious error as the spawned backend did not complete the pending transaction.

The program do not crash or do not exit, it simply print that message and do not update the system.

Is it a knows bug? Do PackageKit is expected to work under FreeBSD?

You should try bxpkg (pkg_add -r bxpkg). Created to handle packages under Gnome and other gtk2 based environments.

Sources can be found in my signature.
 
expl said:
You should try bxpkg (pkg_add -r bxpkg). Created to handle packages under Gnome and other gtk2 based environments.

Sources can be found in my signature.
Hi and thankx for your reply. I did try your package, it won't compile even if my ports are totally up to date.

Code:
<piggy@bsdgnome>/usr/ports/ports-mgmt/bxpkg # sudo make install clean
Password:
===>  License check disabled, port has not defined LICENSE
=> 0.0.4_0.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://hg.bsdroot.lv/expl/bxpkg/archive/0.0.4_0.tar.bz2
fetch: http://hg.bsdroot.lv/expl/bxpkg/archive/0.0.4_0.tar.bz2: size unknown
fetch: http://hg.bsdroot.lv/expl/bxpkg/archive/0.0.4_0.tar.bz2: size of remote file is not known
0.0.4_0.tar.bz2                                        200 kB  120 kBps
===>  Extracting for bxpkg-0.0.4.0
=> SHA256 Checksum mismatch for 0.0.4_0.tar.bz2.
===>  Refetch for 1 more times files: 0.0.4_0.tar.bz2 
===>  License check disabled, port has not defined LICENSE
=> 0.0.4_0.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://hg.bsdroot.lv/expl/bxpkg/archive/0.0.4_0.tar.bz2
fetch: http://hg.bsdroot.lv/expl/bxpkg/archive/0.0.4_0.tar.bz2: size unknown
fetch: http://hg.bsdroot.lv/expl/bxpkg/archive/0.0.4_0.tar.bz2: size of remote file is not known
0.0.4_0.tar.bz2                                        200 kB   74 kBps
===>  License check disabled, port has not defined LICENSE
=> SHA256 Checksum mismatch for 0.0.4_0.tar.bz2.
===>  Giving up on fetching files: 0.0.4_0.tar.bz2 
Make sure the Makefile and distinfo file (/usr/ports/ports-mgmt/bxpkg/distinfo)
are up to date.  If you are absolutely sure you want to override this
check, type "make NO_CHECKSUM=yes [other args]".
*** Error code 1

Stop in /usr/ports/ports-mgmt/bxpkg.
*** Error code 1

BTW, I'm still be interested in my problem with PackageKit. Should it work under FreeBSD?
 
Ye I am aware of the checksum mismatch problem.. just install it from packages with # pkg_add -r bxpkg or build it from sources directly (for now). Regarding PackageKit, it's pretty much broken on FreeBSD, don't know if anyone is working on it from the FreeBSD Gnome team. You should ask that on their mailing list.

Edit:

If you persist using port, you can fix this by removing /usr/ports/ports-mgmt/bxpkg/distinfo
and then running # make makesum install

I already submitted a port fix PR.
 
Back
Top