-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-07-02 13:45, Anton Aylward wrote:
On 07/02/2015 07:41 AM, Carlos E. R. wrote:
But I repeat: neither method caters for repositories.
which gets back to my version of the 'rpm -qa' that includes the URL.
?? Let me see. cer@minas-tirith:~> rpm -qa --qf "%{NAME}\t%{DISTURL}\n" libdrm_nouveau2 obs://build.opensuse.org/openSUSE:13.1/standard/6e54f61ac4b419fd5831dd2e921b58a2-libdrm libgcrypt11-32bit obs://build.opensuse.org/openSUSE:Maintenance:2961/openSUSE_13.1_Update/ea4836cd9a2de039535ba5953f4c6c6e-libgcrypt.openSUSE_13.1_Update texlive-concrete obs://build.opensuse.org/openSUSE:13.1/standard/397f03548a1a456670144b62d4f3a860-texlive-specs-c geoclue2 obs://build.opensuse.org/openSUSE:13.1/standard/55d6a9b4d9b23fff26cba462d60a60ae-geoclue2 insserv-compat obs://build.opensuse.org/openSUSE:13.1/standard/aa3b56cb41311f3ba5d5a17b1cda2e68-insserv-compat texlive-present obs://build.opensuse.org/openSUSE:13.1/standard/136172f0ea6b3aeab091105d2d7420de-texlive-specs-p libzvbi0 obs://build.opensuse.org/openSUSE:13.1/standard/cd43bd20adb415691841f5e64ab7b7b2-zvbi libmysqlcppconn6 obs://build.opensuse.org/LibreOffice:4.3/openSUSE_13.1/09ac97b520741f43c52499496cca81cb-mysql-connector-cpp texlive-latexpand obs://build.opensuse.org/openSUSE:Maintenance:2684/openSUSE_13.1_Update/b025d425835eed128df649cd9099d982-texlive-specs-l.openSUSE_13.1_Update libva-x11-1 obs://build.opensuse.org/openSUSE:13.1/standard/09ba04452bea1f3dc5fe864a42e25b45-libva It is not an http URL. I don't know where those hashes come from. If the package version changes an iota, the URL maybe is not valid. I don't see how to feed that to zypper... We need a method that lists packages from each repository. I have been told of a method: zypper se -si --sort-by-repo ... S | Name | Type | Version | Arch | Repository - --+--------------------------------------------+---------+--------------------------------------+--------+----------------------------- i | handbrake-cli | package | 0.10.1-2.13 | x86_64 | (System Packages) i | libxmmsclient6 | package | 0.8-2.123 | x86_64 | (System Packages) i | libxmmsclient-glib1 | package | 0.8-2.123 | x86_64 | (System Packages) i | libbellesip0 | package | 1.4.0-11.9 | x86_64 | (System Packages) i | xmms2-plugin-base | package | 0.8-2.123 | x86_64 | (System Packages) i | handbrake-gtk | package | 0.10.1-2.13 | x86_64 | (System Packages) i | xmms2 | package | 0.8-2.123 | x86_64 | (System Packages) i | ffmpeg2theora | package | 0.29-2.100 | x86_64 | (System Packages) i | xine-ui | package | 0.99.9-50.16 | x86_64 | (System Packages) i | webpin | package | 1.2.4-2.1 | noarch | (System Packages) i | wifi-radar | package | 2.0.s08-2.1 | noarch | (System Packages) i | wtf | package | 20071004-2.1 | noarch | Local RPMs i | cgrep | package | 8.15-2.1 | x86_64 | Local RPMs 13.1 i | pstotext | package | 1.9-1.1 | x86_64 | Local RPMs 13.1 i | trickle | package | 1.07-9.1 | x86_64 | Local RPMs 13.1 i | xpdf | package | 3.03-6.1 | x86_64 | Local RPMs 13.1 i | fpc-doc | package | 2.6.4-1.1 | x86_64 | OBS devel:languages:pascal i | fpc | package | 2.6.4-1.1 | x86_64 | OBS devel:languages:pascal i | libQt4Pas5 | package | 2.5-1.1 | x86_64 | OBS devel:languages:pascal i | fpc-src | package | 2.6.4-1.1 | x86_64 | OBS devel:languages:pascal i | lazarus | package | 1.4.0-1.1 | x86_64 | OBS devel:languages:pascal i | ktranslator | package | 0.4-83.16 | x86_64 | OBS KDE:DE3 i | rekall | package | 2.4.6-118.17 | x86_64 | OBS KDE:DE3 i | rekall-examples | package | 2.4.6-118.17 | x86_64 | OBS KDE:DE3 i | rekall-mysql | package | 2.4.6-118.17 | x86_64 | OBS KDE:DE3 i | rekall-sqlite | package | 2.4.6-118.17 | x86_64 | OBS KDE:DE3 i | rekall-xbase | package | 2.4.6-118.17 | x86_64 | OBS KDE:DE3 i | libvisual-32bit | package | 0.4.0-393.1 | x86_64 | OBS KDE:DE3 i | cdr2epub | package | 0.9.2-2.1 | x86_64 | OBS: LibreOffice 4.3 i | cdr2odg | package | 0.9.2-2.1 | x86_64 | OBS: LibreOffice 4.3 i | cmx2epub | package | 0.9.2-2.1 | x86_64 | OBS: LibreOffice 4.3 i | cmx2odg | package | 0.9.2-2.1 | x86_64 | OBS: LibreOffice 4.3 i i | openSUSE-2015-446 | patch | 1 | noarch | openSUSE-13.1-Update i | openSUSE-2015-443 | patch | 1 | noarch | openSUSE-13.1-Update i | openSUSE-2015-447 | patch | 1 | noarch | openSUSE-13.1-Update i | openSUSE-2015-451 | patch | 1 | noarch | openSUSE-13.1-Update i | flash-player | package | 11.2.202.468-123.1 | x86_64 | openSUSE-13.1-Update-Non-Oss i | flash-player-gnome | package | 11.2.202.468-123.1 | x86_64 | openSUSE-13.1-Update-Non-Oss i | openSUSE-2013-624 | patch | 1 | noarch | openSUSE-13.1-Update-Non-Oss i | openSUSE-2013-689 | patch | 1 | noarch | openSUSE-13.1-Update-Non-Oss i | openSUSE-2013-879 | patch | 1 | noarch | openSUSE-13.1-Update-Non-Oss This is not usable right away: it lists patches, many packages appear listed as from (System Packages), whatever that is. We could filter on type packages (-t). But even then... you have to script it a lot. There is no rpm command that lists all the rpms and the repository they came from, because the rpm command doesn't know anything about repositories. That's is zypper/yast/apper labor. And zypper does not produce a list in an usable manner; not that I know. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlWVKC8ACgkQja8UbcUWM1xz7AD/acJjyoCPyU5js3zieGwWNIGz FAngg8Tl/2ER1AAjbuEBAJAs6mSCddhOEX2jx9qOKQT1jjVQWoeqRrVPesfFq2MV =EQyW -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org