문제

When I add a repository using zypper:

zypper ar <url> name

then I have to do

zypper lr

check the number of the repository and enable autorefresh:

zypper mr -r 2

Can't I do all this in one line?

도움이 되었습니까?

해결책

after looking around on the internet for a while I found the -f option:

zypper ar -f <url> name

this enables autorefresh automatically. I am wondering why autorefresh is off by default!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top