Quiero obtener una lista de todas las versiones disponibles de un paquete, la misma lista que puedes ver en Yast, pero usando zypper.
OpenSuse 13.1, zypper 1.9.16
Uso search -s
. Por ejemplo, sudo zypper search -s fortune
podría dar esta salida:
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
--+---------+------------+--------------+--------+-------------------------------
i | fortune | package | 1.99.1-6.1.4 | x86_64 | 13.1-OpenSUSE-InstallOss
i | fortune | package | 1.99.1-6.1.4 | x86_64 | Tumbleweed-OpenSUSE-InstallOss
v | fortune | package | 1.99.1-4.1.2 | x86_64 | 12.3-OpenSUSE-Oss
v | fortune | package | 1.99.1-6.1.4 | i586 | 13.1-OpenSUSE-InstallOss
v | fortune | package | 1.99.1-6.1.4 | i586 | Tumbleweed-OpenSUSE-InstallOss
v | fortune | package | 1.99.1-4.1.2 | i586 | 12.3-OpenSUSE-Oss
| fortune | srcpackage | 1.99.1-6.1.4 | noarch | 13.1-OpenSUSE-SourceOss
| fortune | srcpackage | 1.99.1-6.1.4 | noarch | Tumbleweed-OpenSUSE-SourceOss
| fortune | srcpackage | 1.99.1-4.1.2 | noarch | 12.3-OpenSUSE-SourceOss