Re: [gentoo-user] emerge --update: utempter/pam-login is blocking...

2006-06-15 Thread Nico Schümann
2006/6/15, Jarry [EMAIL PROTECTED]:
Hi,I tried to update my gentoo-laptop but I got this message:emerge --update --deep --newuse world!!! Error: the sys-apps/utempter package conflicts with another package!!! the two packages cannot be insalled on the same system together.
!!! Please use 'emerge --pretend' to determine blockers.emerge --pretend --update --deep --newuse world[blocks B ] sys-apps/utempter (is blocking sys-libs/libutempter-1.1.2.1)
[blocks B ] sys-apps/pam-login (is blocking sys-apps/shadow-4.0.15-r2)[ebuild N ] sys-libs/libutempter-1.1.2.1[ebuild U ] x11-terms/xterm-212-r3 [207][ebuild U ] sys-apps/shadow-4.0.15-r2
 [4.0.14-r1]What is the proper way of dealing with it? Should I simply unmerge(-C) utempter and pam-login? Is it not dangerous? I do not know whatutempter is good for, but if I unmerge pam-login and then from some
reason I will not succeed in updating shadow, I will not be ableto log in at all...Jarry--gentoo-user@gentoo.org mailing list
emerge --unmerge utempteremerge --unmerge pam-loginI think, they've changed something (login etc. is provided by shadow, now / utempter / libutempter seems to be a rename)You can log in again if the emerge -uDav is finished (everything works fine after I've done that way)



RE: [gentoo-user] emerge --update: utempter/pam-login is blocking ...

2006-06-15 Thread Sieb, Glenn E (Glenn)
Nico Schümann wrote:
 emerge --unmerge utempter
 emerge --unmerge pam-login

I would probably do these in a slightly safer manner:

emerge --unmerge pam-login  emerge --update shadow
emerge --unmerge utempter  emerge --update libutempter

Then I'd go ahead with emerge -uDav. If your machine decides to crash in the 
middle, and you've unmerged pam-login, but haven't emerged the new shadow, you 
won't be able to log in. Utempter might not be quite as devastating, but I'd 
rather be safe than sorry. :)

Best,
--Glenn

-- 
Glenn E. Sieb, MTS
Bell Laboratories
[EMAIL PROTECTED]
+1 732 949 5453

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge --update: utempter/pam-login is blocking...

2006-06-15 Thread Neil Bothwick
On Thu, 15 Jun 2006 15:35:35 +0200, Jarry wrote:

 emerge --pretend --update --deep --newuse world
 [blocks B ] sys-apps/utempter (is blocking sys-libs/libutempter-1.1.2.1)
 [blocks B ] sys-apps/pam-login (is blocking sys-apps/shadow-4.0.15-r2)
 [ebuild N ] sys-libs/libutempter-1.1.2.1
 [ebuild U ] x11-terms/xterm-212-r3 [207]
 [ebuild U ] sys-apps/shadow-4.0.15-r2 [4.0.14-r1]
 
 What is the proper way of dealing with it?

This has already been discussed several times in the past week or so.

 Should I simply unmerge
 (-C) utempter and pam-login?

Yes.

 Is it not dangerous? I do not know what
 utempter is good for, but if I unmerge pam-login and then from some
 reason I will not succeed in updating shadow, I will not be able
 to log in at all...

In the unlikely event that were to happen, simply re-emerge pam-login.
If you don't have the blocking shadow, it won't complain.


-- 
Neil Bothwick

WinErr 005: Multitasking attempted - System confused


signature.asc
Description: PGP signature


RE: [gentoo-user] emerge --update: utempter/pam-login is blocking ...

2006-06-15 Thread Sieb, Glenn E (Glenn)
Sieb, Glenn E (Glenn) wrote:
 emerge --unmerge pam-login  emerge --update shadow 

 emerge --unmerge utempter  emerge --update libutempter

Corrected to show it's two separate lines.

I hate Outlook. Honest. I do.

Best,
--G.
-- 
Glenn E. Sieb, MTS
Bell Laboratories
[EMAIL PROTECTED]
+1 732 949 5453
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge --update: utempter/pam-login is blocking ...

2006-06-15 Thread Nico Schümann
2006/6/15, Sieb, Glenn E (Glenn) [EMAIL PROTECTED]:
I would probably do these in a slightly safer manner:emerge --unmerge pam-login  emerge --update shadowemerge --unmerge utempter  emerge --update libutempterYou are right, I didn't think about that (maybe because my machine has never crashed) 



Re: [gentoo-user] emerge --update: utempter/pam-login is blocking ...

2006-06-15 Thread Neil Bothwick
On Thu, 15 Jun 2006 10:22:45 -0400, Sieb, Glenn E (Glenn) wrote:

 I would probably do these in a slightly safer manner:
 
 emerge --unmerge pam-login  emerge --update shadow
 emerge --unmerge utempter  emerge --update libutempter

If you want to be paranoid

quickpkg pam-login  emerge -C pam-login  emerge -1 shadow || emerge -1k 
pam-login


-- 
Neil Bothwick

WindowError:01B  Illegal error. Do NOT get this error.


signature.asc
Description: PGP signature


Re: [gentoo-user] emerge --update: utempter/pam-login is blocking ...

2006-06-15 Thread Benno Schulenberg
Sieb, Glenn E (Glenn) wrote:
 emerge --unmerge pam-login  emerge --update shadow
 emerge --unmerge utempter  emerge --update libutempter

No need to use --update there, --update is the default.  
Use --oneshot instead, so shadow and libutempter don't end up in 
your world file.  If they already are , edit /var/lib/portage/world 
and remove those lines.

Benno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge --update: utempter/pam-login is blocking ...

2006-06-15 Thread Neil Bothwick
On Thu, 15 Jun 2006 20:04:49 +0200, Benno Schulenberg wrote:

  emerge --unmerge pam-login  emerge --update shadow
  emerge --unmerge utempter  emerge --update libutempter
 
 No need to use --update there, --update is the default.

No it's not. emerge behaves differently when you use --update, in two
ways. I doesn't re-emerge the package if the same version is already
installed, and it updates first-level dependencies, whereas emerge without
update only installs the package itself, plus any required dependencies.

 Use --oneshot instead, so shadow and libutempter don't end up in 
 your world file.

Good advice!


-- 
Neil Bothwick

c:Press Enter to Exit


signature.asc
Description: PGP signature


Re: [gentoo-user] emerge --update: utempter/pam-login is blocking ...

2006-06-15 Thread Benno Schulenberg
Neil Bothwick wrote:
 On Thu, 15 Jun 2006 20:04:49 +0200, Benno Schulenberg wrote:
   emerge --unmerge pam-login  emerge --update shadow
 
  No need to use --update there, --update is the default.

 No it's not. emerge behaves differently when you use --update, in
 two ways. I doesn't re-emerge the package if the same version is
 already installed,

Ah.  I didn't know that.  Thanks.  But... then the OP certainly 
better not use --update, because he wants to have shadow remerged 
for sure.  (In this case it made no difference, because of the 
version bump, but in general.)

Benno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge --update: utempter/pam-login is blocking ...

2006-06-15 Thread Bo Ørsted Andresen
On Thursday 15 June 2006 22:31, Benno Schulenberg wrote:
 Ah.  I didn't know that.  Thanks.  But... then the OP certainly
 better not use --update, because he wants to have shadow remerged
 for sure.  (In this case it made no difference, because of the
 version bump, but in general.)

That's correct except that if it didn't want to emerge shadow due to the 
upgrade there wouldn't be a block in the first place.

-- 
Bo Andresen


pgpMFr8u3Y3BV.pgp
Description: PGP signature