[opensuse] yast, repositories view
Hello, I just found a feature of the yast, software, repositories view that I think odd, and I would like to know what you think I want to use this view to know what application come from what repo. but in fact, looks like if a software exists in the repo and is installed from any repo (including the others), it is listed as installed in the repo view. example. Audacity is installed from packman. It's also available in the repo:multimedia:apps view. so one have to look at any individual application to know what the application come from I had to go torepo view, multimedia:apps, audacity, I see it as installed. I have to go to 'version' to see it is from packman this is a problem, because I try to avoid using different repos for too similar applications may be there is a zypper command that could allow me to have what exactly is installed form a given repo? thanks jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* jdd <jdd@dodin.org> [12-25-13 08:14]: [...]
may be there is a zypper command that could allow me to have what exactly is installed form a given repo?
zypper se -s --match-exact audacity will show you which repos provide audacity and which you have installed but will not provide a list of all the packages you have installed from that particular repo. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 25/12/2013 14:19, Patrick Shanahan a écrit :
* jdd <jdd@dodin.org> [12-25-13 08:14]: [...]
may be there is a zypper command that could allow me to have what exactly is installed form a given repo?
zypper se -s --match-exact audacity
will show you which repos provide audacity and which you have installed but will not provide a list of all the packages you have installed from that particular repo.
is there a zypper command that lists all the packages with the relevant repo, I could grep? I have to admit I'm a bit lost in all the zypper commands :-( thanks jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* jdd <jdd@dodin.org> [12-26-13 03:03]:
Le 25/12/2013 14:19, Patrick Shanahan a écrit :
* jdd <jdd@dodin.org> [12-25-13 08:14]: [...]
may be there is a zypper command that could allow me to have what exactly is installed form a given repo?
zypper se -s --match-exact audacity
will show you which repos provide audacity and which you have installed but will not provide a list of all the packages you have installed from that particular repo.
is there a zypper command that lists all the packages with the relevant repo, I could grep?
Not that I know, but "zypper -v dup" will show a change in repo before accepting completion of the upgrade. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/26/2013 03:03 AM, jdd pecked at the keyboard and wrote:
Le 25/12/2013 14:19, Patrick Shanahan a écrit :
* jdd <jdd@dodin.org> [12-25-13 08:14]: [...]
may be there is a zypper command that could allow me to have what exactly is installed form a given repo?
zypper se -s --match-exact audacity
will show you which repos provide audacity and which you have installed but will not provide a list of all the packages you have installed from that particular repo.
is there a zypper command that lists all the packages with the relevant repo, I could grep?
I have to admit I'm a bit lost in all the zypper commands :-(
thanks jdd
Do what I do, enter the zypper arg followed by --help to get further info. zypper se --help will give you more options. :-) -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
jdd said the following on 12/26/2013 03:03 AM:
Le 25/12/2013 14:19, Patrick Shanahan a écrit :
* jdd <jdd@dodin.org> [12-25-13 08:14]: [...]
may be there is a zypper command that could allow me to have what exactly is installed form a given repo?
zypper se -s --match-exact audacity
will show you which repos provide audacity and which you have installed but will not provide a list of all the packages you have installed from that particular repo.
is there a zypper command that lists all the packages with the relevant repo, I could grep?
I have to admit I'm a bit lost in all the zypper commands :-(
I don't know of a way to do it in Zypper/CLI but in the GUI mode (is that what people call YAST? I though YAST was more general?) that I get to with "install/remove software" on the pop-up menu, a window titled "Software Manager", there is a tab on the top bar labelled 'Repositories". I click on that and I get on the left a list of repositories. Selecting one I can see what is available there, what is installed there, what is banned there. This achieves the OP's objective, just not on the command line.
I understand there is still a lacking info pay be there should a nex tick box color "installed, but from an other repo"
It's a pretty important problem, because now many repos can hold the same app and knowing what repo do is very critical for some operations.
In effect the first is there. If I select a installed package in the Software manager and select the "Files" tab it tells me all the versions that are available in all the active repositories. As far as I can see, removing a repo does not remove the installed packages. On the whole I personally prefer using the CLU to the GUI, but some things I can't see a way of doing except with the GUI. -- How long did the whining go on when KDE2 went on KDE3? The only universal constant is change. If a species can not adapt it goes extinct. That's the law of the universe, adapt or die. -- Billie Walsh, May 18 2013 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 26/12/2013 15:55, Anton Aylward a écrit :
In effect the first is there. If I select a installed package in the Software manager and select the "Files" tab it tells me all the versions that are available in all the active repositories.
yes, but when you ave dozen of applications here, keeping track is ot easy it's what I explained in the first place :-) jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
well I digged around zypper and found this use "zypper lr" to list the used repositories and they exact name use this name in a line like zypper se -i -r multimedia:apps to get Chargement des données du dépôt... Lecture des paquets installés... S | Nom |Résumé | Type --+--------------+-------------------------------- i | cdrecord | A CD/DVD/BD recording program | paquet i | libscg1_0 | An OS-independent SCSI transport library | paquet i | libschily1_0 | Support library for SING utilities | paquet i | mkisofs | A program to generate an ISO-9660/JOLIET/HFS/UDF hybrid filesystem | paquet i | shotcut| A free, open source, cross-platform video editor|paquet that is exactly what I wanted thanks jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/26/2013 10:42 AM, jdd pecked at the keyboard and wrote:
well I digged around zypper and found this
use "zypper lr" to list the used repositories and they exact name
use this name in a line like
zypper se -i -r multimedia:apps to get
Chargement des données du dépôt... Lecture des paquets installés...
S | Nom |Résumé | Type --+--------------+-------------------------------- i | cdrecord | A CD/DVD/BD recording program | paquet i | libscg1_0 | An OS-independent SCSI transport library | paquet i | libschily1_0 | Support library for SING utilities | paquet i | mkisofs | A program to generate an ISO-9660/JOLIET/HFS/UDF hybrid filesystem | paquet i | shotcut| A free, open source, cross-platform video editor|paquet
that is exactly what I wanted
thanks jdd
And if you use the -s option as well you will get more info about each repo such as version number and arch. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 26/12/2013 21:42, Ken Schneider - openSUSE a écrit :
And if you use the -s option as well you will get more info about each repo such as version number and arch.
great, thanks jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 25/12/13 13:11, jdd wrote:
Hello,
I just found a feature of the yast, software, repositories view that I think odd, and I would like to know what you think
I want to use this view to know what application come from what repo.
but in fact, looks like if a software exists in the repo and is installed from any repo (including the others), it is listed as installed in the repo view.
example. Audacity is installed from packman. It's also available in the repo:multimedia:apps view.
so one have to look at any individual application to know what the application come from
I had to go torepo view, multimedia:apps, audacity, I see it as installed. I have to go to 'version' to see it is from packman
this is a problem, because I try to avoid using different repos for too similar applications
may be there is a zypper command that could allow me to have what exactly is installed form a given repo?
thanks jdd
Although a given package will show up in all the repos where it is available in YaST, the version you have installed only comes from one repo. And if you ask YaST to update it, it will update from the package's installation repo, not from the repo you are currently viewing. It seems confusing, but if YaST only showed it in the repo from which it is installed, there would be no way of changing repo (which is done in the 'Versions' tab.) Season's greetings Bob - -- Bob Williams System: Linux 3.7.10-1.16-desktop Distro: openSUSE 12.3 (x86_64) with KDE Development Platform: 4.11.4 Uptime: 06:00am up 3 days 22:12, 3 users, load average: 0.03, 0.12, 0.14 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlK8B9cACgkQ0Sr7eZJrmU5cwgCgkypnDa/hVlNvGhQwnU7WTIyZ 6tQAoKXojYNe5RAb/rJjEOqcW1DWDfdt =3Zjq -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 26/12/2013 11:41, Bob Williams a écrit :
Although a given package will show up in all the repos where it is available in YaST, the version you have installed only comes from one repo. And if you ask YaST to update it, it will update from the package's installation repo, not from the repo you are currently viewing.
yes
It seems confusing, but if YaST only showed it in the repo from which it is installed, there would be no way of changing repo (which is done in the 'Versions' tab.)
it should just not be shown as installed. The way I understand the "repo" view is to know what package is available/installed from this particular repo. I understand there is still a lacking info pay be there should a nex tick box color "installed, but from an other repo" It's a pretty important problem, because now many repos can hold the same app and knowing what repo do is very critical for some operations. for example: I want to remove a repo from my config. How can I know if I can do this without harming an app? I could live with a command line solution thanks jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2013-12-26 11:47, jdd wrote:
It seems confusing, but if YaST only showed it in the repo from which it is installed, there would be no way of changing repo (which is done in the 'Versions' tab.)
it should just not be shown as installed. The way I understand the "repo" view is to know what package is available/installed from this particular repo.
It shows what is available from the selected repo, installed or not. It is different.
I understand there is still a lacking info pay be there should a nex tick box color "installed, but from an other repo"
Well, I would like to have a new column, showing the repo. At a glance I would see what belongs and what not.
for example: I want to remove a repo from my config. How can I know if I can do this without harming an app?
Removing a repo will do no harm (not immediately), the applications remain. They will display in red, so that you know. -- Cheers, Carlos E. R. (from 13.1 x86_64 "Bottle" (Elessar)) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, On Wed, 25 Dec 2013, jdd wrote:
I want to use this view to know what application come from what repo.
rpm -qa --qf '%{distribution} %{packager} %{name}-%{version}\n' |sort|less The "Packager" tag is only in there because Packman is split into Essentials/Extra/Games/Multimedia (but can be recognized by packager being "packman@links2linux.de"). I've seen you've found a solution with zypper, but it is definitely worthwhile acquainting yourself with rpm's query features. For starters, have a look at 'rpm --querytags'. For using that stuff, have a look at http://www.rpm.org/max-rpm-snapshot/ch-rpm-query.html ff. and http://www.rpm.org/max-rpm-snapshot/s1-rpm-query-parts.html for basics and http://rpm.org/wiki/Docs/QueryFormat for the hopefully up-to-date stuff. rpm is probably one of the most underrated (und underused) programs. And yes, it's a bit slow. Probably should discontinue using BerkleyDB files and/or optimize queries to those files (haven't looked at a ltrace of rpm yet (seems all in "rpmcliQuery")), as any 'rpm -qa' seems mighty slow for just ~4400 installed packages. HTH, -dnh PS: repeated 'rpm -qa |wc -l' result in ~2.4s real --
You can probably make sendmail play chess if you configure it right. Judging by its conf file it already does. Checkmate in 3 moves. -- Anthony Mandic in comp.sys.sun.admin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (7)
-
Anton Aylward
-
Bob Williams
-
Carlos E. R.
-
David Haller
-
jdd
-
Ken Schneider - openSUSE
-
Patrick Shanahan