List all versions of a package
Posted
by
askb
on Ask Ubuntu
See other posts from Ask Ubuntu
or by askb
Published on 2014-05-29T11:40:01Z
Indexed on
2014/05/30
3:52 UTC
Read the original article
Hit count: 194
apt
|package-management
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.
© Ask Ubuntu or respective owner