NS7b1 - Software center warning after removing any module

Removing any module from Software center always ends up with two red warnings:

  1. [PackageSackError] Rpmdb changed underneath us
  2. Resolving RPM dependencies
    The install/update may have failed due to metadata caching issues. Please clean the cache by clicking the button below and retry the install/update operation.
    [CLEAR YUM CACHE]

…at least on my setup.
The warnings seem to be triggered by pkgaction --remove.

/var/log/messages

Jul 9 00:54:41 intranet pkgaction[18959]: remove: @nethserver-backup, nethserver-backup-config, nethserver-backup-data, nethserver-restore-data
Jul 9 00:54:41 intranet pkgaction[18959]: update:
Jul 9 00:54:41 intranet pkgaction[18959]: install:
Jul 9 00:54:42 intranet yum[18959]: Erased: nethserver-restore-data-1.1.0-1.ns7.noarch
Jul 9 00:54:42 intranet yum[18959]: Erased: nethserver-backup-data-1.2.0-1.ns7.noarch
Jul 9 00:54:42 intranet yum[18959]: Erased: nethserver-backup-config-1.5.0-1.ns7.noarch
Jul 9 00:54:43 intranet pkgaction[18959]: [PackageSackError] Rpmdb changed underneath us

A line on yum history reads like:

Warning: RPMDB altered outside of yum.

yum history info for the transaction shows a line with:

Return-Code : ** Aborted **

but the module was removed.

The yum history warning (RPMDB altered outside of yum) goes away after any successful rpm transaction (eg. yum install packagename). But returns after any pkgaction --remove call (either from Neth-gui or from console).

Thanks for reporting: I can reproduce the problem but I cant’t find the cause.

Extra work is needed.

1 Like

This should be fixed:

2 Likes

tested and working!

4 Likes