View previous topic :: View next topic |
Author |
Message |
UncleOwen Veteran
Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
|
Back to top |
|
|
thesheff17 Apprentice
Joined: 12 Jan 2005 Posts: 283
|
Posted: Mon Jun 05, 2006 7:19 am Post subject: emerge --update --deep world conflict |
|
|
ended up to wrong post |
|
Back to top |
|
|
Raenk n00b
Joined: 04 Mar 2004 Posts: 64
|
Posted: Mon Jun 05, 2006 8:17 pm Post subject: |
|
|
Ok, so bottom line is that pam-login should be removed and let shadow emerged normally and pam-login won't be necessary anymore ?
emerge -vaC pam-login
emerge -vuaNt world (which will safely emerge 'shadow')
That would be THE move ? |
|
Back to top |
|
|
UncleOwen Veteran
Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Mon Jun 05, 2006 10:34 pm Post subject: |
|
|
Yes. |
|
Back to top |
|
|
htranou Tux's lil' helper
Joined: 08 May 2006 Posts: 96
|
Posted: Tue Jun 06, 2006 1:08 am Post subject: |
|
|
If you want to have a broken (not loggable) system the shortest time, "emerge -1 shadow" before your emerge world. Who knows when a power outage can happen. |
|
Back to top |
|
|
snizfast n00b
Joined: 22 Sep 2004 Posts: 43
|
Posted: Tue Jun 06, 2006 11:27 am Post subject: |
|
|
As a side note don't do this using sudo unless you want to lock yourself out of your server...so much for telecommuting today. _________________ Talk is cheap, supply exceeds demand
alias nocomment='sed -e '\''s/#.*//;/^\s*$/d'\'' ' |
|
Back to top |
|
|
P-S-I n00b
Joined: 07 Jun 2006 Posts: 2
|
Posted: Wed Jun 07, 2006 6:45 am Post subject: |
|
|
Hi together,
i've done a mistake.
Yesterday i wanted to emerge -uDe world and got the errormessage about the conflicts with pam-login and shadow.
I just emerge -C pam-login and then started the emerge -uDe world.
So long no problems.
The build process seems to nedd very long and i thought that i reboot my system.......
Shit happens. Now i can't login to my box.
I hope i can reinstall pam-login when i boot from the livecd and chroot.
Have someone else did the same mistake and get the system up runing?
Thanks for some tips
Daniel |
|
Back to top |
|
|
LXj Tux's lil' helper
Joined: 03 Dec 2005 Posts: 107
|
Posted: Wed Jun 07, 2006 10:42 am Post subject: |
|
|
P-S-I wrote: | I hope i can reinstall pam-login when i boot from the livecd and chroot.
Have someone else did the same mistake and get the system up runing?Daniel | Install shadow, not pam-login |
|
Back to top |
|
|
P-S-I n00b
Joined: 07 Jun 2006 Posts: 2
|
Posted: Wed Jun 07, 2006 10:52 am Post subject: |
|
|
sure, i've thougt shadow and written pam-login.
Thanks Daniel |
|
Back to top |
|
|
scoy Tux's lil' helper
Joined: 21 Jun 2002 Posts: 95
|
Posted: Fri Jun 09, 2006 2:08 pm Post subject: bash access denied |
|
|
I did as the forum suggested and removed pam-login and installed shadow with '-1'. Now only root can login. All other users get '/bin/bash: Permissionn denied'. Any ideas? |
|
Back to top |
|
|
Marteni n00b
Joined: 04 Jun 2006 Posts: 2
|
Posted: Sat Jun 10, 2006 3:43 am Post subject: |
|
|
Code: | emerge -C pam-login && emerge -1 shadow |
Worked perfectly for me - thanks all for your repies |
|
Back to top |
|
|
mfyahya Tux's lil' helper
Joined: 02 Feb 2006 Posts: 110
|
Posted: Sat Jun 10, 2006 8:23 am Post subject: |
|
|
Code: | emerge -C pam-login && emerge -1 shadow |
When I did that I get
Code: | Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/shadow-4.0.15-r2 to /
!!! Files listed in the manifest do not exist!
files/login.defs.4.0.16
|
Can't figure out what's wrong now. |
|
Back to top |
|
|
jouzts n00b
Joined: 29 Apr 2002 Posts: 68 Location: South Carolina
|
Posted: Sat Jun 10, 2006 10:15 pm Post subject: ftp.pld.org.pl upgrades to shadow-4.0.16 & drops .15 |
|
|
ftp.pld.org.pl has apparently incremented versions without leaving the 4.0.15 around. There is a shadow-4.0.16.ebuild by uberlord, but it is masked as a testing version.
Adding the line:
to /etc/portage/package.keywords should enable you to get the testing version. Don't shutdown until you do.
John |
|
Back to top |
|
|
mfyahya Tux's lil' helper
Joined: 02 Feb 2006 Posts: 110
|
Posted: Sun Jun 11, 2006 8:26 am Post subject: Re: ftp.pld.org.pl upgrades to shadow-4.0.16 & drops .15 |
|
|
jouzts wrote: | ftp.pld.org.pl has apparently incremented versions without leaving the 4.0.15 around. There is a shadow-4.0.16.ebuild by uberlord, but it is masked as a testing version.
Adding the line:
to /etc/portage/package.keywords should enable you to get the testing version. Don't shutdown until you do.
John |
After browsing the forums a bit I did
ebuild /usr/portage/path/to/shadow.ebuild digest
and then the compile worked. I did an emerge --sync && emerge -uDN world once more just to be safe. I hope I didn't break anything
Thanks for your suggestion anyways jouzts. |
|
Back to top |
|
|
southpaw Guru
Joined: 11 Mar 2005 Posts: 375 Location: "Americas Toilet"(So.FL.)
|
Posted: Mon Jun 12, 2006 5:40 pm Post subject: |
|
|
Hello all,
I'm a bit lost here...
I have successfully unmerged "pam-login", but I still can't get "sys-apps/shadow" to merge without failing!
I tried the original suggestion: Code: |
#emerge --buildpkgonly --nodeps shadow && emerge -C pam-login && emerge --usepkgonly shadow |
...and I still get the same error: Code: |
!!!ERROR: sys-apps/shadow-4.0.16 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
shadow-4.0.16.ebuild, line 70: Called econf '--disable-desrpc' '--with-libcrypt' '--with-libcrack' '--enable-shared=no' '--enable-static=yes' '--without-libpam' '--without-skey' '--without-selinux' '--enable-nls'
ebuild.sh, line 541: Called die
!!! econf failed |
...am I missing something here??? _________________ Legalize It |
|
Back to top |
|
|
southpaw Guru
Joined: 11 Mar 2005 Posts: 375 Location: "Americas Toilet"(So.FL.)
|
Posted: Tue Jun 13, 2006 5:40 am Post subject: |
|
|
Well, it seem's as though I'm a few steps closer to solving my own problem ...
Now whether this has anything to do with the current issue of scrutiny I have yet to confirm
So, what I am getting at is, after trying a few different things I was able to pinpoint two consistencies; The first became evident rather quickly, because shortly after I would begin emerging anything the process would abruptly come to a screeching halt. The second I noticed later, which was a few lines above my error which I had posted before this post, it read: Code: |
C compiler cannot create executables |
So after I googled around a bit I found something that suggested the linker may be at fault...So I tried uncommenting my LDFLAGS in my make.conf, which looks like this: Code: | #
#LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
# |
After I made that adjustment I had no problem emerging anything. So like I said before, I'm not sure if this is directly related to the package blocking issue. Can anyone shed some light on this ??? _________________ Legalize It |
|
Back to top |
|
|
simeli Apprentice
Joined: 15 Jun 2005 Posts: 193 Location: Switzerland, Zurich
|
Posted: Thu Jun 15, 2006 9:14 am Post subject: |
|
|
I was just in the process of upgrading my gcc from 3.3.6 to 3.4.6 when I stumbled upon the shadow pam problem when trying
as described in this thread i ran
Code: | emerge --buildpkgonly --nodeps shadow && emerge -C pam-login && emerge --usepkgonly shadow | and ran emerge -e system again. it seems that it wants to emerge pam again. does anyone have an idea why this happens? _________________ Pentium M 740 on MSI 915GM SPEEDSTER-FA4, 2x512MB Corsair XMS2 DDR2 667 Memory, Zalman CNPS7000B AlCu, Samsung SpinPoint P120 250GB SATAII, Hauppauge WinTV PVR-500, Enermaxx Liberty 400, Antec P180
Husaberg FS650e Force Edition [http://www.husaberg.se] |
|
Back to top |
|
|
reyneke Guru
Joined: 09 Jan 2004 Posts: 542 Location: Augsburg / Germany
|
Posted: Fri Jun 16, 2006 1:30 pm Post subject: |
|
|
Hi.
Hope my problem with pam-login and shadow hasn't been discussed here before. I just scimmed over the thread.
I unmerged pam-login and merged shadow (without --nodeps or --oneshot) to make a `glsa-check -f new' possible which failed with pam-login installed.
Now, I can't switch to root privileges using `su -' on console. I get an "authentification error" feedback. Any ideas to fix this?
Thanks in advance.
Cheers,
rey. _________________ I like to wait to see how things turn out
If You Apply Some Pressure
WHAT HAPPENS when you lose EVERYTHING?
You start again.
You start all over again.
Maximo Park - Apply Some Pressure
Last edited by reyneke on Fri Jun 16, 2006 1:34 pm; edited 1 time in total |
|
Back to top |
|
|
gouranga Tux's lil' helper
Joined: 05 Aug 2005 Posts: 113
|
|
Back to top |
|
|
Jaminadi n00b
Joined: 24 Nov 2004 Posts: 24 Location: Boise, ID
|
Posted: Sun Jun 18, 2006 1:24 pm Post subject: Worked |
|
|
Just my two cents. the recommended fix worked great and portage likes me again. I love this forum. _________________ A woman is as a sword laid aside or a fire at a distance. THe one does not burn, the other does not cut those that approach not neigh unto them. |
|
Back to top |
|
|
Drunkula Apprentice
Joined: 28 Jul 2003 Posts: 257 Location: Denton, TX - USA
|
Posted: Sun Jun 18, 2006 1:32 pm Post subject: |
|
|
Man I got bit by this last night (drunk of course) and threw a temper tantrum. Luckily I was able to ssh into the box and start KDM. I was able to login via KDM at least. However my tantrum ended up destroying my office chair and a wall clock as well as scaring the hell out of my dog! _________________ Go away or I will replace you with a very small shell script. |
|
Back to top |
|
|
Pat-rizio n00b
Joined: 05 Apr 2004 Posts: 69
|
Posted: Tue Jun 20, 2006 3:03 pm Post subject: |
|
|
Hi everybody,
I unmerged pam-login in order to update world, so now I have a no-login system, as describe here.
I mean I can't anymore logging in into my system with any user (even root can't).
I searched into the forum for a solution, and all posts link to this thread, so let me know if I understand the solutions you suggest on these 3 post's pages. I will summarize them as follow:
Solution n.1:
Code: | 1. emerge --nodeps --buildpkg shadow
2. emerge -C pam-login
3. emerge --usepkgonly shadow |
Solution n.2:
Code: | emerge -C pam-login && emerge -1 shadow |
Solution n.3:
Code: | 1. emerge -C pam-login
2. emerge -uND world
3. etc-update |
Solution n.4:
Code: | recompile all packages with 'pam' keyword to make them work again |
Solution n.5:
Code: | 1. emerge -vaC pam-login
2. emerge -vuaNt world |
Solution n.5:
Code: | Add the line: "sys-apps/shadow ~*" to your package.keywords then emerge shadow |
Well...guys...here no solutions work for my system.
I still can't log in. Have you got any other suggestion to fix the problem?
Any help will be very appreciate! |
|
Back to top |
|
|
Bill Thompson Tux's lil' helper
Joined: 21 Jan 2005 Posts: 139
|
Posted: Wed Jun 21, 2006 12:54 pm Post subject: |
|
|
In your solution number 2, it is difficult for me to read your command. I assume that in the portion that states emerge -1 shadow you are using the number one (-1) and not the letter l (-l).
I just used that full command you list in solution number 2 successfully. Beware -- there are 17 configuration files to update. I use dispatch-conf with color coding -- very clear. |
|
Back to top |
|
|
Pat-rizio n00b
Joined: 05 Apr 2004 Posts: 69
|
Posted: Wed Jun 21, 2006 5:29 pm Post subject: |
|
|
Sorry, I mistook writing the post. Anyway
it is the same to do
The difference is only that the first entry shows even the changelog entries for packages that will be upgraded during the emerge process, right?
If so... well...I've already try this solution, but it didn't work...
Bill Thompson, you wrote that worked for you, but I think your situation was quite different from mine, coz I guess you didn't unmerge pam, then rebooted, then tryed to emerge shadow as I'm doing... |
|
Back to top |
|
|
Bill Thompson Tux's lil' helper
Joined: 21 Jan 2005 Posts: 139
|
Posted: Wed Jun 21, 2006 7:23 pm Post subject: |
|
|
Pat-rizio
You're right. Just as #2 indicates, I unmerged pam-login and emerged shadow as one command.
Sorry, I guess I have no answer for you. |
|
Back to top |
|
|
|