- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: rpm question
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
Forums
Discussions
Discussions
Discussions
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
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
05-13-2005 04:08 AM
05-13-2005 04:08 AM
How do you list the content of a rpm package BEFORE it's installed?
rpm -ql only works on installed rpm's
I'm trying to install compat-egcs-6.2-1.1.2.16.i386.rpm, but it has a dependency compat-glibc-6.2, but compat-glibc-7.3 is already installed. Is it OK to install multiple versions of glibc? That's why I was trying to get a list of packages within the rpm so I can see where it would install.
Thanks,
Masaki
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2005 04:50 AM
05-13-2005 04:50 AM
Re: rpm question
install-options
[--aid] [--allfiles] [--badreloc] [--excludepath OLDPATH]
[--excludedocs] [--force] [-h,--hash]
[--ignoresize] [--ignorearch] [--ignoreos]
[--includedocs] [--justdb] [--nodeps]
[--nodigest] [--nosignature] [--nosuggest]
[--noorder] [--noscripts] [--notriggers]
[--oldpackage] [--percent] [--prefix NEWPATH]
[--relocate OLDPATH=NEWPATH]
[--repackage] [--replacefiles] [--replacepkgs]
[--test]
Try the --test option with the -vv option.
It might give you what you need.
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
05-13-2005 04:52 AM
05-13-2005 04:52 AM
Re: rpm question
-p
Query an (uninstalled) package
style URL, in which case the package header will be
downloaded and queried. See FTP/HTTP OPTIONS for
information on RPM's built-in ftp and http client
support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2005 05:04 AM
05-13-2005 05:04 AM
Re: rpm question
It won't let you have two different verions of rpms. You should resolve all the dependencies while installing and I'm afraid that you'll have to downgrade glibc vecause the rpm you're trying to install is old and there are no newer versions of it.
Like it says on rpmfind.net:
"This package includes a compiler that can be to generate binaries that will run on older Red Hat Linux systems (namely Red Hat Linux 6.2)"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2005 02:39 PM
05-13-2005 02:39 PM
Re: rpm question
The '-p' means 'query package file', as against 'query installed database'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2005 08:42 PM
05-13-2005 08:42 PM
Solution1. you can use -p option to query a rpm file for its contents before it gets installed.
eg: rpm -qpil
it will list package information(name, version,arch etc and list of files available under that rpm). you can pipe this output to less command if it goes beyond a page output
2. i believe you are trying to egcs libraries of RH 6.2 version in to RH 7.3
unless you have absolute requirement to do this, dont do this. Better install compat-egcs for RH 7.3(you can download them from RH website or rpmfind.net)
if you really want to use only this version then you can try installing the rpm with --nodeps which means it will install the rpm without dependency check. eg: rpm --nodeps -ivh compat-egcs-6.2-1.1.2.16.i386.rpm
But there is no guarantee that the installed RPM will work fine. At the same time if you downgrade the version of compat-glibc in your system then existing package which depends on this library will not run.
You call for it,
Gopi