- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: linux rpm command
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 05:51 AM
тАО01-11-2007 05:51 AM
linux rpm command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 06:14 AM
тАО01-11-2007 06:14 AM
Re: linux rpm command
rpm -qa |grep
This will obtain the package version. You can identify if the version is the required from the result of that command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 06:38 AM
тАО01-11-2007 06:38 AM
Re: linux rpm command
rpm packaging overwrites the previous verion of the package in most cases, leaving no trace of the previous version. Thats what up2date does, which issues an rpm -Uvh or -Fvh to install the newer package.
Ivan's command will work, if indeed the package is there.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 06:58 AM
тАО01-11-2007 06:58 AM
Re: linux rpm command
up2date -l kernel*
shows your current installed kernel-* verison and newer version available
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2007 10:48 AM
тАО01-14-2007 10:48 AM
Re: linux rpm command
If you'are using a yum based distro like Fedora or Red Hat Enterprise Linux >= 5, you can use 'yum check-update' or 'yum list
For Red Hat 2.1/3.0/4.0 you can use:
'up2date -l package' as George said before.
If you're running SuSE you might want to try the yast utility.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2007 11:37 PM
тАО01-14-2007 11:37 PM
Re: linux rpm command
/var/log/rpmpkgs
you will find what rpm are installed, but there is normaly also some /var/log/rpmpkgs.1
/var/log/rpmpkgs.2 /var/log/rpmpkgs.'x'
theses files are rotated by logrotate and the number of version in the /var/log and rate at which the files are created is set by the conf file. /etc/logrotate.conf
This can sometimes be usefull if to find the package that have 'recently' been updated...and the 'old' previous version.
like ex:
# diff /var/log/rpmpkgs /var/log/rpmpkgs.1
# diff /var/log/rpmpkgs /var/log/rpmpkgs.2
# diff /var/log/rpmpkgs /var/log/rpmpkgs.'x'
sometime /var/log/messages and messages.1 etc can also be usefull
enjoy life.
Jean-Pierre Huc