Richard Hughes | 21 Oct 14:28 2014
Picon

PackageKit 1.0.1 released!

Version 1.0.1
~~~~~~~~~~~~~
Released: 2014-10-21

Backends:
 - alpm: Environment initialization refactoring (Fabien Bourigault)
 - alpm: Fix a few potential double-frees (Richard Hughes)
 - hif: Invalidate offline updates when the rpmdb changes (Kalev Lember)
 - urpmi: Implement filter_application (Thierry Vignaud)
 - urpmi: Implement filter_download (Thierry Vignaud)
 - zypp: Be more specific with the progress status messages (Dominique
Leuenberger)
 - zypp: Ensure to reach 100% on complete cache_refresh (Dominique Leuenberger)
 - zypp: Fix compiler warning (Dominique Leuenberger)

New Features:
 - Add a KeepCache config parameter (Richard Hughes)

Bugfixes:
 - Do not install the python helpers unless required (Richard Hughes)
 - Don't assume systemd is found if --with-systemdsystemunitdir is
passed (Matthias Klumpp)
 - Fall back to /usr/lib/os-release if /etc/os-release does not exist
(Richard Hughes)
 - Fix compile when the systemd headers are not located in
/usr/include (Richard Hughes)
 - Never allow cancelling a transaction twice (Richard Hughes)
 - Overwrite an existing link for packagekit-offline-update.service
(Dominique Leuenberger)

(Continue reading)

Sasa Ostrouska | 14 Oct 10:06 2014
Picon

PK on Slackware auto restores default packages

Hi !

I have a question but I'm not sure if this is the right place to ask. I'm using the PackageKit on gnome3 with Katja backend. Everything works as expected but the problem is that now its already the second time it restored the default packages on my slackware machine.

I'm working on the new gnome 3.14 desktop and the packages I have replaced to update them what gnome needs (Slackware 14.1 ships quite some old stuff in this moment for gnome 3.14). What happens is that without any command or any action it simply decides and reinstalls the replaced packages. This does not happen on a daily basis but it happened only one time right now on this new machine.

Question: Is there a way to make ask PK before it wants to do this automatic restoring of the system ?

If yes, how should I configure or what exactly runs this ?

Any help really appreciated.

Rgds
Saxa

<div><div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>Hi !<br><br>
</div>I have a question but I'm not sure if this is the right place to ask. I'm using the PackageKit on gnome3 with Katja backend. Everything works as expected but the problem is that now its already the second time it restored the default packages on my slackware machine.<br><br>
</div>I'm working on the new gnome 3.14 desktop and the packages I have replaced to update them what gnome needs (Slackware 14.1 ships quite some old stuff in this moment for gnome 3.14). What happens is that without any command or any action it simply decides and reinstalls the replaced packages. This does not happen on a daily basis but it happened only one time right now on this new machine.<br><br>
</div>Question: Is there a way to make ask PK before it wants to do this automatic restoring of the system ?<br><br>
</div>If yes, how should I configure or what exactly runs this ?<br><br>
</div>Any help really appreciated.<br><br>
</div>Rgds<br>
</div>Saxa<br><br>
</div></div>
gregory battaglia | 22 Mar 18:47 2014
Picon

GUI Functionality issues

  Hi:

I am a total newbie to almost everything Linux, having spent the last 11 years in Windows XP.
I have Fedora 18, which, as you may know, is now at EOL and so there's probably no new updates.
However, Software Install does show a lot of downloadable  stuff in its various categories.

But here's where it's functionality seems in question. For example, in Games, I highlighted this one game
package that Iwanted to delete called "Greyhounds..." by clicking the little box next to it to get the check
mark. Then I clicked on Remove Package. Then I clicked Apply Changes. Then I clicked Exit. But when I
went back to Software Install to verify the deletion, "Greyhounds..." was still listed. Why is this?

And what does the blue + over the box mean?

Please advise, but know that I can't do know how to read or write any coded expressions.
All I know is how to operate a GUI with mouse clicks. I realize this is blasphemy in the GNU
community, but I wish that Linux variants like Fedora with Gnome desktop were more GUI
and less

Thanks

Greg
<div><div dir="ltr">&nbsp; Hi:<br><br>I am a total newbie to almost everything Linux, having spent the last 11 years in Windows XP. <br>I have Fedora 18, which, as you may know, is now at EOL and so there's probably no new updates. <br>However, Software Install does show a lot of downloadable&nbsp; stuff in its various categories. <br><br>But here's where it's functionality seems in question. For example, in Games, I highlighted this one game<br>package that Iwanted to delete called "Greyhounds..." by clicking the little box next to it to get the check<br>mark. Then I clicked on Remove Package. Then I clicked Apply Changes. Then I clicked Exit. But when I<br>went back to Software Install to verify the deletion, "Greyhounds..." was still listed. Why is this?<br><br>And what does the blue + over the box mean?<br><br>Please advise, but know that I can't do know how to read or write any coded expressions. <br>All I know is how to operate a GUI with mouse clicks. I realize this is blasphemy in the GNU <br>community, but I wish that Linux variants like Fedora with Gnome desktop were more GUI<br>and less <br><br>Thanks<br><br>Greg<br>
</div></div>
Frédéric WANG | 29 Apr 23:02 2014
Picon

FontConfig iso15924 tag for autoinstallation via PackageKit

Dear FontConfig & PackageKit developers,

I've recently worked on automatic font installation in Gecko-based 
applications using PackageKit [1]. The current patch to add 
notifications for missing glyphs in Gecko relies on script tags as 
defined in iso15924 [2] [3]. So it would help if fontconfig & PackageKit 
would be able to handle some metadata for these script tags, for example 
:script=Khmr. Also, I'm interested in automatic installation of math 
fonts, so it would be important to support the code "Zmth=Mathematical 
notation" too.

Thanks,

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=467729
[2] http://www.unicode.org/iso15924/iso15924-codes.html
[3] https://bugzilla.mozilla.org/show_bug.cgi?id=619521

--

-- 
Frédéric Wang
MathML Crowdfunding: ulule.com/mathematics-ebooks
Richard Hughes | 10 Oct 17:13 2014
Picon

PackageKit-Qt 0.9.5 released!

Version 0.9.5
~~~~~~~~~~~~~
Released: 2014-10-10

New Features:
 - Add operator== to bitfield (Daniel Nicoletti)

Bugfixes:
 - Deprecate ::packageIcon methods (Aleix Pol)
 - Disable namespacing and classes names on the generated interfaces
(Daniel Nicoletti)
 - Don't assume the target is packagekitqt5 (Aleix Pol)
 - Fix compilation due to not-set cmake variable (Matthias Klumpp)
 - Fix documentation (Aleix Pol)
 - Fix QPK include dir in cmake module (Matthias Klumpp)
 - Properly export cmake targets (Aleix Pol)
 - Remove daemon proxy conection to changed() (Daniel Nicoletti)
 - Remove RoleUpgradeSystem as it's not supported in 0.9.x anymore
(Daniel Nicoletti)
 - Remove the metatype registration for Transaction types (Daniel Nicoletti)
 - Support RPATH by default (Aleix Pol)
 - Use GNUInstallDirs to determine most of used variables (Hrvoje Senjan)
 - Use "PackageKit" as the include namespace rather than the library
name (Aleix Pol)

Tarballs available here: http://www.packagekit.org/releases/

Richard.
Kevin Kofler | 14 Sep 17:40 2014
Picon

hif backend: keepcache

Hi,

are we setting hif_context_set_keep_cache from a config file anywhere? (I 
could not find it anywhere in the code.) We really should (unless we default 
it to TRUE), especially considering that Fedora mirrors do not carry older 
updates and thus the local cache is the ONLY way to find older versions of 
packages to downgrade to (except the often really old and useless version 
from the GA release) in case of a problem.

If we do not have any such config setting yet, I would like to add one. What 
is the best place? Should we try to honor dnf.conf for this kind of 
settings? (Advantage: One has to set up this kind of things only once. 
Drawback: It is not obvious that PackageKit-hif honors DNF settings, and 
which ones.) Or should I add a setting somewhere to the PackageKit 
configuration?

I think not having an option to keep cached packages even after a successful 
transaction is a major data loss issue (as it deletes data that will no 
longer be available online when potentially needed, see above) that makes 
PackageKit-hif unusable for me, and I would really like to not have to 
rebuild PackageKit with a 1-line patch each time it gets upgraded just to 
change this setting. So having it configurable somewhere is important to me. 
And I suspect there are other users also thinking this way. So please tell 
me where to best put the setting.

Kind regards,
        Kevin Kofler

Richard Hughes | 12 Sep 14:11 2014
Picon

PackageKit 1.0.0 released!

Version 1.0.0
~~~~~~~~~~~~~
Released: 2014-09-12

Notes:
 - After over 7 years, 99 tarball releases and 11697 commits from 284
people we've finally released the first stable version. Woohoo!

 - I wanted to sent out a heart-felt thank you to all the people who
have contributed to the success of this project. I couldn't have done
it on my own and quite a few people were more important than they
realize.

 - Now, onto more practical aspects. These are the big changes for this release:

  * The offline update functionality has moved to a proper D-Bus
interface and the pkexec helpers have been removed. Offline updates is
an important feature that no longer deserves to be bolted-on. All the
existing users have been ported to the new interface, but you need
3.13.92 if you're running GNOME from unstable or jhbuild.

  * No more plugins. Both in-tree and out-of-tree plugins were the
biggest source of crashes, and with the systemd offline updates merged
into the core daemon they are just not reuired anymore. All affected
projects have been notified.

  * No more conary, opkg, smart or yum plugins. These have been
unmaintained and broken for over two years, so time to give them the
heave-ho.

  * The alpm, aptcc, hif and zypp plugins have had lots of love, and
are up to date with the latest features and working well.

Backends:
 - alpm: Add APPLICATION filter (Fabien Bourigault)
 - alpm: Add DOWNLOADED filter for get-updates (Fabien Bourigault)
 - alpm: Correctly namespace files and symbols (Richard Hughes)
 - alpm: Don't crash when emitting the update details URLs (Richard Hughes)
 - alpm: Don't set the cancellable or status before finished (Richard Hughes)
 - alpm: Honor cache age while refreshing repos (Fabien Bourigault)
 - alpm: Honor only download flag for update packages (Fabien Bourigault)
 - alpm: Use a helper structure for backend data (Richard Hughes)
 - alpm: Use the system database rather than the one in the prefix
(Richard Hughes)
 - aptcc: Link against -lutil for forkpty (Colin Watson)
 - conary: Remove the Conary backend (Richard Hughes)
 - hif: Make the lock dir respect the DESTDIR (Richard Hughes)
 - hif: Remove some unused functions (Richard Hughes)
 - hif: Use a real path for hy_sack_create() (Richard Hughes)
 - hif: Use hif_source_commit() for new versions of the library (Richard Hughes)
 - hif: Use the cached metadata if available (Richard Hughes)
 - katja: Fix repository initialization flaw (Eugene Wissner)
 - opkg: Remove the opkg backend (Richard Hughes)
 - smart: Remove the SMART backend (Richard Hughes)
 - yum: Remove the yum backend (Richard Hughes)
 - zypp: Add APPLICATION filter support (Dominique Leuenberger)
 - zypp: Add DOWNLOADED filter support (Dominique Leuenberger)
 - zypp: Update to build with PK 0.9.x (Dominique Leuenberger)

New Features:
 - Add a D-Bus interface and helpers for offline support (Richard
Hughes, Kalev Lember)
 - Add a repo-set-data command to packagekit-direct (Richard Hughes)
 - Add a simple script that generates some offline metadata (Richard Hughes)
 - Add pk_backend_job_get_cancellable() (Richard Hughes)
 - Add pk_backend_job_is_cancelled() (Richard Hughes)
 - Add pk_backend_set_user_data() (Richard Hughes)
 - Add pk_offline_get_prepared_sack() and use it in the
systemd-updates plugin (Richard Hughes)
 - Remove pk-debuginfo-install (Richard Hughes)
 - Remove support for distros not supporting /etc/os-release (Richard Hughes)
 - Remove the --enable-systemd-updates configure switch (Richard Hughes)
 - Remove the events/pre-transaction.d functionality (Richard Hughes)
 - Remove the pkexec systemd helpers (Richard Hughes)
 - Remove the plugin interface (Richard Hughes)
 - Remove various options from the config file (Richard Hughes)

Bugfixes:
 - Automatically do pk_backend_job_finished() for threaded backends
(Richard Hughes)
 - Do not shutdown the daemon on idle by default (Richard Hughes)
 - Fix compile of the ConnMan network support (Richard Hughes)
 - Fix packagekit-offline-update.service generation (Kalev Lember)
 - Increase the default transaction limits (Matthias Klumpp)
 - Prefer npapi-sdk over mozilla-plugins (Dominique Leuenberger)
 - Refresh the NetworkManager state when the daemon starts (Richard Hughes)

Tarballs available here: http://www.packagekit.org/releases/

Richard.
Richard Hughes | 9 Sep 17:13 2014
Picon

Moving to github

Hi all,

I'm planning to move the repo to github soon. If you want commit
access on the github PackageKit project, please can you tell me your
gitorious name, and your github username. e.g. I would reply to this
email with:

gitorious: rhughes
github: hughsie

Thanks,

Richard
Richard Hughes | 8 Sep 23:08 2014
Picon

Raising the quality of backends

Hi all,

I'm starting to be a lot more strict removing backends that either
don't compile, or are just unmaintained. Here's a list of what we've
got, and some of the problems:

alpm: ignored cache-age, missing downloaded filter, missing application filter
apt: unmaintained since May 2012, ignored cache-age, missing downloaded filter
aptcc: ignored cache-age, missing application filter
entropy: unmaintained since December 2013, ignored cache-age, missing
downloaded filter, missing application filter
hif: missing groups support
katja: ignored cache-age, missing downloaded filter, missing application filter
urpmi: unmaintained since Jan 2014, ignored cache-age, missing
downloaded filter, missing application filter
pisi: unmaintained since Sep 2013, ignored cache-age, missing
downloaded filter, missing application filter
zypp: ignored cache-age, missing downloaded filter, missing application filter
poldek: unmaintained since Oct 2013, ignored cache-age, missing
downloaded filter, missing application filter
portage: unmaintained since Nov 2013, ignored cache-age, missing
downloaded filter, missing application filter
ports: unmaintained since May 2013, ignored cache-age, missing
downloaded filter, missing application filter

These are pretty easy to fix. 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.

The downloaded filter just filters out results that have not already
been downloaded, and is needed for the offline update mechanism being
pushed by gnome-software. 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.

All these "new" features have existed for a very long time. I don't
see the point in keeping obsolete and unmaintained backends, and so
any backend that's been two years unmaintained without any of the
stuff introduced since 0.8.x is going to be removed in the next few
months. I've already removed the woefully out-of-date ones like yum,
box, opkg and smart.

Richard
Richard Hughes | 4 Sep 22:50 2014
Picon

RFC: ConnMan network stack in PackageKit

Hi all,

The ConnMan network support in PackageKit has been broken for a very
long time. Is anyone interested in getting this to compile in git
master? I don't use ConnMan myself.

Richard
Richard Hughes | 3 Sep 12:18 2014
Picon

RFC: Does anybody actually use /etc/PackageKit/events/post-transaction.d/

I don't see any users, although the feature has existed for many years
now. If it didn't stick, lets remove it, right?

Richard

Gmane