Bug 465223

Summary: zypper: check the network first, then access the repo over network
Product: [openSUSE] openSUSE 11.1 Reporter: macias - <bluedzins>
Component: BasesystemAssignee: Jan Kupec <jkupec>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P4 - Low    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard: patches-welcome
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description macias - 2009-01-11 20:40:52 UTC
zypper: check the network first, then access the repo over network

The problem is when the network is down (no driver loaded, no interface up, simply nothing at hardware level) and zypper still tries hard to make a connection and then ask the user for _each_ repo if she/he would like to abort/ignore/etc.

Please, add the hardware capabilities -- if there is no network, there is no chance to get the connection, so if would be really useful to add option "skip all repositories accessible via the network". This is just a suggestion, but main point is -- to make it faster/easier to use only local repos.
Comment 1 Jan Kupec 2009-01-15 16:10:26 UTC
Agreed, but low priority.
Comment 2 Jan Kupec 2010-02-21 17:52:01 UTC
I won't get to this in near future, so i'll close the report for now. Patches are welcome, though. See also http://en.opensuse.org/Zypper/Bugs_For_Adoption.

Also, there is now --no-remote global option, which will disable remote repos for current command. There's also 'zypper mr -dt' which will disable all the remote repos for good ('zypper mr -et' to enable them again).