Bugzilla – Bug 465223
zypper: check the network first, then access the repo over network
Last modified: 2010-02-21 17:52:01 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.
Agreed, but low priority.
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).