public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] xorg-x11-7.2 and portage
@ 2007-01-25 19:50 Matthew R. Lee
  2007-01-25 21:11 ` Boyd Stephen Smith Jr.
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Matthew R. Lee @ 2007-01-25 19:50 UTC (permalink / raw
  To: gentoo-user

I've just been doing my regular emerge -pvu world and the system wants to 
update xorg-x11 to 7.2, fine.  To do this I needed to add some packages to 
the packages.keywords file, again fine.
My problem is I had to go through the cycle emerge -pvu world add a package to 
package.keywords 11 times, to deal with the 11 masked packages that 
xorg-x11-7.2 required.
So the question is, is there anyway to get emerge to list all the masked 
dependencies required all at once?  (i.e. when I run emerge -pvu world the 
first time). I've looked at the man page but didn't see an obvious solution.
Thanks 
Matt
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Dr. Matthew R. Lee
CASEB & ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

matt@matthewlee.org
mlee@bio.puc.cl

URL: meiochile.matthewlee.org
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] xorg-x11-7.2 and portage
  2007-01-25 19:50 [gentoo-user] xorg-x11-7.2 and portage Matthew R. Lee
@ 2007-01-25 21:11 ` Boyd Stephen Smith Jr.
  2007-01-26  2:31   ` Bo Ørsted Andresen
  2007-01-25 22:15 ` b.n.
  2007-01-26 15:34 ` Eugene Rosenzweig
  2 siblings, 1 reply; 11+ messages in thread
From: Boyd Stephen Smith Jr. @ 2007-01-25 21:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 704 bytes --]

On Thursday 25 January 2007 13:50, "Matthew R. Lee" <gentoo@matthewlee.org> 
wrote about '[gentoo-user] xorg-x11-7.2 and portage':
> My problem is I had to go through the cycle emerge -pvu world add a
> package to package.keywords 11 times, to deal with the 11 masked
> packages that xorg-x11-7.2 required.
> So the question is, is there anyway to get emerge to list all the masked
> dependencies required all at once?

No.

An alternative package manager, paludis, does have this feature.

-- 
Boyd Stephen Smith Jr.             ,= ,-_-. =. 
bss03@volumehost.net              ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/              \_/     

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] xorg-x11-7.2 and portage
  2007-01-25 19:50 [gentoo-user] xorg-x11-7.2 and portage Matthew R. Lee
  2007-01-25 21:11 ` Boyd Stephen Smith Jr.
@ 2007-01-25 22:15 ` b.n.
  2007-01-26 15:34 ` Eugene Rosenzweig
  2 siblings, 0 replies; 11+ messages in thread
From: b.n. @ 2007-01-25 22:15 UTC (permalink / raw
  To: gentoo-user

Matthew R. Lee ha scritto:
> I've just been doing my regular emerge -pvu world and the system wants to 
> update xorg-x11 to 7.2, fine.  

Are you running x86 stable? I just synced, and I see no xorg-x11 upgrade.

> To do this I needed to add some packages to 
> the packages.keywords file, again fine.
> My problem is I had to go through the cycle emerge -pvu world add a package to 
> package.keywords 11 times, to deal with the 11 masked packages that 
> xorg-x11-7.2 required.
> So the question is, is there anyway to get emerge to list all the masked 
> dependencies required all at once?  (i.e. when I run emerge -pvu world the 
> first time). I've looked at the man page but didn't see an obvious solution.

I fear you did keyword-unmask something (maybe xorg-x11 itself) and of
course now the unmasked package wants its (still to mask) dependecies.
Check your package.mask.

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] xorg-x11-7.2 and portage
  2007-01-25 21:11 ` Boyd Stephen Smith Jr.
@ 2007-01-26  2:31   ` Bo Ørsted Andresen
  2007-01-26 11:40     ` Matthew R. Lee
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Bo Ørsted Andresen @ 2007-01-26  2:31 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 724 bytes --]

On Thursday 25 January 2007 22:11, Boyd Stephen Smith Jr. wrote:
> On Thursday 25 January 2007 13:50, "Matthew R. Lee" <gentoo@matthewlee.org>
>
> wrote about '[gentoo-user] xorg-x11-7.2 and portage':
> > My problem is I had to go through the cycle emerge -pvu world add a
> > package to package.keywords 11 times, to deal with the 11 masked
> > packages that xorg-x11-7.2 required.
> > So the question is, is there anyway to get emerge to list all the masked
> > dependencies required all at once?
>
> No.
>
> An alternative package manager, paludis, does have this feature.

Might as well include a couple of links.. :)

http://ciaranm.org/show_post.pl?post_id=75
http://paludis.org/

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] xorg-x11-7.2 and portage
  2007-01-26  2:31   ` Bo Ørsted Andresen
@ 2007-01-26 11:40     ` Matthew R. Lee
  2007-01-26 14:16     ` Mick
  2007-01-26 19:54     ` Boyd Stephen Smith Jr.
  2 siblings, 0 replies; 11+ messages in thread
From: Matthew R. Lee @ 2007-01-26 11:40 UTC (permalink / raw
  To: gentoo-user

On Thursday 25 January 2007 23:31, Bo Ørsted Andresen wrote:
> On Thursday 25 January 2007 22:11, Boyd Stephen Smith Jr. wrote:
> > On Thursday 25 January 2007 13:50, "Matthew R. Lee"
> > <gentoo@matthewlee.org>
> >
> > wrote about '[gentoo-user] xorg-x11-7.2 and portage':
> > > My problem is I had to go through the cycle emerge -pvu world add a
> > > package to package.keywords 11 times, to deal with the 11 masked
> > > packages that xorg-x11-7.2 required.
> > > So the question is, is there anyway to get emerge to list all the
> > > masked dependencies required all at once?
> >
> > No.
> >
> > An alternative package manager, paludis, does have this feature.
>
> Might as well include a couple of links.. :)
>
> http://ciaranm.org/show_post.pl?post_id=75
> http://paludis.org/
Thanks for the info I'll check it out at the weekend
Matt
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Dr. Matthew R. Lee
CASEB & ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

matt@matthewlee.org
mlee@bio.puc.cl

URL: meiochile.matthewlee.org
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] xorg-x11-7.2 and portage
  2007-01-26  2:31   ` Bo Ørsted Andresen
  2007-01-26 11:40     ` Matthew R. Lee
@ 2007-01-26 14:16     ` Mick
  2007-01-26 18:12       ` Bo Ørsted Andresen
  2007-01-26 19:54     ` Boyd Stephen Smith Jr.
  2 siblings, 1 reply; 11+ messages in thread
From: Mick @ 2007-01-26 14:16 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 802 bytes --]

On Friday 26 January 2007 02:31, Bo Ørsted Andresen wrote:
> On Thursday 25 January 2007 22:11, Boyd Stephen Smith Jr. wrote:
> > On Thursday 25 January 2007 13:50, "Matthew R. Lee"
> > <gentoo@matthewlee.org>
> >
> > > So the question is, is there anyway to get emerge to list all the
> > > masked dependencies required all at once?
> >
> > No.
> >
> > An alternative package manager, paludis, does have this feature.
>
> Might as well include a couple of links.. :)
>
> http://ciaranm.org/show_post.pl?post_id=75
> http://paludis.org/

I have been looking at paludis for some time now, but can't recall it being 
discussed in this ML.  If you have tried it, what's your take on it?  Should 
we be moving our package management over to Paludis any time soon?
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] xorg-x11-7.2 and portage
  2007-01-25 19:50 [gentoo-user] xorg-x11-7.2 and portage Matthew R. Lee
  2007-01-25 21:11 ` Boyd Stephen Smith Jr.
  2007-01-25 22:15 ` b.n.
@ 2007-01-26 15:34 ` Eugene Rosenzweig
  2 siblings, 0 replies; 11+ messages in thread
From: Eugene Rosenzweig @ 2007-01-26 15:34 UTC (permalink / raw
  To: gentoo-user

Matthew R. Lee wrote:
> I've just been doing my regular emerge -pvu world and the system wants to 
> update xorg-x11 to 7.2, fine.  To do this I needed to add some packages to 
> the packages.keywords file, again fine.
> My problem is I had to go through the cycle emerge -pvu world add a package to 
> package.keywords 11 times, to deal with the 11 masked packages that 
> xorg-x11-7.2 required.
> So the question is, is there anyway to get emerge to list all the masked 
> dependencies required all at once?  (i.e. when I run emerge -pvu world the 
> first time). I've looked at the man page but didn't see an obvious solution.
> Thanks 
> Matt
>   

It is a mini-repeat of what one had to do to get 7.0 installed.
There were a lot more masked packages to add at that time. I still have
a script I wrote for that purpose, it adds any encountered unstable
ebuilds to the /etc/portage/portage.keywords file and masked ebuilds to /etc/portage/portage.unmask file:

------------------

#!/bin/sh

LASTADD=''
UNMASK=''

if [ -z "$*" ]; then
  echo Need package name to emerge
  exit
fi

until emerge --deep --nocolor --verbose --pretend $* >/tmp/autokw$$; do
  if egrep "All ebuilds that could satisfy \".*\" have been masked." /tmp/autokw$$; then
    #echo error from portage looking at output
    EBUILD=`grep "^- " /tmp/autokw$$ | head -n 1 |\
      sed -e 's/^- \(.*\)-[0-9].*$/\1/'`
    if [ "$EBUILD" == "$LASTADD" -o -z "$EBUILD" ]; then
      echo oops same as last time or null: [$EBUILD]
      if [ ! -z "$UNMASK" ]; then
        echo already tried to unmask package
        rm /tmp/autokw$$
        exit
      fi
      echo trying to add to unmask
      if grep "All ebuilds that could satisfy" /tmp/autokw$$; then
        EBUILD=`grep "All ebuilds that " /tmp/autokw$$ | head -n 1 |\
          sed -e 's/.*"\([^"]*\).*$/\1/'`
        echo $EBUILD >> /etc/portage/package.unmask
        UNMASK="yes"
        LASTADD=''
      fi
    else
      echo adding [$EBUILD] to keywords file
      echo -e "$EBUILD\t~x86" >>/etc/portage/package.keywords;
      LASTADD=$EBUILD
      UNMASK=''
    fi
  else
    echo could not parse output
    cat /tmp/autokw$$
    break
 fi
done
[ -e "/tmp/autokw$$" ] && rm /tmp/autokw$$

------------------

It's just a hack but it has worked for me a couple of days ago for 7.2 ebuild. On that note, I have also found the etcportclean script useful (just google for it). It scans your /etc/portage files and tells you if you have any redundant entries there. The script might be broken a little from memory but it has worked quite well for me over a long time.

Eugene.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] xorg-x11-7.2 and portage
  2007-01-26 14:16     ` Mick
@ 2007-01-26 18:12       ` Bo Ørsted Andresen
  2007-01-26 18:41         ` Andrey Gerasimenko
  0 siblings, 1 reply; 11+ messages in thread
From: Bo Ørsted Andresen @ 2007-01-26 18:12 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]

On Friday 26 January 2007 15:16, Mick wrote:
> > > An alternative package manager, paludis, does have this feature.
> >
> > Might as well include a couple of links.. :)
> >
> > http://ciaranm.org/show_post.pl?post_id=75
> > http://paludis.org/
>
> I have been looking at paludis for some time now, but can't recall it being
> discussed in this ML.  If you have tried it, what's your take on it?
>  Should we be moving our package management over to Paludis any time soon?

Hmm.. I am using paludis on my systems and I know I wouldn't like to go back. 
It isn't officially supported by Gentoo yet and it won't be until there is a 
written down definition of what is allowed and what is disallowed in ebuilds. 
So filing a bug saying this package doesn't work with paludis will be ignored 
by at least some of the Gentoo devs.

Whether you should move or not I'll leave up to you. Following ciaranm.org or 
even planetpaludis.org should allow you to decide for yourself... Just make 
sure to read the docs at paludis.org if you want to try it. Effort is being 
put into making paludis compatible with portage so it's not necessarily a one 
way street. It's config files aren't compatible though.

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] xorg-x11-7.2 and portage
  2007-01-26 18:12       ` Bo Ørsted Andresen
@ 2007-01-26 18:41         ` Andrey Gerasimenko
  2007-01-26 19:13           ` Bo Ørsted Andresen
  0 siblings, 1 reply; 11+ messages in thread
From: Andrey Gerasimenko @ 2007-01-26 18:41 UTC (permalink / raw
  To: gentoo-user

On Fri, 26 Jan 2007 21:12:41 +0300, Bo Ørsted Andresen  
<bo.andresen@zlin.dk> wrote:

> Whether you should move or not I'll leave up to you. Following  
> ciaranm.org or
> even planetpaludis.org should allow you to decide for yourself... Just  
> make
> sure to read the docs at paludis.org if you want to try it. Effort is  
> being
> put into making paludis compatible with portage so it's not necessarily  
> a one
> way street. It's config files aren't compatible though.
>

I am also looking at Paludis, have read the docs, but cannot figure out  
one thing: does Paludis replace all of emerge, ebuild, revdep-rebuild,  
equery, qlist and friends? Ot looks like yes, with the possible exception  
of ebuild, which should still work, but I do not really know. Any comments?

-- 
Andrei Gerasimenko
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] xorg-x11-7.2 and portage
  2007-01-26 18:41         ` Andrey Gerasimenko
@ 2007-01-26 19:13           ` Bo Ørsted Andresen
  0 siblings, 0 replies; 11+ messages in thread
From: Bo Ørsted Andresen @ 2007-01-26 19:13 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1306 bytes --]

On Friday 26 January 2007 19:41, Andrey Gerasimenko wrote:
> > Whether you should move or not I'll leave up to you. Following ciaranm.org
> > or even planetpaludis.org should allow you to decide for yourself... Just
> > make sure to read the docs at paludis.org if you want to try it. Effort is
> > being put into making paludis compatible with portage so it's not
> > necessarily a one way street. It's config files aren't compatible though.
>
> I am also looking at Paludis, have read the docs, but cannot figure out
> one thing: does Paludis replace all of emerge, ebuild, revdep-rebuild,
> equery, qlist and friends? Ot looks like yes, with the possible exception
> of ebuild, which should still work, but I do not really know. Any comments?

Hmm.. I'd say paludis does replace emerge. ebuild is irrelevant. 
revdep-rebuild is still needed. There's a patched version available on the 
forums or you can just run it with --pretend and replace emerge with paludis. 
paludis can show contents and owners (equiv of equery files and belongs) and 
adjutrix can show reverse deps (equiv of equery depends). In short some but 
not all of it... More to come... Also with the ruby USE flag it contains a 
ruby script which does the same as eclean-dist just much quicker...

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] xorg-x11-7.2 and portage
  2007-01-26  2:31   ` Bo Ørsted Andresen
  2007-01-26 11:40     ` Matthew R. Lee
  2007-01-26 14:16     ` Mick
@ 2007-01-26 19:54     ` Boyd Stephen Smith Jr.
  2 siblings, 0 replies; 11+ messages in thread
From: Boyd Stephen Smith Jr. @ 2007-01-26 19:54 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 787 bytes --]

On Thursday 25 January 2007 20:31, Bo Ørsted Andresen <bo.andresen@zlin.dk> 
wrote about 'Re: [gentoo-user] xorg-x11-7.2 and portage':
> On Thursday 25 January 2007 22:11, Boyd Stephen Smith Jr. wrote:
> > An alternative package manager, paludis, does have this feature.
>
> Might as well include a couple of links.. :)

I didn't want to be accused of recommending paludis.  It's not supported 
(last time I checked) so anyone that chooses to install and use it will 
not necessarily have the full power of the Gentoo support available.

I'm not even using it right now.

-- 
Boyd Stephen Smith Jr.             ,= ,-_-. =. 
bss03@volumehost.net              ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/              \_/     

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-01-26 20:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-25 19:50 [gentoo-user] xorg-x11-7.2 and portage Matthew R. Lee
2007-01-25 21:11 ` Boyd Stephen Smith Jr.
2007-01-26  2:31   ` Bo Ørsted Andresen
2007-01-26 11:40     ` Matthew R. Lee
2007-01-26 14:16     ` Mick
2007-01-26 18:12       ` Bo Ørsted Andresen
2007-01-26 18:41         ` Andrey Gerasimenko
2007-01-26 19:13           ` Bo Ørsted Andresen
2007-01-26 19:54     ` Boyd Stephen Smith Jr.
2007-01-25 22:15 ` b.n.
2007-01-26 15:34 ` Eugene Rosenzweig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox