Re: is this a dnf bug?
On Thu, 14 May 2020 11:24:48 -0700 Samuel Sieb wrote: > You will only remove the new > packages and the old ones will stay around forever. That actually happens already. If I don't do an dnf update long enough and there are duplicate versions in the cache there will be old packages left over after the update which only go away when I say "dnf clean packages" (Another reason I thought it should only remove the ones it actually installed :-). ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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/users@lists.fedoraproject.org
Re: is this a dnf bug?
On 5/14/20 10:52 AM, Tom Horsley wrote: On Thu, 14 May 2020 10:19:35 -0700 Samuel Sieb wrote: Set the keep cache option next time if you're only doing a partial update. That would then keep everything, including the ones I updated :-). Only have it set for that transaction. Then when you do the rest, it will clean up everything. Still doesn't seem reasonable for it to delete things not involved in the successful transaction. Then how does it know when to delete the packages? What happens if you've cached the libreoffice packages, but before you get around to updating them, there's another update? You will only remove the new packages and the old ones will stay around forever. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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/users@lists.fedoraproject.org
Re: is this a dnf bug?
On Thu, 14 May 2020 10:19:35 -0700 Samuel Sieb wrote: > Set the > keep cache option next time if you're only doing a partial update. That would then keep everything, including the ones I updated :-). Still doesn't seem reasonable for it to delete things not involved in the successful transaction. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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/users@lists.fedoraproject.org
Re: is this a dnf bug?
On 5/14/20 6:09 AM, Tom Horsley wrote: I download updates to the cache on cron at night. I wanted to apply some updates, but not have to reboot because I got a new kernel or something, so I did: dnf update 'libre*' That updated all the libreoffice packages. Then I look at the cache, and it deleted *everything*, not just the libreoffice packages it installed. Should it really work that way? If you use --downloadonly, you can see the message: The downloaded packages were saved in cache until the next successful transaction. You successfully ran a transaction, so the cache is cleared. Set the keep cache option next time if you're only doing a partial update. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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/users@lists.fedoraproject.org
Re: is this a dnf bug?
Hi On Thu, May 14, 2020 at 9:10 AM Tom Horsley wrote: > I download updates to the cache on cron at night. > > I wanted to apply some updates, but not have to reboot > because I got a new kernel or something, so I did: > > dnf update 'libre*' > > That updated all the libreoffice packages. > > Then I look at the cache, and it deleted *everything*, > not just the libreoffice packages it installed. > > Should it really work that way? > Don't see a good reason why it should. Sounds like a bug to me Rahul ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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/users@lists.fedoraproject.org
is this a dnf bug?
I download updates to the cache on cron at night. I wanted to apply some updates, but not have to reboot because I got a new kernel or something, so I did: dnf update 'libre*' That updated all the libreoffice packages. Then I look at the cache, and it deleted *everything*, not just the libreoffice packages it installed. Should it really work that way? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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/users@lists.fedoraproject.org