Bug 910088 - Unable to perform actions while offline
Summary: Unable to perform actions while offline
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ales Kozumplik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 922557
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-11 18:56 UTC by Richard Marko
Modified: 2016-02-01 02:22 UTC (History)
3 users (show)

Fixed In Version: dnf-0.3.0-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-21 14:10:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.