Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
packagekitd.service will be stopped on system shutdown and by manually
doing so. Thus the main process will be killed eventually and we have
to manually clean those tmporary libzypp files.
This reverts commit d8dd484ddfcea4750495fa92dcd2f580149432e7.
https://bugzilla.opensuse.org/show_bug.cgi?id=1169739
|
|
The previous commit was meant to workaround the fact that PackageKit
doesn't quit normally on a timed exit. Since commit 8b621738 fixes
that, this is no longer needed.
This reverts commit 807f410e28074c8ad2b99682446bbb460fd54adf.
|
|
This resolves #366
|
|
|
|
https://bugzilla.suse.com/show_bug.cgi?id=1173562
|
|
Debs do not have signatures on their own, so they are always
untrusted.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1882098
|
|
|
|
https://bugzilla.suse.com/show_bug.cgi?id=1175315
|
|
During the conversion from Autotools to Meson, this part was accidentally
lost, which makes the test backend not work quite right.
This change installs the missing files for the test_spawn part of the
test backend.
|
|
libzypp creates some temporary files under /var/tmp/, somehow they are
not cleaned automatically when zypp backend unloads. Do the cleanup
work manually here.
https://bugzilla.suse.com/show_bug.cgi?id=1169739
|
|
openSUSE now ships the DNF backend for PackageKit.
|
|
Updating without synchronising databases is like pacman -Syu without the pacman -Sy:
- It's normally not possible
- That leaves the system in an inconsistent state
|
|
Previously, in offline updates Tumbleweed is not identified as
Tumbleweed so that updates often fail.
Fix that by building ResPool before the condition check.
|
|
This is `const gchar*`, so pass NULL.
|
|
|
|
Historically, the backend has internally determined its setup with
static values. However, we generally want PackageKit to load all
repositories defined in all repository directories that DNF normally
searches, since it is not guaranteed to be in /etc/yum.repos.d and
DNF supports multiple repository configuration paths.
We also need the vars to be loaded so that repository definitions
that rely on more than the built-in vars will work.
This bumps our dependency for libdnf to 0.43.1, as we're using APIs
introduced in this release. This required bumping the CI environment
to Fedora 31.
|
|
|
|
|
|
|
|
|
|
When the target name is blank, the callback is generally for the
transaction in general and not for an unknown item. This handles
all instances where libalpm currently emits a progress callback with a blank
name.
|
|
This prevents updating the system syncdbs without updating packages,
which often leads to undesirable behaviour on most alpm-based distros.
|
|
|
|
|
|
PackageKit has permitted building multiple backends with Autotools,
and there's no reason to forbid this with Meson, especially as there
are still multiple options in use by some Linux distributions.
|
|
|
|
the latest stable version of libalpm
|
|
packagekit/backends/alpm/meson.build:3:0: ERROR: Tried to access unknown option "confdir".
|
|
packagekit/backends/alpm/meson.build:47:2: ERROR: Expecting rparen got string.
|
|
packagekit/backends/alpm/meson.build:35:4: ERROR: Expecting rbracket got string.
|
|
Previously, when users are installing multiple packages at the same
time using "pkcon install", if one/some of those packages is/are already
installed, the whole installing process terminates, withouting
installing those uninstalled packages.
Fix that by ignoring those already installed pacakge and proceeding to
install those which are not yet installed.
|
|
Use correct function call and add missing comma.
|
|
In commit e1a6975e, updating is handled in update-packages whether you
are using Tumbleweed or not. So remove upgrade-system implementation.
|
|
No matter whether you are using Tumbleweed or Leap, update-packages is
the place where all the action happens.
|
|
According to upstream doc [1], total being -1 is a signal for download
initialized. We should avoid giving unnecessary assertion failures for every
file download.
[1]
https://git.archlinux.org/pacman.git/tree/lib/libalpm/dload.c?id=e76ec94083235ddc5510ab57b7c2bc12a1d34e8a#n134
|
|
Currently packagekit exits on startup when the option was specified:
packagekitd[18705]: Failed to initialize alpm: using
/etc/PackageKit/alpm.d/pacman.conf:
/etc/PackageKit/alpm.d/pacman.conf:8/etc/pacman.conf:41unrecognised
directive 'DisableDownloadTimeout'
This change adds support for DisableDownloadTimeout and fixes the error.
|
|
|
|
|
|
This prevents an apparently infinite loop due to automatic
retrying. We cannot be sure whether we had a GPG error and/or
other errors, so raising an error that causes automatic
retrying is a bad idea.
This will cause PK_ERROR_ENUM_CANNOT_FETCH_SOURCES to
be emitted by the caller of the function.
|
|
Previously aptcc would report some warnings as errors. This way,
it will drop any warning if there is no error. This matches the
behavior of python-apt.
As a bonus, we also log the entire message as a warning to the
journal.
|
|
|
|
This is only used in RHEL 7 which is not going to get rebased to this brand new
PackageKit branch.
|
|
Even macports doesn't carry it anymore.
|
|
Mageia 6 switched to DNF backend exclusively and Mageia 5 is EOL. ROSA also
switched to rpm.org + libdnf.
|
|
The pisi package manager is no longer used as Pardus is Debian-based now.
|
|
requirement
|
|
With much help from Martin Blanchard <tchaik@gmx.com> too, thanks to all.
https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting
|
|
Previously the locale settings were not applied to some subprocesses
spawned by APT or dpkg. This patch changes that and also simplifies &
deduplicates the locale handling a bit.
|