Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
one package is blocking other one. how to prevent it.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
gunawatmahipal
n00b
n00b


Joined: 30 Aug 2013
Posts: 7

PostPosted: Fri Aug 30, 2013 6:27 pm    Post subject: one package is blocking other one. how to prevent it. Reply with quote

sys-apps/shadow is blocking sys-auth/pambase. How to resolve it? I tried adding "-sys-apps/shadow" in USE flag but it dosen't make a difference.



(chroot)mahii-pc / # emerge sys-auth/pambase
Calculating dependencies... done!
[ebuild N ] sys-auth/pambase-20120417-r2 USE="cracklib sha512 -consolekit -debug -gnome-keyring -minimal -mktemp -pam_krb5 -pam_ssh -passwdqc (-selinux) -systemd"
[blocks B ] <sys-apps/shadow-4.1.5-r1 ("<sys-apps/shadow-4.1.5-r1" is blocking sys-auth/pambase-20120417-r2)

* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.

(sys-apps/shadow-4.1.4.3::gentoo, installed) pulled in by
>=sys-apps/shadow-4.1 required by (virtual/shadow-0::gentoo, installed)

(sys-auth/pambase-20120417-r2::gentoo, ebuild scheduled for merge) pulled in by
sys-auth/pambase
>=sys-auth/pambase-20081028 required by (net-misc/openssh-5.9_p1-r4::gentoo, installed)
sys-auth/pambase required by (sys-libs/pam-1.1.6-r2::gentoo, installed)
sys-auth/pambase required by (sys-apps/openrc-0.11.8::gentoo, installed)
>=sys-auth/pambase-20080219.1 required by (sys-apps/shadow-4.1.4.3::gentoo, installed)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54234
Location: 56N 3W

PostPosted: Fri Aug 30, 2013 6:33 pm    Post subject: Reply with quote

gunawatmahipal,

Welcome to Gentoo.

Read the block message carefully
Portage:
[blocks B ] <sys-apps/shadow-4.1.5-r1 ("<sys-apps/shadow-4.1.5-r1" is blocking sys-auth/pambase-20120417-r2)


The important bit in this case in the < in <sys-apps/shadow-4.1.5-r1. This suggests that if you had a more recent sys-apps/shadow, it would work.

Try
Code:
emerge -1 sys-apps/shadow
then repeat your original emerge command that failed.
This is not the way you fix all hard blocks but as you have a comparision operator and version information, its worth trying.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
gunawatmahipal
n00b
n00b


Joined: 30 Aug 2013
Posts: 7

PostPosted: Sun Sep 01, 2013 11:27 am    Post subject: Reply with quote

Thank You. Now my this problem is solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum