Bug 1834770 - PackageKit does not respect the install_only limit during system-upgradation
Summary: PackageKit does not respect the install_only limit during system-upgradation
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 32
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-12 11:46 UTC by Sreyan Chakravarty
Modified: 2021-05-25 17:40 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-25 17:40:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sreyan Chakravarty 2020-05-12 11:46:17 UTC
Description of problem:

On most systems:

installonly_limit=3

in /etc/dnf/dnf.conf

This means only the last 3 copies will of a software like the kernel will be kept. But during system upgradation this setting is not respected. 

For example,
I upgraded from Fedora 31 to Fedora 32, I went from having 3 kernels to 4. The older kernel 5.3 was not removed.

Version-Release number of selected component (if applicable): 1.1.13


How reproducible:
Always

Steps to Reproduce:
1. Download any older Fedora releases ex. Fedora 30.
2. Do a system upgrade from Gnome Software to the latest Fedora.
3. You will see that the kernels keep piling up, they are not removed.

Actual results:
The kernels are not removed.

Expected results:
The older kernels should be removed as it is configured in DNF.

Additional info:
I am not aware of other settings that PackageKit might ignore. This is just one that I have seen.

Comment 1 Fedora Program Management 2021-04-29 17:02:11 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Ben Cotton 2021-05-25 17:40:54 UTC
Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.