Bug 910088

Summary: Unable to perform actions while offline
Product: [Fedora] Fedora Reporter: Richard Marko <rmarko>
Component: dnfAssignee: Ales Kozumplik <akozumpl>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: akozumpl, jberan, jzeleny
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-0.3.0-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-21 14:10:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 922557    
Bug Blocks:    

Description Richard Marko 2013-02-11 18:56:29 UTC
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.

Comment 1 Ales Kozumplik 2013-02-12 10:00:29 UTC
Valid bug, thanks for the report.

Comment 2 Ales Kozumplik 2013-02-26 13:07:00 UTC
This is going to wait for after librepo integration.

Comment 3 Ales Kozumplik 2013-03-18 08:22:14 UTC
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.

Comment 4 Ales Kozumplik 2013-03-21 14:10:42 UTC
should work after dnf-0.3.0