Description of problem: While yum is able to perform search/info/erase commands while offline if passed -C (cache) dnf is not. Version-Release number of selected component (if applicable): dnf-0.2.20-1.gitdec970f.fc18.noarch How reproducible: Always Steps to Reproduce: 1. be offline for a while 2. dnf -C erase python-twisted (or dnf erase python-twisted) Actual results: Setting up Remove Process http://repos.fedorapeople.org/repos/abrt/abrt/fedora-18/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Couldn't resolve host" Trying other mirror. Can not read repomd file. Expected results: Package removed.
Valid bug, thanks for the report.
This is going to wait for after librepo integration.
I was trying to see how this works on the librepo branch of DNF and it turns out that the current version of librepo is using wrong file permissions on the downloaded metadata files. Without further patching in DNF this will have to wait for bug 922557 to resolve and if tmlcoch closes that without a fix I'll workaround it in DNF. But let's not pre-introduce hacks.
should work after dnf-0.3.0