pam-login (is blocking sys-apps/shadow-4.0.15-r2)


Picture:Clock Published on June 8th, 2006 in Gentoo

After doing an “emerge –sync && emerge -up world” on my Gentoo box, the following error appeared and wouldn’t let me update my system: “sys-apps/pam-login (is blocking sys-apps/shadow-4.0.14-r2)”

So I searched the internet and tried a few things and found this solution, that seemed to help a lot of people: “emerge –buildpkgonly –nodeps shadow && emerge -C pam-login && emerge –usepkgonly shadow”

After executing the above, my system was ready to go again. Hope this one helps a few people.

Note: The “buildpkgonly”, “nodeps” and “usepkgonly” options have to be used with two dashes. I’m mentioning this because it might not be displayed properly in your browser.

Share This

Trackback URL for this post:
http://www.yatblog.com/2006/06/08/pam-login-is-blocking-sys-appsshadow-4015-r2/trackback/


16 comments

    kolor June 13th, 2006

    Yea, thanks alot. that really helped :) Though i’ve got some error message on first and last execute command, I’ve updated the shadow to latest version and could run emerge –update world without any problems, I guess ‘emerge -C pam-login’ helped :)

    Stuart June 17th, 2006

    Thanks so much for posting this. The information was really helpful to me, and your solution worked beautifully, no errors whatsoever. Love your site by the way.

    Martin June 17th, 2006

    Stuart,
    thanks a lot! I just started this site a month ago and I’m still trying to find my style and the right mix between tutorials, problem solving and news. Do you have any suggestions on how I could improve it? I’d love to hear from you.

    Alice McGregor June 20th, 2006

    Thanks! You’re the first hit when searching Google for “sys-apps/pam-login (is blocking sys-apps/shadow” and your solution works fine. (Mumbles something about why an OS would ship with such a problem…)

    zach young July 16th, 2006

    Thanks, this worked great. It’s been a while since I’ve used Gentoo, so I’m a bit rusty on portage. This post helped a lot.

    nogroup July 19th, 2006

    thanks, it helped.

    Aaron VonderHaar July 19th, 2006

    Actually, I read on another website that new versions of shadow includes the same login program that pam-login provides. So the correct solution is to unmerge pam-login and update shadow– worked for me!

    Adam July 19th, 2006

    All I have to say is Thanks ! again you are the first one mentioned and for good reason, I am a noob working with Gentoo and this worked wonderfully. THanks for the great info !

    cYe July 21st, 2006

    buenos dias

    had the same problem but your hint doesn’t solve it clean.
    as aaron mentions the shadow packages now includes the
    pam-login function so you don’t need it any more. so the
    clean way is to remove the old pam-login from your system.

    helpful wiki : http://gentoo-wiki.com/HOWTO_Remove_PAM

    Martin July 21st, 2006

    cYe,

    thanks for the comment. I change the post and try to test it asap.

    Thanks again for the great comments!

    kevin August 5th, 2006

    this seemed to do the trick. thanks!

    Josha August 20th, 2006

    Worked a treat, thanks champ.

    If you ever stop by Sydney, drop me a line & ill buy you a beer for this : )

    Cheers.

    Henrik August 25th, 2006

    Thank you, totally saved my say :-)

    J August 31st, 2006

    FYI the “-” character has several names, but none of them is “bracket” might want to use the term “dash” instead

    Martin August 31st, 2006

    J, thanks for the tip! It was kinda late when I wrote that post (uhmm, lame excuse).

    tekproxy October 31st, 2006

    Thanks. First result on google. Great work-around. If only the internet worked like this all the time!

Shout it out!