Re: [gentoo-user] emerge -pv world error

2005-06-11 Thread Holly Bostick
Walter Dnes schreef:
 On Wed, Jun 08, 2005 at 06:17:06PM +0200, Holly Bostick wrote
 
 
PAM is an *optional* dependency; you can compile the program -pam and
 
 
   PAM is an *OPTIONAL PROGRAM*; build your system with...
 
 [m450][root][~]cat /etc/portage/package.mask
 sys-libs/pam

Yes, I know (my system is built without PAM, and I didn't mask it, I
removed it, re-emerged shadow and then the system -pam in the first
place), but removing PAM if your system is built from default settings
is a fairly complex task (though not as complex as it used to be), and a
distraction from the original question. Therefore I suggested a quicker
solution to solving the original problem (getting one program installed
and proceeding with the world update), which was removing the pam
dependency for that program only (you can then decide about the rest
later). If one wants to remove PAM totally (which is not a bad idea, but
opinions vary), there's lots of threads on the forums that provide
adequate guidance, from how to remove PAM on a running system, to how to
install without it in the first place.

 
 in addition to -pam in use, and you will find Gentoo a lot more
 pleasant.  One question... why does OpenOffice *DEMAND* PAM to build
 from source???  The binary ebuild installs OK without PAM.
 

There's a bug about this.

http://bugs.gentoo.org/show_bug.cgi?id=71898

and the article in the Wiki http://gentoo-wiki.com/HOWTO_Remove_PAM

also discusses this, as well as the similar (previous) issue with GDM,
whose ebuild has been updated to make PAM an optional dependency.


Myself, I use the binary OOo build anyway; I just didn't have the
patience to deal with that long compile, no-pam patch or not (but I did
compile OOo-ximian once with the patch, and it built, anyway. Apparently
there's some delay in upstream testing and including the patch to make
PAM optional. But since they're so close to finishing 2.0, I guess I'm
not surprised that they might have other priorities.

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



Re: [gentoo-user] emerge -pv world error

2005-06-10 Thread Walter Dnes
On Wed, Jun 08, 2005 at 06:17:06PM +0200, Holly Bostick wrote

 PAM is an *optional* dependency; you can compile the program -pam and

  PAM is an *OPTIONAL PROGRAM*; build your system with...

[m450][root][~]cat /etc/portage/package.mask
sys-libs/pam

in addition to -pam in use, and you will find Gentoo a lot more
pleasant.  One question... why does OpenOffice *DEMAND* PAM to build
from source???  The binary ebuild installs OK without PAM.

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge -pv world error

2005-06-10 Thread Kyle England
Ramón Gutiérrez wrote:
 go to */ect/make.conf* and add *ACCEPTS_KEYWORDS=~x86 *
 case sensitive

Rarely, if ever, will the above be a good solution to any problem like
this.


To the original poster:
You're problem is because you're trying to install a hard masked
version of proftpd, which requires an unstable version of pam.

You have two options, as I see it:
1.) install the x86 version of proftpd, which is what I'd do
2.) add net-ftp/proftpd -pam to /etc/portage/package.use and then
try the emerge again.

-- 
Kyle England kengland at gentoo dot org
Gentoo Infrastructure

GnuPG public key ID:  0xC342D18B (pgp.mit.edu)
Key Fingerprint:  0130 DF85 DE10 5953 0D50  B51E EC75 ABDF C342 D18B



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] emerge -pv world error

2005-06-08 Thread Holly Bostick
fire-eyes schreef:
 When performing an emerge -pv world on an x86 server, I got this today:
 
 These are the packages that I would merge, in order:
 
 Calculating world dependencies
 !!! All ebuilds that could satisfy =sys-libs/pam-0.78 have been masked.
 !!! One of the following masked packages is required to complete your
 request:
 - sys-libs/pam-0.78-r2 (masked by: ~x86 keyword)
 - sys-libs/pam-0.78-r1 (masked by: ~x86 keyword)
 - sys-libs/pam-0.78 (masked by: ~x86 keyword)
 
 For more information, see MASKED PACKAGES section in the emerge man page or
 section 2.2 Software Availability in the Gentoo Handbook.
 !!!(dependency required by net-ftp/proftpd-1.2.10-r5 [ebuild])
 
 
 !!! Problem with ebuild net-ftp/proftpd-1.2.10-r5
 !!! Possibly a DEPEND/*DEPEND problem.
 
 !!! Depgraph creation failed.
 
 I am not quite sure what I should do. Unmask something, for use on a server? 
 I don't think so...
 
 Does anyone have any ideas, perhaps I made an error in the recent past that 
 caused this? Or, maybe I'm not alone?
 

This isn't an error-- certainly nothing you've done. It's just
information inviting you to specify how you want to configure your machine.

The version of proftpd you are trying to install depends on a version of
PAM that is not available to install (because it is masked by ~arch).

Proftpd 1.2.10-r5 is also ~arch, according to eix. So you've unmasked
the program, but not its dependency, which doesn't make a whole lot of
sense :-) .

Either unmask pam, remove pam from the use flags for this package (echo
'net-ftp/proftpd -pam /etc/portage/package.use) so that the package no
longer depends on PAM at all, or remask proftpd and install the x86
version, which will presumably depend on a stable version of PAM.

Hope this helps.

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



Re: [gentoo-user] emerge -pv world error

2005-06-08 Thread Bastian Balthazar Bux
Ramón Gutiérrez wrote:
 go to */ect/make.conf* and add *ACCEPTS_KEYWORDS=~x86 *
 case sensitive
 -- 
 Ramon Gutierrez

no don't go, stay with us

-- 
 
. These pages are best viewed by coming to my house and looking at   .
. my monitor. [S. Lucas Bergman (on his website)].
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge -pv world error

2005-06-08 Thread Neil Bothwick
On Wed, 8 Jun 2005 09:58:52 -0400, Ramón Gutiérrez wrote:

 go to */ect/make.conf* and add *ACCEPTS_KEYWORDS=~x86 *

The words sledgehammer and nut spring to mind...


-- 
Neil Bothwick

Beware of cover disks bearing upgrades.


pgpqlaJMRgS41.pgp
Description: PGP signature


Re: [gentoo-user] emerge -pv world error

2005-06-08 Thread Mark Shields
I'd highly recommend you don't add ACCEPT_KEYWORDS=~x86 to your make
file, as this will cause your system to emerge with all ~x86
(testing/unstable) packages upon next emerge. Add this to your
/etc/portage/package.keywords: =sys-libs/pam-0.78 then emerge -pv
again.

On 6/8/05, Bastian Balthazar Bux [EMAIL PROTECTED] wrote:
 Ramón Gutiérrez wrote:
  go to */ect/make.conf* and add *ACCEPTS_KEYWORDS=~x86 *
  case sensitive
  --
  Ramon Gutierrez
 
 no don't go, stay with us
 
 --
  
 . These pages are best viewed by coming to my house and looking at   .
 . my monitor. [S. Lucas Bergman (on his website)].
  
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
- Mark Shields

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge -pv world error

2005-06-08 Thread Holly Bostick
Mark Shields schreef:
 I'd highly recommend you don't add ACCEPT_KEYWORDS=~x86 to your make
 file, as this will cause your system to emerge with all ~x86
 (testing/unstable) packages upon next emerge. Add this to your
 /etc/portage/package.keywords: =sys-libs/pam-0.78 then emerge -pv
 again.
 

I agree that adding ACCEPT_KEYWORDS=~x86 is a bad idea if you want to
run a (mostly) stable system, but

*unmasking PAM is not the only solution!!!*

PAM is an *optional* dependency; you can compile the program -pam and
still use the unstable proftpd without having to also use an unstable PAM.

I admit that I don't know how proftpd will react if the system as a
whole is not PAM-free (like mine), but it itself is but since it is
optional, it ought to work OK anyway (if PAM was a required dependency
for the package, there wouldn't be a USE flag for it; it would just be
installed).

Or one could just use a stable version of proftpd which would not
require an update to PAM, but instead use the version of PAM currently
installed.

Under Linux, if there's not at least two ways to do something, there's
something wrong but under Gentoo, if there's not at least three ways
to do something, you've (probably) missed (at least) one.

:)

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