LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-21-2011, 03:47 AM   #1
galapogos
Member
 
Registered: May 2008
Posts: 227

Rep: Reputation: 30
Circular dependency for RPM installation


Hi,

I have a PC that I've just installed Mandriva Linux 2010.2 KDE4 on. This PC has no internet connection, and I'm trying to install a few RPMs, so I'm downloading them separately from the /main/release and /main/updates/ online repositories.

However, I've realized that some RPMs have circular dependencies, in particular

pkgconfig(xproto) requires pkgconfig(xt) to be installed, which in turn requires devel(libX11) to be installed, which in turn requires pkgconfig(xproto) to be installed.

As you can see, there's no way I can install any of them since they depend on each other. How do I solve this?

Thanks!
 
Old 01-21-2011, 03:53 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,310

Rep: Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573
The usual way of installing rpm packages is a "Chain install" :

# rpm -Uvh <package> <package> <package> <package> <package> <package>

Or, when the packages are in their own directory :
# rpm -Uvh *.rpm


If there still is a problem : # 'rpm -Uvh --nodeps <package>' can be used.

..
 
Old 01-21-2011, 03:53 AM   #3
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 623

Rep: Reputation: 64
Quote:
Originally Posted by galapogos View Post
Hi,

I have a PC that I've just installed Mandriva Linux 2010.2 KDE4 on. This PC has no internet connection, and I'm trying to install a few RPMs, so I'm downloading them separately from the /main/release and /main/updates/ online repositories.

However, I've realized that some RPMs have circular dependencies, in particular

pkgconfig(xproto) requires pkgconfig(xt) to be installed, which in turn requires devel(libX11) to be installed, which in turn requires pkgconfig(xproto) to be installed.

As you can see, there's no way I can install any of them since they depend on each other. How do I solve this?

Thanks!
Try to install one of them forcefully and with -f and --nodeps option, then install another rpm which depends on that. See if that works.
 
Old 01-21-2011, 04:02 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,310

Rep: Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573
Post # 3, @ Sayan Acharjee

The --force option is meant for replacing conflicting files,
which is not the case here.

Please read 'man rpm'.

..
 
Old 01-21-2011, 04:07 AM   #5
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 623

Rep: Reputation: 64
Quote:
Originally Posted by knudfl View Post
Post # 3, @ Sayan Acharjee

The --force option is meant for replacing conflicting files,
which is not the case here.

Please read 'man rpm'.

..
Ya right, thanks for correcting.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
RPM circular logic matthewo256 Linux - Software 3 07-16-2009 01:24 PM
circular aaa<- ddd dependency dropped sarath.pvr Linux - General 1 07-02-2008 02:00 AM
Circular dependency c0d1f1ed Linux - Software 16 03-21-2004 07:01 AM
RPM Circular Dependancies - Another Way? Kilo Linux - General 3 02-19-2004 12:35 PM
circular dependency acid_kewpie Linux - General 13 11-30-2001 03:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration