FEDORA-2018-2789f6b6e7

bugfix update in Fedora 29 for anaconda, dnf, & 3 more

Status: stable a year ago

LIBDNF

  • Fix segfault in repo_internalize_trigger (RhBug:1375895)
  • Change sorting of installonly packages (RhBug:1627685)
  • [swdb] Fixed pattern searching in history db (RhBug:1635542)
  • Check correctly gpg for repomd when refresh is used (RhBug:1636743)
  • [conf] Provide additional VectorString methods for compatibility with Python list.
  • [plugins] add plugin loading and hooks into libdnf
  • Fix segfault in TransactionItem::saveReplacedBy() (RhBug:1632177)
  • Backport swdb-create-persistent-WAL-files (RhBug:1640235)

DNF

  • Add dnssec extension
  • Set termforce to AUTO to automatically detect if stdout is terminal
  • Repoquery command accepts --changelogs option (RhBug:1483458)
  • Calculate sack version from all installed packages (RhBug:1624291)
  • [module] Allow to enable module dependencies (RhBug:1622566)

DNF-PLUGINS-CORE

  • Enhance documentation
  • [repoclosure] check every --pkg attribute separately
  • [repoclosure] Now accepts nevra as a argument of --pkg option
  • [reposync] enhancements (RhBug:1550063,1582152,1550064,1405789,1598068)
  • package-cleanup: remove --oldkernels
  • Download only packages with unique NEVRAs (RhBug:1612874)

After installing this update you need to run dnf as root user once. After that querries can be performed by any unprivileged user as usual.

How to install

sudo dnf upgrade --advisory=FEDORA-2018-2789f6b6e7

Comments 52

This update has been submitted for testing by jmracek.

This update has been pushed to testing.

Didn't see any regressions yet

karma: +1

I can't install this update without --allowerasing, which removes dnf-utils:

package dnf-utils-3.0.4-1.fc29.noarch requires python3-dnf < 4.0, but none of the providers can be installed

It looks like the dnf-utils sub-package of dnf-plugins-core was dropped either accidentally (who knows with bconds?) or without adding proper Obsoletes to dnf-plugins-core.

karma: -1

Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.

I can't install this update without --allowerasing, which removes dnf-utils:

package dnf-utils-3.0.4-1.fc29.noarch requires python3-dnf < 4.0, but none of the providers can be installed

It looks like the dnf-utils sub-package of dnf-plugins-core was dropped either accidentally (who knows with bconds?) or without adding proper Obsoletes to dnf-plugins-core.

karma: -1

Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.

If you can, please also test with gpgkey_dns_verification=True in [main] section of /etc/dnf/dnf.conf. Reference: https://github.com/rpm-software-management/dnf/blob/master/doc/conf_ref.rst

works for me

karma: +1

jmracek edited this update.

New build(s):

  • dnf-plugins-core-4.0.0-2.fc29
  • libdnf-0.22.0-2.fc29

Removed build(s):

  • dnf-plugins-core-4.0.0-1.fc29
  • libdnf-0.22.0-1.fc29

Karma has been reset.

This update has been submitted for testing by jmracek.

dmach edited this update.

dmach edited this update.

no regressions noted

karma: +1

Maintainers, please mark #1305340 as fixed by this build. Actually, it has been fixed by the previous version 3.6.1 (and correctly mentioned in the changelog but nowhere else) but the translations were not updated. Now they are updated, at least for some languages including Japanese which was required by the original reporter. Testers, please verify.

This update has been pushed to testing.

Confirming finding from @jlanda. A simple query like dnf info $pkg_name fails for an unprivileged user with RuntimeError: Exec failed: attempt to write a readonly database.

karma: -1

sharkcz edited this update.

New build(s):

  • anaconda-29.24.6-1.fc29
  • libblockdev-2.20-2.fc29

Karma has been reset.

This update has been submitted for testing by sharkcz.

Note that Anaconda and libblockdev were added to this update as the FE 1637021 requires newer (>=3.6) DNF and the Anaconda build also contains FE 1635252 which needs newer libblockdev.

The problem in https://bugzilla.redhat.com/show_bug.cgi?id=1640235 is solved by libdnf-0.22.0-3.fc29. But at the present time I cannot add it to the update.

Please the fix in libdnf-0.22.0-3.fc29 is applied after the first command that opens swdb but it has to be run as a root. Like "sudo dnf list". Next run of "dnf list" as a non privilege user should be fine.

besser82 edited this update.

New build(s):

  • libdnf-0.22.0-3.fc29

Removed build(s):

  • libdnf-0.22.0-2.fc29

Karma has been reset.

besser82 edited this update.

besser82 edited this update.

While #1497171 #1625879 still seems to be not fixed. We got the blockers fixed.

karma: +1 #1483458: +1 #1508649: +1 #1571622: +1 #1590690: +1 #1620242: +1 #1631217: +1 #1632177: +1 #1635542: +1 #1636285: +1 #1636743: +1 #1640235: +1

While #1497171 #1625879 still seems to be not fixed. We got the blockers fixed.

karma: +1 #1483458: +1 #1508649: +1 #1571622: +1 #1590690: +1 #1620242: +1 #1631217: +1 #1632177: +1 #1635542: +1 #1636285: +1 #1636743: +1 #1640235: +1

works fine for me

karma: +1

Works for me, first run after update and using f28 /var/lib/dnf took couple of minutes.

#1632177: +1

Works for me, first run after update and using f28 /var/lib/dnf took couple of minutes.

#1632177: +1

I would like to also solve a Fedora 29 accepted blocker https://bugzilla.redhat.com/show_bug.cgi?id=1632518 by adding libdnf-0.22.0-4.fc29 into this update. Can anyone help me?

sharkcz edited this update.

New build(s):

  • anaconda-29.24.7-1.fc29

Removed build(s):

  • anaconda-29.24.6-1.fc29

Karma has been reset.

ignatenkobrain edited this update.

New build(s):

  • libdnf-0.22.0-4.fc29

Removed build(s):

  • libdnf-0.22.0-3.fc29

Karma has been reset.

sharkcz edited this update.

Hmm, e.g. pkcon install dwm crashes for me. This is re: https://bugzilla.redhat.com/show_bug.cgi?id=1632518 and it looks like some libdnf-internal structure isn't initialized when used from PackageKit.

karma: -1

Please can anyone replace libdnf-0.22.0-4 by libdnf-0.22.0-3 where problem with "pkcon install dwm" is not present.

Or on the way there is build of libdnf-0.22.0-5 (https://koji.fedoraproject.org/koji/taskinfo?taskID=30342149) that is without a problematic patch (identical to libdnf-0.22.0-3).

besser82 edited this update.

New build(s):

  • libdnf-0.22.0-5.fc29

Removed build(s):

  • libdnf-0.22.0-4.fc29

Karma has been reset.

Works fine, no regressions found

karma: +1

This update has been pushed to testing.

libdnf-0.22.0-5 is without patch for https://bugzilla.redhat.com/show_bug.cgi?id=1632518. it looks like that the problem is little bit more complex and should be solved in cooperation with PackageKit (probably changes in PackageKit required).

Well, I already tested it and no regressions after the libdnf-0.22.0-5.fc29 update.

karma: +1
karma: +1 critpath: +1

This update has been submitted for batched by bodhi.

+1

karma: +1 critpath: +1

This update has been submitted for batched by bodhi.

This update has been submitted for stable by mohanboddu.

This update has been pushed to stable.

Add Comment & Feedback

Please login to add feedback.

Content Type
RPM
Status
stable
Test Gating
Submitted by
Update Type
bugfix
Update Severity
high
Karma
+3
stable threshold: 3
unstable threshold: -3
Autopush (karma)
Enabled
Autopush (time)
Disabled
Dates
submitted a year ago
in testing a year ago
in stable a year ago
modified a year ago

Related Bugs 25

00 #1375895 [abrt] PackageKit: repo_internalize_trigger(): packagekitd killed by SIGSEGV (via dnf_package_get_size)
00 #1483458 RFE: add --changelog into dnf repoquery
00 #1489308 [abrt] dnf: _progress_cb(): __init__.py:1366:log:SystemError: <built-in function="" isinstance=""> returned a result with an error set</built-in>
00 #1497171 [yum-compatibility] Prevent user from removing running kernel.
00 #1505035 dnf autocompletion wrong (seems to lag behind by one dnf transaction)
00 #1508649 quiet option, should quiet errors ?
00 #1550063 dnf reposync doesn't download repodata
00 #1571622 dnf repoclosure with --pkg option set to non-existing package doesn't show any warning
00 #1590690 dnf -q is not quiet
00 #1620242 dnf repoquery --unsatisfied gives python traceback
00 #1624291 [sack] rpmdb version is incorrect when using excludes
00 #1625879 advisory option not working with dnf install
00 #1627685 add excluderemovepkgs option to dnf
00 #1631217 unable to install stratis
00 #1632177 dnf segfault in libdnf::TransactionItem::saveReplacedBy()
00 #1632518 PackageKit installs packages from default module streams, but does not enable the module stream
00 #1635252 anaconda: Ignore errors activating unknown swap partitions
00 #1635542 dnf history PKG lists all transactions, not just those related to PKG
00 #1636285 dnf complains about conflicts with non-installed and non-existent RPMs
00 #1636743 dnf update --refresh fails for repo_gpgcheck=1
00 #1637021 Installation should be aborted if module dependency errors are detected
00 #1639233 Update nvdimm support with fixes from rhel
00 #1639467 dnf-plugins-core dropped dnf-utils without adding an Obsoletes
00 #1640235 Unprivileged use of dnf list installed ends with a unhandled exception
00 #1640409 Atomic Host Installclass detection not working

Automated Test Results