[opensuse] zypper and Yast repositories
Finally started to read the zypper man page after using it since 11.2. Is there a better place to get really acquainted with zypper? What I learned is that man pages are still not written for normal users. It is e.g. still not clear to me if zypper uses the repositories which I have chosen in Yast. Thought that there was somewhere a hint in that direction. Eager to learn more about zypper and how to find locations of repositories I even had a look at http://en.opensuse.org/Libzypp/URI That page has no content so what remains is the SuSE list before I start looking with google.. -- Linux User 183145 using LXDE on a Pentium IV , powered by openSUSE 11.3 (i586) Kernel: 2.6.34-12-default LXDE WM & KDE Development Platform: 4.4.93 (KDE 4.4.93 (KDE 4.5 >= 20100713)) 19:01pm up 1 day 1:25, 2 users, load average: 0.24, 0.41, 0.46 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Jul 23, 2010 at 8:33 AM, C. Brouerius van Nidek
Finally started to read the zypper man page after using it since 11.2. Is there a better place to get really acquainted with zypper? What I learned is that man pages are still not written for normal users. It is e.g. still not clear to me if zypper uses the repositories which I have chosen in Yast. Thought that there was somewhere a hint in that direction. Eager to learn more about zypper and how to find locations of repositories I even had a look at http://en.opensuse.org/Libzypp/URI That page has no content so what remains is the SuSE list before I start looking with google..
zypper and yast share the shame back-end for managing repos and packages. So anything you do in one effects the other aiui. As to finding repos, you mean at the remote end, right? If so: As an example. you can do zypper lr # to find your main repos, zypper lr <oss> <non-oss> <update> to drill down and verify that the repos point at the final 11.3 repos. If you then want to disable all except update, you could do: zypper mr --disable --all zypper mr --enable <update> HTH Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
C. Brouerius van Nidek wrote:
Finally started to read the zypper man page after using it since 11.2. Is there a better place to get really acquainted with zypper? What I learned is that man pages are still not written for normal users. It is e.g. still not clear to me if zypper uses the repositories which I have chosen in Yast. Thought that there was somewhere a hint in that
All repos are in /etc/zypp/repos.d/ directory and AFAIK yast and zypper use the same repos found in the above directory
direction. Eager to learn more about zypper and how to find locations of repositories I even had a look at http://en.opensuse.org/Libzypp/URI That page has no content so what remains is the SuSE list before I start looking with google..
Until it finds itself in the new wiki shelves the old location is http://old-en.opensuse.org/Libzypp/URI Hope this helps Togan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday, July 23, 2010 08:26:47 pm Togan Muftuoglu wrote:
C. Brouerius van Nidek wrote:
Finally started to read the zypper man page after using it since 11.2. Is there a better place to get really acquainted with zypper? What I learned is that man pages are still not written for normal users. It is e.g. still not clear to me if zypper uses the repositories which I have chosen in Yast. Thought that there was somewhere a hint in that
All repos are in /etc/zypp/repos.d/ directory and AFAIK yast and zypper use the same repos found in the above directory
direction. Eager to learn more about zypper and how to find locations of repositories I even had a look at http://en.opensuse.org/Libzypp/URI That page has no content so what remains is the SuSE list before I start looking with google..
Until it finds itself in the new wiki shelves the old location is
It helps ;) Thanks. Becomes a little bit clearer. But one of my problems concerns e.g. updates for openSUSE 11.3 11.3-1.71 which I found with the help of Greg and zypper lr. Does that mean that I only get updates for 11.3 11.3-1.71 which seems 11.3 and a version number. In Yast repositories the input was only http://download.opensuse.org/distribution11.3/rep/oss/ Do I need to change it in zypper? -- Linux User 183145 using LXDE on a Pentium IV , powered by openSUSE 11.3 (i586) Kernel: 2.6.34-12-default LXDE WM & KDE Development Platform: 4.4.93 (KDE 4.4.93 (KDE 4.5 >= 20100713)) 21:58pm up 1 day 4:22, 3 users, load average: 0.02, 0.17, 0.41 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Jul 23, 2010 at 11:08 AM, C. Brouerius van Nidek
On Friday, July 23, 2010 08:26:47 pm Togan Muftuoglu wrote:
C. Brouerius van Nidek wrote:
Finally started to read the zypper man page after using it since 11.2. Is there a better place to get really acquainted with zypper? What I learned is that man pages are still not written for normal users. It is e.g. still not clear to me if zypper uses the repositories which I have chosen in Yast. Thought that there was somewhere a hint in that
All repos are in /etc/zypp/repos.d/ directory and AFAIK yast and zypper use the same repos found in the above directory
direction. Eager to learn more about zypper and how to find locations of repositories I even had a look at http://en.opensuse.org/Libzypp/URI That page has no content so what remains is the SuSE list before I start looking with google..
Until it finds itself in the new wiki shelves the old location is
It helps ;) Thanks. Becomes a little bit clearer. But one of my problems concerns e.g. updates for openSUSE 11.3 11.3-1.71 which I found with the help of Greg and zypper lr. Does that mean that I only get updates for 11.3 11.3-1.71 which seems 11.3 and a version number. In Yast repositories the input was only http://download.opensuse.org/distribution11.3/rep/oss/ Do I need to change it in zypper?
I'm not sure what you're seeing that says "11.3-1.71". I have: # zypper lr # | Alias | Name | Enabled | Refresh ---+----------------------------+-------------------------+---------+-------- 1 | Kernel:HEAD | Kernel:HEAD | No | No 2 | OpenOffice.org:STABLE | OpenOffice.org:STABLE | No | Yes 3 | Packman_Repository | Packman Repository | Yes | Yes 4 | download.opensuse.org-oss | Main Repository (DEBUG) | No | Yes 5 | download.videolan.org-SuSE | VideoLan Repository | No | Yes 6 | openSUSE-11.3_Contrib | openSUSE-11.3 Contrib | No | Yes 7 | openSUSE:Tools | openSUSE:Tools | No | Yes 8 | repo-11.3-non-oss | openSUSE-11.3 Non-OSS | Yes | No 9 | repo-11.3-oss | openSUSE-11.3 OSS | Yes | No 10 | repo-11.3-update | openSUSE-11.3 Updates | Yes | Yes So my oss repo is 9 and # zypper lr 9 Alias : repo-11.3-oss Name : openSUSE-11.3 OSS URI : http://download.opensuse.org/distribution/11.3/repo/oss/ Enabled : Yes Priority : 99 Auto-refresh : Off Keep Packages : Off Type : yast2 GPG Check : On GPG Key URI : Path Prefix : Parent Service : MD Cache Path : /var/cache/zypp/raw/repo-11.3-oss And that URI matches what you said you put in Yast. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Jul 23, 2010 at 8:33 AM, C. Brouerius van Nidek
Finally started to read the zypper man page after using it since 11.2. Is there a better place to get really acquainted with zypper? What I learned is that man pages are still not written for normal users. It is e.g. still not clear to me if zypper uses the repositories which I have chosen in Yast. Thought that there was somewhere a hint in that direction. Eager to learn more about zypper and how to find locations of repositories I even had a look at http://en.opensuse.org/Libzypp/URI That page has no content so what remains is the SuSE list before I start looking with google..
fyi, I was just looking on the wiki for "zypper lr" info and was pleasantly surprised they had a fair amount of info. http://en.opensuse.org/SDB:Zypper_usage#Listing_defined_repositories I added another example of drilling down, but will take a bit to get approved I assume. (My SpiderOak edit of a couple days ago has been accepted, so it only takes a couple days for edits to be approved apparently. (That's a hint to any lurkers out there.)) Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 23 July 2010 22:35:23 Greg Freemyer wrote:
On Fri, Jul 23, 2010 at 8:33 AM, C. Brouerius van Nidek
wrote: Finally started to read the zypper man page after using it since 11.2. Is there a better place to get really acquainted with zypper? What I learned is that man pages are still not written for normal users. It is e.g. still not clear to me if zypper uses the repositories which I have chosen in Yast. Thought that there was somewhere a hint in that direction. Eager to learn more about zypper and how to find locations of repositories I even had a look at http://en.opensuse.org/Libzypp/URI That page has no content so what remains is the SuSE list before I start looking with google..
fyi, I was just looking on the wiki for "zypper lr" info and was pleasantly surprised they had a fair amount of info.
http://en.opensuse.org/SDB:Zypper_usage#Listing_defined_repositories
Greg, There is also a zypper cheat sheet in a PDF format out there some where. Google it. Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Bob S
-
C. Brouerius van Nidek
-
Greg Freemyer
-
Togan Muftuoglu