List all versions of a package
- by askb
Is there a equivalent of this command; yum list kernel-headers --showduplicates on Ubuntu with apt-get, apt-cache etc. The above command lists various versions of the kernel-headers rpm available on F20/RHEL or installations.
Closet I can get using apt-cache showpkg, not sure if there is a better way ?
$ apt-cache showpkg linux-image
Package: linux-image
Versions:
Reverse Depends:
firmware-crystalhd,linux-image
systemtap,linux-image
fiaif,linux-image
Dependencies:
Provides:
Reverse Provides:
linux-image-3.13.0-27-lowlatency 3.13.0-27.50
linux-image-3.13.0-27-generic 3.13.0-27.50
linux-image-3.13.0-24-lowlatency 3.13.0-24.47
linux-image-3.13.0-24-generic 3.13.0-24.47
linux-image-3.13.0-24-lowlatency 3.13.0-24.46
linux-image-3.13.0-24-generic 3.13.0-24.46
Expecting similar output:
$ yum list kernel-headers --showduplicates
Loaded plugins: langpacks, refresh-packagekit
Installed Packages
kernel-headers.x86_64 3.11.10-301.fc20 @fedora
Available Packages
kernel-headers.x86_64 3.11.10-301.fc20 fedora
kernel-headers.x86_64 3.14.4-200.fc20 updates
This would help me simply do a downgrade or upgrade to a specific version.