Closed Woi closed 8 years ago
Looks like this issue has already been report in RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1286389
You can set Option -> Cleanup old instonly packages to get the same behavior as in dnf CLI
(You can set the default for this option in Preferences)
There is also a remove unused requiments option, there will remove dependencies no longer in use.
Hello. Sorry, but the issue exists. Please, refer to this bugzilla thread: https://bugzilla.redhat.com/show_bug.cgi?id=1286389 Many thanks
I can confirm this "issue" being present even with "Cleanup old instonly packages" enabled. In this case the redundant packages are removed later on.
For clarification some steps to reproduce:
So yumex-dnf is behaving different from dnf in that it doesn't immediately remove the redundant package. I would not call this a bug, but others might thing differently. Any thoughts on that? Is it clear now?
The current development version does, what you expect it to do, with the right options turned on
Some options might need a restart of yumex, to work
You are right, I can reproduce it works as intended and expected on 4.3.x.. Thanks! I think I was remembering I reproduced the issue on 4.1.x.
Tim, only the part that cleans seems to work with those settings. The much more importent bug, that not all kernel files are updated still is there in copr version. I just installed copr version in F24, where there are pending updates for kernel. Yumex only shows updates for: kernel kernel-headers kernel-tool-libs trying dnf, I get this list: Installerer: kernel kernel-core kernel-debug-core kernel-debug-modules kernel-debug-modules-extra kernel-devel kernel-modules Opgrader: kernel-headers kernel-tools-libs Fjerner: kernel kernel-core kernel-debug-core kernel-debug-modules kernel-debug-modules-extra kernel-devel kernel-modules
as you can see, Yumex is missing a lot of kernel-* files, and as a result, the system ends up with kernel files with mixed versions, which will break other packages.
This is a nasty bug.
Ok, I will look into how the DNF cli handles that
btw, the old yumex (yum) works correctly too, and finds all kernel files (on F23)
There is also the aspect of out-of-box behaviour: yumex-dnf with default settings (that is: no settings changed by user) should behave the same as dnf does.
@Woi, the issueis when using DNF API dont have same defaults as the DNF CLI application and the defaults has beeen changing over time, so I am playiing catch up. Yumex save the users selections, so even if I change the default setting, it is still set to the old value in the users yumex.conf. The current yumex development version will havde better defaults and more user friendly configuration
Setting "Clean up old Instonly packages" somewhat helped in my setup, but there is still an old package left:
$ sudo dnf update
Last metadata expiration check: 0:03:39 ago on Mon May 2 21:48:05 2016.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
kernel-devel i686 4.4.8-300.fc23 updates 10 M
kernel-modules-extra i686 4.4.8-300.fc23 updates 2.1 M
Removing:
kernel-devel i686 4.4.5-300.fc23 @updates 37 M
Transaction Summary
================================================================================
Install 2 Packages
Remove 1 Package
Total download size: 12 M
Is this ok [y/N]:
And as alh61 already sad: The more important issue are the packages missed to install.
The current yumex development version will havde better defaults and more user friendly configuration
Sounds good. Is there a place to read more about the changes?
Sounds good. Is there a place to read more about the changes?
http://yumex.dk There is also info, how you can get the new version from copr.
This commit will make all kernel packages to be show in yumex-dnf https://github.com/timlau/dnf-daemon/commit/502a439df98d3c06fe7e6cba85a3725584265e34
Add a new build to copr tomorrow
new releases in COPR and soon in Fedora Rawhide & F24
Tried the COPR release in F24 - worked fine now. We need this fix in F23 (and maybe F22?) too.
After installing all available updates with yumex-dnf 4.1.5 on Fedora 23, it's sometimes possible to do more "update operations" using
dnf update
.Steps to reproduce:
yumex-dnf
.yumex-dnf
. Note that no updates are available.sudo dnf update
immediately afterwards.Actual result:
Expected result: