stable

libhif-0.2.2-3.fc23

FEDORA-2016-ba5f1759c7 created by kalev 8 years ago for Fedora 23

This update fixes an issue where installs / updates done through PackageKit incorrectly marked packages as dependencies where they should have been marked as user installed, causing 'dnf autoremove' to subsequently remove them.

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2016-ba5f1759c7

This update has been submitted for testing by kalev.

8 years ago

This update has been pushed to testing.

8 years ago
User Icon xenithorb commented & provided feedback 8 years ago

This works as I would expect it to.

My test case was htop I first removed it, installed it with apper, downgraded it with dnf, then upgraded it with the system-tray updater (im a KDE user)

Under all circumstances the file had the correct reason in /var/lib/dnf/yumdb/h/*/reason and as a result showed up under sudo dnf history userinstalled and was not wanted to be removed by sudo dnf autoremove

User Icon xenithorb commented & provided feedback 8 years ago
karma

Sorry, meant to give karma as well after a copy-paste but forgot

BZ#1259865 call `dnf mark install <pkgs...>`on packages installed from PK
User Icon cserpentis commented & provided feedback 8 years ago
karma

works for me

User Icon kparal commented & provided feedback 8 years ago
karma

seems to be working fine, including offline update. "userinstalled" flag is now correctly set.

BZ#1259865 call `dnf mark install <pkgs...>`on packages installed from PK
User Icon urbenlegend commented & provided feedback 8 years ago
karma

Works great for me. PackageKit no longer marks installed packages for autoremove.

BZ#1259865 call `dnf mark install <pkgs...>`on packages installed from PK
User Icon jhogarth commented & provided feedback 8 years ago
karma

After carrying out a dnf --enablerepo="updates-testing" libhif the testcase criteria in the bug still failed, a dnf needs-restarting didn't show any processes needing a kick though (to be fair I didn't check lsof).

After a reboot of the system the test cases pass with installs by pkcon directly (or the command-not-found plugin) showing the correct user/dep reason in /var/lib/dnf

Unfortunately dnf history isn't displaying the results of packagekit actions, but at least the autoremove issue is solved by this update.

BZ#1259865 call `dnf mark install <pkgs...>`on packages installed from PK
User Icon kparal commented & provided feedback 8 years ago

@jhogarth: This is not supposed to fix anything else than the bugs specified, so no, dnf history is not touched by packagekit. But autoremove issues are supposed to be fixed (not retroactively, though). And yes, you need to restart packagekit or reboot computer for the changes to take effect.

User Icon ngompa commented & provided feedback 8 years ago
karma

Looks good to me.

BZ#1253776 [abrt] PackageKit: hy_repo_get_string(): packagekitd killed by SIGSEGV
BZ#1259865 call `dnf mark install <pkgs...>`on packages installed from PK
User Icon benages commented & provided feedback 8 years ago
karma

It seems that the autoremove issue is solved

BZ#1259865 call `dnf mark install <pkgs...>`on packages installed from PK
User Icon ikorolev commented & provided feedback 8 years ago
karma

Fixed the issue with dnf removing stuff installed with GNOME Software for me

BZ#1259865 call `dnf mark install <pkgs...>`on packages installed from PK
karma
BZ#1259865 call `dnf mark install <pkgs...>`on packages installed from PK

This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes

8 years ago

This update has been submitted for stable by kalev.

8 years ago

This update has been pushed to stable.

8 years ago

Please login to add feedback.

Metadata
Type
bugfix
Karma
9
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
disabled
Stable by Time
disabled
Dates
submitted
8 years ago
in testing
8 years ago
in stable
8 years ago
BZ#1253776 [abrt] PackageKit: hy_repo_get_string(): packagekitd killed by SIGSEGV
0
1
BZ#1259865 call `dnf mark install <pkgs...>`on packages installed from PK
0
7

Automated Test Results