Can zypper pull in list of community repos ?

Can zypper pull in list of community repos ? I know that YaST can do some sort of scan and find out the list of Community repos and then we can check and uncheck required ones and the repos appear in both YaST as well as zypper. Can zypper pull the list of community repos. If so how ? If any SDB is available for this please point me to to the relevant link.

On 12/05/2012 07:46 PM, vazhavandan wrote:
> Can zypper pull the list of community repos. > If so how ?

see man zypper


dd

I am able to pull the urls configured through YaST alone in zypper using “zypper ls”
** I am able to pull this list**
http://i.imgur.com/6hi1Ml.png](http://imgur.com/6hi1M)
** But how can i get this list ?**
http://i.imgur.com/o8SrRl.png](http://imgur.com/o8SrR)

> But how can i get this list ?
> ‘[image: http://i.imgur.com/o8SrRl.png]’ (http://imgur.com/o8SrR)

i guess that means you have searched through man zypper and don’t find
the answer to your question…in a cursory look i don’t find it either…

maybe someone else knows a better source to learn the deep, dark secrets
of zypper…these are the only ones i know, some are pretty old, and i
didn’t look past man to try to answer your question:

https://en.opensuse.org/images/1/17/Zypper-cheat-sheet-1.pdf
https://en.opensuse.org/images/3/30/Zypper-cheat-sheet-2.pdf
https://en.opensuse.org/SDB:Zypper_usage_11.3
https://en.opensuse.org/openSUSE:Zypper_versions
https://www.google.com/search?q=site%3Aopensuse.org+zypper+guide+OR+how-to
https://www.google.com/search?q=site%3Adoc.opensuse.org+zypper
https://www.google.dk/search?q=-suse+-opensuse+zypper

but, since you have the list you want already (in YaST) do you need it
bad enough in zypper to do all of that reading?

and finally, if you can’t find how to do it with zypper and think that
capability should be included, then maybe you need to start a new
feature request, here https://features.opensuse.org/

but, i’d recommend you make sure the capability is not there, and a real
need exists before you ask for it…

because FATEs don’t get worked until some minimum level of need is
demonstrated via community voting…


dd

On 2012-12-06 06:36, vazhavandan wrote:
>
> I am able to pull the urls configured through YaST alone in zypper using
> “zypper ls”
> I am able to pull this list
> ‘[image: http://i.imgur.com/6hi1Ml.png]’ (http://imgur.com/6hi1M)
> But how can i get this list ?
> ‘[image: http://i.imgur.com/o8SrRl.png]’ (http://imgur.com/o8SrR)

AFAIK, no.

However, that list comes from somewhere, I think it is a web page. It is
a question of learning where it comes from.

Maybe it shows in the yast log.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

I did read through some zypper material before creating this thread
Maybe i did not get the question right :slight_smile:

Typically I’ve found there is an official openSUSE(wiki?) web page that lists various repos, including optional and Community repos. The page URL has changed often, so I don’t know that posting a URL here would be useful beyond the current versions.

For each repo listed the URI is given, just paste that into your zypper addrepo command withe the appopriate options like autorefresh and enable, you should be good to go.

TSU

I understand that . But my point is YaST is magically able to get one big list of community repos
I canuldn’t find a zypper equivalent doing the same. Where is is this list coming from?
Will zypper be able to tap into this list ? That is the question we need to answer.

This would be really useful if one is stuck with command line after x fails and you want to get list of zypper community repos and do zypper dup or something
Of course we may always say that since the previous update triggered failure of x your YaST will already contain the OSS,Update,Non-Oss repos etc
So all we need to do is disable other repos and do a zypper dup.

On 2012-12-25 18:16, vazhavandan wrote:

> I understand that . But my point is YaST is magically able to get one
> big list of community repos
> I canuldn’t find a zypper equivalent doing the same. Where is is this
> list coming from?

It will be in the yast logs :slight_smile:

> Will zypper be able to tap into this list ? That is the question we
> need to answer.

It would be a new feature.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

This wouldn’t be the only instance YAST has a feature that is unavailable in zypper.

Another is listing the file contents of an RPM. Not possible using zypper, but is available using YAST or the RPM command.

TSU