LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-14-2008, 08:40 PM   #1
sean_zhang
LQ Newbie
 
Registered: Aug 2007
Posts: 26

Rep: Reputation: 15
About the --aid option for rpm


--aid Add suggested packages to the transaction set when needed.

$ cd /media/RHEL5.1\ x86_64\ DVD/Server/
$ rpm -ivh hwbrowser-<version>-noarch.rpm --aid

The output still indicates that the pyparted is needed, installation aborted.
I thought that the --aid will help to solve the dependency issue. Do I misunderstand something?

Is there a way to solve dependency issue for RHEL, like YaST for SuSE?
 
Old 02-14-2008, 08:59 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Install apt4rpm. It's a port of the Debian apt-get system of software management and dependency resolution to the rpm format. You must edit /etc/apt/sources.list to add the proper repositories for your rpm-based distro. After that, apt-get takes care of resolving dependencies.
 
Old 02-14-2008, 09:06 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Is the pyparted package available? If not or the package available was the wrong one, that won't work.

If you have both packages, you could include both of them as arguments your rpm command. This also helps if you have a circular dependency problem.

You could also use your package manager as well. It will select dependencies for you.
I think it is called "system-config-packages" on Fedora Core.
 
Old 02-14-2008, 09:36 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
5.1 should be using yum.

yum install hwbrowser
 
Old 02-15-2008, 03:01 AM   #5
sean_zhang
LQ Newbie
 
Registered: Aug 2007
Posts: 26

Original Poster
Rep: Reputation: 15
I cannot find any packages that are NOT installed via system-config-packages. Is it because my Red Hat is not registered with RHN?
# yum install hwbrowser-<version>.noarch.rpm
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Loading "security" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Examining hwbrowser-0.30-1.el5.noarch.rpm: hwbrowser - 0.30-1.el5.noarch
Marking hwbrowser-0.30-1.el5.noarch.rpm to be installed
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package hwbrowser.noarch 0:0.30-1.el5 set to be updated
--> Running transaction check
--> Processing Dependency: pyparted >= 1.6 for package: hwbrowser
--> Finished Dependency Resolution
Error: Missing Dependency: pyparted >= 1.6 is needed by package hwbrowser
 
Old 02-15-2008, 03:04 AM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Yep. Centos is RHEL with the logos removed. It is binary compatible with RHEL. You can use their repositories instead of RH's. Centos is free to download. www.centos.org


http://www.centos.org/modules/newbb/...?topic_id=7905

Last edited by lazlow; 02-15-2008 at 03:06 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
--aid switch for rpm command in centos 5 roboscorp Linux - Server 4 04-23-2007 03:55 AM
--aid switch is not working with rpm command livetoday Red Hat 1 06-15-2006 09:50 AM
About rpm option satimis Fedora 6 05-21-2006 04:51 AM
rpm have --nodeps option with dpkg is such an option available deepclutch Debian 2 03-26-2006 09:49 PM
rpm --aid problem hemings SUSE / openSUSE 1 10-28-2004 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration