Re: dnf caches
On 24/04/15 10:40, Radek Holy wrote: - Original Message - From: Pádraig Brady p...@draigbrady.com To: Development discussions related to Fedora devel@lists.fedoraproject.org Sent: Thursday, April 23, 2015 8:11:45 PM Subject: Re: dnf caches On 23/04/15 18:44, drago01 wrote: On Thu, Apr 23, 2015 at 7:07 PM, Pádraig Brady p...@draigbrady.com wrote: My Fedora 22 system prompted me that there was a new coreutils package for update. Rather than clicking restart and install in the GUI I tried to: # dnf install coreutils Using metadata from Tue Apr 21 19:54:02 2015 (1 day, 21:50:24 hours old) Package coreutils-8.23-8.fc22.x86_64 is already installed, skipping. Ok fair enough, the updating system is using a separate cache to dnf. Not ideal, but anyway how do I update the dnf cache? I tried: # dnf check-update coreutils Using metadata from Thu Apr 23 17:42:54 2015 (0:01:19 hours old) coreutils.x86_64 Given the above found the new coreutils, I thought an install would now work, though unfortunately it doesn't. Shouldn't dnf be looking at the timestamps of the repo in each invocation (without -C) and updating the metadata if needed? I presume that's what yum does since I never had an issue with this. I tried explicitly cleaning the cache like this: # dnf --disablerepo=* --enablerepo=updates clean metadata Cleaning repos: updates 5 metadata files removed 2 dbcache files removed How do I refresh the cache? dnf --refresh whatever ... where whatever can be install foo or update etc. Great thanks. BTW --refresh is mentioned but not described in dnf --help. It would be could to add a description. Could you please file a bug? https://github.com/pixelb/dnf/pull/1 cheers, Pádraig -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: dnf caches
- Original Message - From: Pádraig Brady p...@draigbrady.com To: Development discussions related to Fedora devel@lists.fedoraproject.org Sent: Thursday, April 23, 2015 8:11:45 PM Subject: Re: dnf caches On 23/04/15 18:44, drago01 wrote: On Thu, Apr 23, 2015 at 7:07 PM, Pádraig Brady p...@draigbrady.com wrote: My Fedora 22 system prompted me that there was a new coreutils package for update. Rather than clicking restart and install in the GUI I tried to: # dnf install coreutils Using metadata from Tue Apr 21 19:54:02 2015 (1 day, 21:50:24 hours old) Package coreutils-8.23-8.fc22.x86_64 is already installed, skipping. Ok fair enough, the updating system is using a separate cache to dnf. Not ideal, but anyway how do I update the dnf cache? I tried: # dnf check-update coreutils Using metadata from Thu Apr 23 17:42:54 2015 (0:01:19 hours old) coreutils.x86_64 Given the above found the new coreutils, I thought an install would now work, though unfortunately it doesn't. Shouldn't dnf be looking at the timestamps of the repo in each invocation (without -C) and updating the metadata if needed? I presume that's what yum does since I never had an issue with this. I tried explicitly cleaning the cache like this: # dnf --disablerepo=* --enablerepo=updates clean metadata Cleaning repos: updates 5 metadata files removed 2 dbcache files removed How do I refresh the cache? dnf --refresh whatever ... where whatever can be install foo or update etc. Great thanks. BTW --refresh is mentioned but not described in dnf --help. It would be could to add a description. Could you please file a bug? I also see that `dnf install` no longer updates a package, I now need to: dnf --refresh upgrade coreutils Yes, we know about it. The current behaviour makes sense but doing the upgrade is more consistent with the documentation. We will fix it. thanks! Pádraig. -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct -- Radek Holý Associate Software Engineer Software Management Team Red Hat Czech -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: dnf caches
- Original Message - From: Pádraig Brady p...@draigbrady.com To: Development discussions related to Fedora devel@lists.fedoraproject.org Sent: Friday, April 24, 2015 11:58:53 AM Subject: Re: dnf caches On 24/04/15 10:40, Radek Holy wrote: - Original Message - From: Pádraig Brady p...@draigbrady.com To: Development discussions related to Fedora devel@lists.fedoraproject.org Sent: Thursday, April 23, 2015 8:11:45 PM Subject: Re: dnf caches On 23/04/15 18:44, drago01 wrote: On Thu, Apr 23, 2015 at 7:07 PM, Pádraig Brady p...@draigbrady.com wrote: My Fedora 22 system prompted me that there was a new coreutils package for update. Rather than clicking restart and install in the GUI I tried to: # dnf install coreutils Using metadata from Tue Apr 21 19:54:02 2015 (1 day, 21:50:24 hours old) Package coreutils-8.23-8.fc22.x86_64 is already installed, skipping. Ok fair enough, the updating system is using a separate cache to dnf. Not ideal, but anyway how do I update the dnf cache? I tried: # dnf check-update coreutils Using metadata from Thu Apr 23 17:42:54 2015 (0:01:19 hours old) coreutils.x86_64 Given the above found the new coreutils, I thought an install would now work, though unfortunately it doesn't. Shouldn't dnf be looking at the timestamps of the repo in each invocation (without -C) and updating the metadata if needed? I presume that's what yum does since I never had an issue with this. I tried explicitly cleaning the cache like this: # dnf --disablerepo=* --enablerepo=updates clean metadata Cleaning repos: updates 5 metadata files removed 2 dbcache files removed How do I refresh the cache? dnf --refresh whatever ... where whatever can be install foo or update etc. Great thanks. BTW --refresh is mentioned but not described in dnf --help. It would be could to add a description. Could you please file a bug? https://github.com/pixelb/dnf/pull/1 cheers, Pádraig -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Thank you. If I could have yet another wish, choose rpm-software-management/dnf as the base fork next time. Thank you. -- Radek Holý Associate Software Engineer Software Management Team Red Hat Czech -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: dnf caches
On Thu, Apr 23, 2015 at 7:07 PM, Pádraig Brady p...@draigbrady.com wrote: My Fedora 22 system prompted me that there was a new coreutils package for update. Rather than clicking restart and install in the GUI I tried to: # dnf install coreutils Using metadata from Tue Apr 21 19:54:02 2015 (1 day, 21:50:24 hours old) Package coreutils-8.23-8.fc22.x86_64 is already installed, skipping. Ok fair enough, the updating system is using a separate cache to dnf. Not ideal, but anyway how do I update the dnf cache? I tried: # dnf check-update coreutils Using metadata from Thu Apr 23 17:42:54 2015 (0:01:19 hours old) coreutils.x86_64 Given the above found the new coreutils, I thought an install would now work, though unfortunately it doesn't. Shouldn't dnf be looking at the timestamps of the repo in each invocation (without -C) and updating the metadata if needed? I presume that's what yum does since I never had an issue with this. I tried explicitly cleaning the cache like this: # dnf --disablerepo=* --enablerepo=updates clean metadata Cleaning repos: updates 5 metadata files removed 2 dbcache files removed How do I refresh the cache? dnf --refresh whatever ... where whatever can be install foo or update etc. -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: dnf caches
On 23/04/15 18:46, Adam Williamson wrote: Branched releases (i.e. F22 at present) do not use the 'updates' repo, it is empty. Updates go from updates-testing to fedora when they are marked as stable. So you need to clean 'fedora', not 'updates'. I had done that too, to no avail. thanks, Pádraig -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
dnf caches
My Fedora 22 system prompted me that there was a new coreutils package for update. Rather than clicking restart and install in the GUI I tried to: # dnf install coreutils Using metadata from Tue Apr 21 19:54:02 2015 (1 day, 21:50:24 hours old) Package coreutils-8.23-8.fc22.x86_64 is already installed, skipping. Ok fair enough, the updating system is using a separate cache to dnf. Not ideal, but anyway how do I update the dnf cache? I tried: # dnf check-update coreutils Using metadata from Thu Apr 23 17:42:54 2015 (0:01:19 hours old) coreutils.x86_64 Given the above found the new coreutils, I thought an install would now work, though unfortunately it doesn't. Shouldn't dnf be looking at the timestamps of the repo in each invocation (without -C) and updating the metadata if needed? I presume that's what yum does since I never had an issue with this. I tried explicitly cleaning the cache like this: # dnf --disablerepo=* --enablerepo=updates clean metadata Cleaning repos: updates 5 metadata files removed 2 dbcache files removed How do I refresh the cache? Why should I need to mess with it anyway? thanks, Pádraig. p.s. If using yum legacy, does that in fact use another (3rd) cache? -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: dnf caches
On Thu, 2015-04-23 at 18:07 +0100, Pádraig Brady wrote: My Fedora 22 system prompted me that there was a new coreutils package for update. Rather than clicking restart and install in the GUI I tried to: # dnf install coreutils Using metadata from Tue Apr 21 19:54:02 2015 (1 day, 21:50:24 hours old) Package coreutils-8.23-8.fc22.x86_64 is already installed, skipping. Ok fair enough, the updating system is using a separate cache to dnf. Not ideal, but anyway how do I update the dnf cache? I tried: # dnf check-update coreutils Using metadata from Thu Apr 23 17:42:54 2015 (0:01:19 hours old) coreutils.x86_64 Given the above found the new coreutils, I thought an install would now work, though unfortunately it doesn't. Shouldn't dnf be looking at the timestamps of the repo in each invocation (without -C) and updating the metadata if needed? I presume that's what yum does since I never had an issue with this. I tried explicitly cleaning the cache like this: # dnf --disablerepo=* --enablerepo=updates clean metadata Cleaning repos: updates 5 metadata files removed 2 dbcache files removed How do I refresh the cache? Why should I need to mess with it anyway? Branched releases (i.e. F22 at present) do not use the 'updates' repo, it is empty. Updates go from updates-testing to fedora when they are marked as stable. So you need to clean 'fedora', not 'updates'. https://fedoraproject.org/wiki/Repositories#stable_is_not_a_repository -- Adam Williamson Fedora QA Community Monkey IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net http://www.happyassassin.net -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: dnf caches
Hi On Thu, Apr 23, 2015 at 1:07 PM, Pádraig Brady wrote: My Fedora 22 system prompted me that there was a new coreutils package for update. Rather than clicking restart and install in the GUI I tried to: # dnf install coreutils dnf install coreutils --refresh # dnf --disablerepo=* --enablerepo=updates clean metadata dnf clean expire-cache Rahul -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: dnf caches
On 23/04/15 18:44, drago01 wrote: On Thu, Apr 23, 2015 at 7:07 PM, Pádraig Brady p...@draigbrady.com wrote: My Fedora 22 system prompted me that there was a new coreutils package for update. Rather than clicking restart and install in the GUI I tried to: # dnf install coreutils Using metadata from Tue Apr 21 19:54:02 2015 (1 day, 21:50:24 hours old) Package coreutils-8.23-8.fc22.x86_64 is already installed, skipping. Ok fair enough, the updating system is using a separate cache to dnf. Not ideal, but anyway how do I update the dnf cache? I tried: # dnf check-update coreutils Using metadata from Thu Apr 23 17:42:54 2015 (0:01:19 hours old) coreutils.x86_64 Given the above found the new coreutils, I thought an install would now work, though unfortunately it doesn't. Shouldn't dnf be looking at the timestamps of the repo in each invocation (without -C) and updating the metadata if needed? I presume that's what yum does since I never had an issue with this. I tried explicitly cleaning the cache like this: # dnf --disablerepo=* --enablerepo=updates clean metadata Cleaning repos: updates 5 metadata files removed 2 dbcache files removed How do I refresh the cache? dnf --refresh whatever ... where whatever can be install foo or update etc. Great thanks. BTW --refresh is mentioned but not described in dnf --help. It would be could to add a description. I also see that `dnf install` no longer updates a package, I now need to: dnf --refresh upgrade coreutils thanks! Pádraig. -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct