Re: [gentoo-user] xorg-x11 / setxkbmap masked

2006-06-23 Thread Bo Ørsted Andresen
On Friday 23 June 2006 09:30, Neil Bothwick wrote:
> This is Gentoo. If the user chooses to run a particular reason of a
> package for his own reason, that choice should be allowed. Gentoo users
> should not be protected form themselves, that's why we have /etc/portage,
> to change the developers' defaults.
>
> Some of us like to live dangerously, I put
> sys-kernel/gentoo-sources-2.6.17 in my package.keywords yesterday. I'm
> sure there's a reason the devs haven't keyworded it for ~ppc, but I
> wanted to try it - it hasn't fallen over... yet :)

Oh, I agree. I just wanted to explain the issue so that he can decide for 
hinself. :)

-- 
Bo Andresen


pgpGgE7JogiIv.pgp
Description: PGP signature


Re: [gentoo-user] xorg-x11 / setxkbmap masked

2006-06-23 Thread Neil Bothwick
On Fri, 23 Jun 2006 00:34:25 +0200, Bo Ørsted Andresen wrote:

> =x11-apps/setxkbmap-1.0*
> =x11-apps/setxkbmap-1.0.2*
> ~x11-apps/setxkbmap-1.0.2
> 
> The following won't work, however:
> 
> ~x11-apps/setxkbmap-1.0
> 
> But then what happens when 1.0.3 or 1.1* comes out and fixes something 
> important? Some think of this as a big issue. 

This is Gentoo. If the user chooses to run a particular reason of a
package for his own reason, that choice should be allowed. Gentoo users
should not be protected form themselves, that's why we have /etc/portage,
to change the developers' defaults.

Some of us like to live dangerously, I put
sys-kernel/gentoo-sources-2.6.17 in my package.keywords yesterday. I'm
sure there's a reason the devs haven't keyworded it for ~ppc, but I
wanted to try it - it hasn't fallen over... yet :)


-- 
Neil Bothwick

Windoze95 Quote: Why is the Pentium 166 so fast? - Its for booting
faster, if Windows crashed again.


signature.asc
Description: PGP signature


Re: [gentoo-user] xorg-x11 / setxkbmap masked

2006-06-22 Thread Bo Ørsted Andresen
On Friday 23 June 2006 00:22, Benno Schulenberg wrote:
> Yes, it is a good idea.  Sometimes I want to install a specific
> version, whether masked or not, and after that go back to tracking
> stable.  Now I don't have to keep watching the package and remove
> it from package.keywords when it becomes stable.

If you specify something like this:

=x11-apps/setxkbmap-1.0.2

and version 1.0.2-r1 comes out with a bug fix or a security fix. Then you 
won't get the fix. That can be solved with either one of the following:

=x11-apps/setxkbmap-1.0*
=x11-apps/setxkbmap-1.0.2*
~x11-apps/setxkbmap-1.0.2

The following won't work, however:

~x11-apps/setxkbmap-1.0

But then what happens when 1.0.3 or 1.1* comes out and fixes something 
important? Some think of this as a big issue. There is disagreement about the 
importance of this even among the Gentoo developers (big surprise... ;) ). 
Not all security fixes become a glsa (Gentoo Linux Security Advice).

-- 
Bo Andresen


pgpA1xsV0I9Db.pgp
Description: PGP signature


Re: [gentoo-user] xorg-x11 / setxkbmap masked

2006-06-22 Thread Benno Schulenberg
Bo Ørsted Andresen wrote:
> On Thursday 22 June 2006 22:47, Benno Schulenberg wrote:
> > Hmm...  Does package.keywords allow to keyword specific
> > versions of a package?

Darn.  It does when using "=".  I've always thought it didn't.

> Whether it is a good idea is a different question.

Yes, it is a good idea.  Sometimes I want to install a specific 
version, whether masked or not, and after that go back to tracking 
stable.  Now I don't have to keep watching the package and remove 
it from package.keywords when it becomes stable.

> This particular feature is covered in part 3, chapter 3.

And looking in CVS it was there already in 2004.  I must have 
misread it then, or done something wrong, which made me assume "=" 
didn't work in package.keywords.

> It's also covered in `man portage`.

But there it doesn't say anything about = in the package.keywords 
section.  It could use an extra example there.

Now off to some editing in /etc/portage/.

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



Re: [gentoo-user] xorg-x11 / setxkbmap masked

2006-06-22 Thread Teresa and Dale
Benno Schulenberg wrote:

>Bo Ørsted Andresen wrote:
>  
>
>>Hence you may run into this problem for a lot of packages that
>>belong to modular X as they are upgraded to newer versions that
>>your /etc/portage/package.keywords doesn't unmask.
>>
>>
>
>Hmm...  Does package.keywords allow to keyword specific versions of 
>a package?  Not here.  When trying it, it says: --- Invalid atom 
>in /etc/portage/package.keywords.  (Portage-2.1-r1.)
>
>Benno
>  
>

I think you have to add it without the =, < or > in package.keywords
then add the specific version to the package.mask file.

Hope that helps and is correct.

Dale
:-) :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg-x11 / setxkbmap masked

2006-06-22 Thread Bo Ørsted Andresen
On Thursday 22 June 2006 22:47, Benno Schulenberg wrote:
> Bo Ørsted Andresen wrote:
> > Hence you may run into this problem for a lot of packages that
> > belong to modular X as they are upgraded to newer versions that
> > your /etc/portage/package.keywords doesn't unmask.
>
> Hmm...  Does package.keywords allow to keyword specific versions of
> a package?  Not here.  When trying it, it says: --- Invalid atom
> in /etc/portage/package.keywords.  (Portage-2.1-r1.)

Then I have no explanation for what happened so you can just disregard the 
above statement. And yes does allow it. Whether it is a good idea is a 
different question. I already gave you a link to the handbook. This 
particular feature is covered in part 3, chapter 3. It's also covered in `man 
portage`.

[1] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=3

-- 
Bo Andresen


pgp4XLq0KqDBU.pgp
Description: PGP signature


Re: [gentoo-user] xorg-x11 / setxkbmap masked

2006-06-22 Thread Neil Bothwick
On Thu, 22 Jun 2006 22:47:55 +0200, Benno Schulenberg wrote:

> Hmm...  Does package.keywords allow to keyword specific versions of 
> a package?  Not here.  When trying it, it says: --- Invalid atom 
> in /etc/portage/package.keywords.  (Portage-2.1-r1.)

It works here. Did you forget the leading '='?


-- 
Neil Bothwick

Evolution stops when stupidity is no longer fatal!


signature.asc
Description: PGP signature


Re: [gentoo-user] xorg-x11 / setxkbmap masked

2006-06-22 Thread Benno Schulenberg
Bo Ørsted Andresen wrote:
> Hence you may run into this problem for a lot of packages that
> belong to modular X as they are upgraded to newer versions that
> your /etc/portage/package.keywords doesn't unmask.

Hmm...  Does package.keywords allow to keyword specific versions of 
a package?  Not here.  When trying it, it says: --- Invalid atom 
in /etc/portage/package.keywords.  (Portage-2.1-r1.)

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



Re: [gentoo-user] xorg-x11 / setxkbmap masked

2006-06-22 Thread Neil Bothwick
On Thu, 22 Jun 2006 17:26:49 +0200 (CEST), Hans Schou wrote:

> >> - x11-apps/setxkbmap-1.0.2 (masked by: ~x86 keyword)
> >> For more information, see MASKED PACKAGES section in the emerge
> >> man page or refer to the Gentoo Handbook.
> >> !!!(dependency required by "x11-base/xorg-x11-7.0-r1"
> >> [ebuild])
> >>
> >> I then tried to remove setxkbmap:

> Where can I read more about "masked"? I have questions like: Why use
> unmask? Why not use unmask? If I unmask a package now, will that spoil
> the same package later? etc.

You already have the answer to that question, it was in the original
error message.


-- 
Neil Bothwick

I have a spelling checker, it came with my Pea See;
It helps me too correct Miss Steaks eye mite knot sea.
I ran these versus threw it, yew mae bee pleased too no
Its word prefect in every weight; my spell cheque tolled me sew!


signature.asc
Description: PGP signature


Re: [gentoo-user] xorg-x11 / setxkbmap masked

2006-06-22 Thread Bo Ørsted Andresen
On Thursday 22 June 2006 17:26, Hans Schou wrote:
> Where can I read more about "masked"? 

I would suggest that you read part 2 and 3 from the handbook [1]. It really is
worthwhile.

> I have questions like: Why use 
> unmask? Why not use unmask? If I unmask a package now, will that spoil the
> same package later? etc.

As you can see in part 2, chapter 1.d [2] packages may be masked in different
ways depending on whether it is not tested sufficiently to go in the stable
branch, not tested at all or simply broken.

Obviously you are running the stable branch (x86). Modular X (including
setxkbmap) still belongs to the testing branch (~x86) so you probably followed
[3] at some time because you wanted modular X (X.org 7.x). The fact that you
said you couldn't run emerge world suggests that you have unmasked setxkbmap
in the past by a specific version that doesn't cover version 1.0.2. Hence you
may run into this problem for a lot of packages that belong to modular X as
they are upgraded to newer versions that your /etc/portage/package.keywords
doesn't unmask.

The reasoning for unmasking is of course that you want newer software than is
available in the stable branch and the reasoning for not doing it is that you
want stability. Since this is just in ~x86 it is not broken and a lot of us
are using it. It is, however, not in stable and therefore you shouldn't run it
unless you are prepared to accept, that it might break at some point.

[1] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2
[2] 
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1#doc_chap4
[3] http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml

-- 
Bo Andresen


pgpAiKpCgyi93.pgp
Description: PGP signature


Re: [gentoo-user] xorg-x11 / setxkbmap masked

2006-06-22 Thread Hans Schou

> Hans Schou wrote:
>> !!! All ebuilds that could satisfy ">=x11-apps/setxkbmap-1.0.1"
>> have been masked.
>> !!! One of the following masked packages is required to complete
>> your request:
>> - x11-apps/setxkbmap-1.0.2 (masked by: ~x86 keyword)
>> For more information, see MASKED PACKAGES section in the emerge
>> man page or refer to the Gentoo Handbook.
>> !!!(dependency required by "x11-base/xorg-x11-7.0-r1"
>> [ebuild])
>>
>> I then tried to remove setxkbmap:
>
> No, you musn't remove setxkbmap, you must unmask it:
> echo "x11-apps/setxkbmap ~x86" >>/etc/portage/package.keywords

Thanks, it's looking good. It is still compiling.
(my system is a Via 600MHz - so it will take som time)

Where can I read more about "masked"? I have questions like: Why use
unmask? Why not use unmask? If I unmask a package now, will that spoil the
same package later? etc.


/hans
-- 
Even if you hate images of text on the web, this tutorial...
  -- http://www.gimp.org/tutorials/

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg-x11 / setxkbmap masked

2006-06-21 Thread Jeremy Olexa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Benno Schulenberg wrote:
> Hans Schou wrote:
>> !!! All ebuilds that could satisfy ">=x11-apps/setxkbmap-1.0.1"
>> have been masked.
>> !!! One of the following masked packages is required to complete
>> your request:
>> - x11-apps/setxkbmap-1.0.2 (masked by: ~x86 keyword)
>> For more information, see MASKED PACKAGES section in the emerge
>> man page or refer to the Gentoo Handbook.
>> !!!(dependency required by "x11-base/xorg-x11-7.0-r1"
>> [ebuild])
>>
>> I then tried to remove setxkbmap:
> 
> No, you musn't remove setxkbmap, you must unmask it:
> echo "x11-apps/setxkbmap ~x86" >>/etc/portage/package.keywords
> 
> Benno

In addition to what Benno has said, I recommend that you sync your tree
before continuing. The latest xorg is 7.1 ~x86. Also note that nothing
is "broken" on your box, you just forgot you add the proper entry to
/etc/portage/package.keywords. If you have no idea what I am talking
about then you shouldn't be using xorg7 ;-)

- --
Jeremy Olexa
([EMAIL PROTECTED])
Office: EE/CS 1-201
CS/IT Systems Staff
University of Minnesota

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEmgA2FN7pD9kMi/URAp5hAJ9HjnUIFbTmJJiAiPM0PG2pnZdsEgCdEfrR
9hhGIQsVl4C8MBGI6tFY+Do=
=eJ3C
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg-x11 / setxkbmap masked

2006-06-21 Thread Benno Schulenberg
Hans Schou wrote:
> !!! All ebuilds that could satisfy ">=x11-apps/setxkbmap-1.0.1"
> have been masked.
> !!! One of the following masked packages is required to complete
> your request:
> - x11-apps/setxkbmap-1.0.2 (masked by: ~x86 keyword)
> For more information, see MASKED PACKAGES section in the emerge
> man page or refer to the Gentoo Handbook.
> !!!(dependency required by "x11-base/xorg-x11-7.0-r1"
> [ebuild])
>
> I then tried to remove setxkbmap:

No, you musn't remove setxkbmap, you must unmask it:
echo "x11-apps/setxkbmap ~x86" >>/etc/portage/package.keywords

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



[gentoo-user] xorg-x11 / setxkbmap masked

2006-06-21 Thread Hans Schou
Hi

I have several Gentoo installations which works fine but this one id broken.

When I do a:
  emerge xorg-x11
I get:

Calculating dependencies -
!!! All ebuilds that could satisfy ">=x11-apps/setxkbmap-1.0.1" have been
masked.
!!! One of the following masked packages is required to complete your
request:
- x11-apps/setxkbmap-1.0.2 (masked by: ~x86 keyword)
For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
!!!(dependency required by "x11-base/xorg-x11-7.0-r1" [ebuild])

I then tried to remove setxkbmap:
--- Couldn't find setxkbmap to unmerge.
>>> unmerge: No packages selected for removal.

The worst problem I have is that I can not do a "emerge world" as this
gives the same error.

What can I do? Remove xorg-x11 and install it again?


best regards/hans
-- 
Even if you hate images of text on the web, this tutorial...
  -- http://www.gimp.org/tutorials/

-- 
gentoo-user@gentoo.org mailing list