Re: F41 Change Proposal: Switch to DNF 5 (System-Wide)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 25, 2024 at 4:59 PM Vít Ondruch <vondruch@xxxxxxxxxx> wrote:

>
> Previously, I had issues that migration from DNF4 to DNF5 left a lot of data in /var/cache. How is this going to be addressed? I don't think it is fair to leave those behind and waste disk space for regular users.
>

Are you suggesting the dnf(4) should have an additional
stanza in the %postun scriptlet something of the form
(following not tested, validated, or run, just prototype):

if [ -d /var/cache/dnf && "$1" -eq "0" ] ; then
  rm -r /var/cache/dnf || :
fi

?
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux