Richard Hughes | 12 Feb 21:06 2016
Picon

PackageKit 1.1.0 released!

Version 1.1.0
~~~~~~~~~~~~~~
Released: 2016-02-12

Backends:
 - alpm: Update for pacman 5.x API change (Christian Hesse)
 - alpm: Remove versioning support (Christian Hesse)
 - aptcc: Always append the repository name to the pkgid data (Matthias Klumpp)
 - aptcc: Always use "installed" as data when the pkg is installed
(Matthias Klumpp)
 - aptcc: Do not use deprecated API (Matthias Klumpp)
 - aptcc: Require C++11 support (Matthias Klumpp)
 - aptcc: Store "packagekit role='%s'" as the apt cmdline (Michael Vogt)
 - hif: Add support for UpgradeSystem (Kalev Lember)
 - hif: Don't store repos in global data (Kalev Lember)
 - hif: Factor out pk_backend_job_set_context (Kalev Lember)
 - hif: Factor out pk_backend_setup_hif_context() (Kalev Lember)
 - hif: Save cache files in versioned directories (Kalev Lember)
 - hif: Save release ver in sack cache hash key (Kalev Lember)
 - hif: Split out UpgradeSystem handling to a separate function (Kalev Lember)
 - hif: Store the currently used HifContext in job private data (Kalev Lember)
 - zypp: Avoid media access when testing for cd/dvd URL scheme (Michael Andres)
 - zypp: Fix build (Dominique Leuenberger)
 - zypp: Use libzypp's arch compatibility check (Thomas Perl)

New Features:
 - Add client side API for triggering offline system upgrades (Kalev Lember)
 - Add getters for PkProgress (Robert Ancell)
 - Add pk_get_distro_version_id (Kalev Lember)
 - Add system upgrade API to PkTask (Kalev Lember)
(Continue reading)

Akshay Takalkar | 12 Feb 17:23 2016
Picon

To know about Packagekit

I am Akshay Takalkar, your application is very cool and easy to understand. I am student and working on application devlopment in Gnome. I have devloped application in linux but it is not powerful and  error handler as your application. I also want to upload my application to gnome.

 I want to know  about your Packagekit software my questions are:

1) Which GUI application did you use for development?
2) Which programming language is been used?
3) What is "glue" file?
4) How did you launch your application in Gnome

_______________________________________________
PackageKit mailing list
PackageKit <at> lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/packagekit
Richard Hughes | 27 Nov 15:55 2015
Picon

PackageKit 1.0.11 released!

Version 1.0.11
~~~~~~~~~~~~~~
Released: 2015-11-27

Notes:
 - By popular demand, reintroduce the UpgradeSystem method (Richard Hughes)

Backends:
 - aptcc: Compile with APT 1.1 (Matthias Klumpp)
 - aptcc: Create really random temporary directories (Matthias Klumpp)
 - aptcc: Ensure proxy and frontend-socket aren't used if they are
NULL (Matthias Klumpp)
 - aptcc: Fix comment spelling mistakes (Robert Ancell)
 - aptcc: Fix formatting and kill some old cruft (Matthias Klumpp)
 - aptcc: Fix several compiler warnings (Matthias Klumpp)
 - aptcc: Make use of the new APT-internal method for fetching
changelogs (Matthias Klumpp)
 - aptcc: Remove dead code and make source filenames consistent
(Matthias Klumpp)
 - alpm: Make pk_alpm_pkg_build_list() more resiliant to failure
(Richard Hughes)
 - dummy: Implement simulating UpgradeSystem and respect the
transaction flags (Richard Hughes)
 - hif: Add support for HTTP proxy (Marek Marczykowski-Górecki)
 - hif: Improve RefreshCache progress updates (Kalev Lember)
 - portage: add helper to change portage settings (Gilles Dartiguelongue)
 - portage: cosmetics (Gilles Dartiguelongue)
 - portage: do not redefine builtin license (Gilles Dartiguelongue)
 - portage: do not refetch package listing for no reason (Gilles Dartiguelongue)
 - portage: drop unused imports (Gilles Dartiguelongue)
 - portage: enhance get_repo_list function (Gilles Dartiguelongue)
 - portage: fix a typo (Gilles Dartiguelongue)
 - portage: fix a typo in restoring license settings (Gilles Dartiguelongue)
 - portage: fix exception handling to be python2.7+ compatible (Gilles
Dartiguelongue)
 - portage: fix step percentage computation (Gilles Dartiguelongue)
 - portage: fix typo python backend detection (Gilles Dartiguelongue)
 - portage: initialize licenses variable (Gilles Dartiguelongue)
 - portage: remove compatibility with older portage (Gilles Dartiguelongue)
 - portage: remove useless instruction (Gilles Dartiguelongue)
 - portage: retrieve EAPI and KEYWORDS before calling setcpv method
(Gilles Dartiguelongue)
 - portage: simplify _get_cpv_slotted with collections module (Gilles
Dartiguelongue)
 - portage: simplify _get_metadata (Gilles Dartiguelongue)
 - portage: sort imports according to PEP8 (Gilles Dartiguelongue)
 - portage: update layman API usage to >=2 (Gilles Dartiguelongue)
 - portage: use PackageKitProgress to ease progress steps
manipulations (Gilles Dartiguelongue)
 - portage: use PackagekitProgress as an iterable (Gilles Dartiguelongue)
 - portage: use python idioms (Gilles Dartiguelongue)
 - python: make PackagekitProgress an Iterable (Gilles Dartiguelongue)
 - python: set steps on PackagekitProgress instanciation (Gilles Dartiguelongue)
 - zypp: Raise priority of ZYPP stack updates if a security patch is
shadowed (bsc#951592) (Michael Andres)

New Features:
 - Allow the use of variadic functions in vala (Corentin Noël)

Bugfixes:
 - Make pk_details_get_size documentation more specific (Aleix Pol)

Tarballs available here:
http://www.freedesktop.org/software/PackageKit/releases/

Richard
_______________________________________________
PackageKit mailing list
PackageKit <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/packagekit
郭云鹤 | 16 Oct 12:47 2015
Picon
Gravatar

One-click installation from XML file

Hi, I am developing a web service that provides free software package information. Since it is a web application, users cannot install the software. I think the "Install" button can be a download link to a special XML, which can be read by native package manager to install the package.

Can PackageKit have a feature to read '*.pkx' files:

<xml>
  <packages>
    <package>libreoffice</package>
    <package>libreoffice-base</package>
   
<package>gcc</package>
  </packages>
</xml>

openSUSE has implemented such a function to its YaST tool.

Thanks!

--
郭云鹤(Guo Yunhe)
http://guoyunhe.me/
_______________________________________________
PackageKit mailing list
PackageKit <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/packagekit
Marek Marczykowski-Górecki | 22 Sep 17:30 2015

Proxy setting for hif backend (Fedora 21, Fedora 22)

Hi,

How can I set HTTP proxy to be used by packagekit on Fedora? When the
backend was yum (Fedora 20), it just worked when set in yum
configuration (/etc/yum.conf). With change to backend hif (dnf, hawkey,
whatever the name is) it doesn't work anymore. I've tried:
 - setting proxy in dnf.conf (which works just fine for manual dnf
   calls)
 - setting http_proxy env before calling pkcon
 - setting ProxyHTTP in PackageKit.conf
 - calling org.freedesktop.Packagekit.SetProxy manually
Nothing from the above list works. Packagekit still tries to access
repositories directly (which fails because in this environment the only
internet access is through http proxy).

--

-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
PackageKit mailing list
PackageKit <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/packagekit
Arindam Choudhury | 22 Sep 17:13 2015

How to use RequireRestart

Hi,

I am trying to create a python script which will check if the system requires a restart due to packages update.

I found the RequireRestart class.

https://lazka.github.io/pgi-docs/PackageKitGlib-1.0/classes/RequireRestart.html

But I am unable to use it properly.

I tried https://gist.github.com/arindamchoudhury/3612d5ca2ec65ff5b617

but I am getting a blank list back. How should I do it? Is it possible to get RequireRestart or UpdateDetail from TransactionPast?

Thanks,
Arindam Choudhury




_______________________________________________
PackageKit mailing list
PackageKit <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/packagekit
Richard Hughes | 21 Sep 12:41 2015
Picon

PackageKit 1.0.10 released!

Version 1.0.10
~~~~~~~~~~~~~~
Released: 2015-09-21

Bugfixes:
 - Process the offline update triggered by older PK versions (Kalev Lember)
 - Use Glib for reading symlink to prevent crash with some compilers
(Kalev Lember)

Tarballs available here:
http://www.freedesktop.org/software/PackageKit/releases/

Richard
_______________________________________________
PackageKit mailing list
PackageKit <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/packagekit
Richard Hughes | 15 Sep 11:40 2015
Picon

PackageKit 1.0.9 released!

Version 1.0.9
~~~~~~~~~~~~~
Released: 2015-09-15

Backends:
 - aptcc: Don't assume time_t is same as long (Adam Borowski)

New Features:
 - Support g_autoptr() for all packagekit-glib2 object types (Kalev Lember)

Bugfixes:
 - Check the offline action trigger before performing the update
(Richard Hughes)
 - Fix two critical warnings (Richard Hughes)
 - Sdd PackageKitGlib-1.0.metadata to release tarball (Christian Hesse)
 - Fix a race with the backend job thread creation (Kalev Lember)

Tarballs available here:
http://www.freedesktop.org/software/PackageKit/releases/

Richard.
_______________________________________________
PackageKit mailing list
PackageKit <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/packagekit
Richard Hughes | 19 Aug 16:22 2015
Picon

PackageKit 1.0.8 released!

Version 1.0.8
~~~~~~~~~~~~~
Released: 2015-08-19

Backends:
 - hif: Record the UID of the session user in the yumdb (Richard Hughes)
 - urpmi: Add support for FILTER_ARCH (Thierry Vignaud)
 - urpmi: Enable newer filters by default (Thierry Vignaud)
 - urpmi: Implement install_files (Thierry Vignaud)
 - urpmi: Other distros have synced their urpm API with mga (Thierry Vignaud)
 - urpmi: Support the NOT filter variants too (Thierry Vignaud)
 - yum: Add support for GetDetailsLocal (Richard Hughes)
 - yum: Record the UID of the session user in the yumdb (Richard Hughes)

New Features:
 - Generate Vala bindings (Robert Ancell)

Bugfixes:
 - Correctly register enum properties (Robert Ancell)
 - Exit quietly if we didn't prepare the offline update (Will Woods)
 - Fix various docstring errors in the library (Robert Ancell)
 - Look for libsystemd now that journal/login are merged (Matthias Klumpp)

Tarballs available here:
http://www.freedesktop.org/software/PackageKit/releases/

Richard
_______________________________________________
PackageKit mailing list
PackageKit <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/packagekit
Patrick Schleizer | 7 Aug 01:18 2015

Debian apt-get 'all upgrades installed' hook?

Hi!

Would it be possible to use packagekit to provide an 'all upgrades
installed' hook?

In other words, can packagekit notice and react if a user has
successfully 'apt-get dist-upgrade'ed? I.e. when no more upgrades are
available for installation?

Or to accomplish that, would one have to run all "apt-get update" and
upgrades "apt-get dist-upgrade" through packagekit?

Cheers,
Patrick
_______________________________________________
PackageKit mailing list
PackageKit <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/packagekit
Richard Hughes | 13 Jul 13:43 2015
Picon

PackageKit 1.0.7 released!

Version 1.0.7
~~~~~~~~~~~~~
Released: 2015-07-13

Backends:
 - alpm: Set install reason to explicitly installed (Christian Hesse)
 - entropy: Fixed remove_package and search_details (skullbocks)
 - entropy: Removed messages and fixing remove function (skullbocks)
 - hif: Add missing locking when accessing sack cache (Kalev Lember)
 - hif: Improve depsolving for parallel kernel installs (Kalev Lember)
 - hif: Include any packages marked for installation when doing
upgrades (Kalev Lember)
 - portage: Removed messages and fixing remove function (skullbocks)
 - python/backend: Fixing parameter order (skullbocks)
 - urpm: Properly use is_package_installed() (Thierry Vignaud)
 - yum: Fix backtrace when getting the update details (Richard Hughes)
 - yum: Fix up two almost impossible-to-hit python warnings (Richard Hughes)
 - yum: Forward port to the new WhatProvides API (Richard Hughes)
 - yum: Return installed packages first with NEWEST filter (Kalev Lember)
 - yum: Update comps groups code for internal Details API change (Kalev Lember)

New Features:
 - Define command_not_found_handler for zsh (Will Thompson)

Bugfixes:
 - Correct punctuation while applying offline updates (Matthew Miller)
 - Don't run if bash command completion is being run (Ville Skyttä)
 - Fix Details() from spawned backends (Richard Hughes)
 - Port GTK+ module to org.freedesktop.PackageKit.Modify2 (Matthias Clasen)
 - Return the correct error for syntax errors in pkcon (Richard Hughes)
 - Return the correct error if nothing was done for repo-enable (Richard Hughes)

Tarballs available here:
http://www.freedesktop.org/software/PackageKit/releases/

Richard
_______________________________________________
PackageKit mailing list
PackageKit <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/packagekit

Gmane