public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] KDE4.3 upgrade -- questions about wiki page
@ 2009-08-25 13:54 Mark Haney
  2009-08-25 14:31 ` Akos Szalkai
  2009-08-25 14:55 ` [gentoo-amd64] " Mark Knecht
  0 siblings, 2 replies; 13+ messages in thread
From: Mark Haney @ 2009-08-25 13:54 UTC (permalink / raw
  To: gentoo-amd64

I'm trying to upgrade to 4.3 from 4.2.4 and I've been seeing the blocks
that are keeping me from upgrading.  According to the wiki page I should:

> # Check that you don’t have any 4.2 versioned kde-base/* items in /var/lib/portage/world
> # Check that you don’t have any 4.2 versioned sets in /var/lib/portage/world_sets 

I did that, and I do have a few KDE things in world.  My question is,
how do I fix that?  I am nervous about editing /var/lib/portage/world
directly.  Is there some other, better way?



-- 
Interdum feror cupidine partium magnarum Europae vincendarum

Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415



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

* Re: [gentoo-amd64] KDE4.3 upgrade -- questions about wiki page
  2009-08-25 13:54 [gentoo-amd64] KDE4.3 upgrade -- questions about wiki page Mark Haney
@ 2009-08-25 14:31 ` Akos Szalkai
  2009-08-25 14:39   ` Mark Haney
  2009-08-25 16:12   ` [gentoo-amd64] " Duncan
  2009-08-25 14:55 ` [gentoo-amd64] " Mark Knecht
  1 sibling, 2 replies; 13+ messages in thread
From: Akos Szalkai @ 2009-08-25 14:31 UTC (permalink / raw
  To: gentoo-amd64


> I did that, and I do have a few KDE things in world.  My question is,
> how do I fix that?  I am nervous about editing /var/lib/portage/world
> directly.  Is there some other, better way?
>   

Don't be nervous about it, I've been doing it for a long time. :)  Make
a backup copy before though, just to be sure.

And don't remove all KDE stuff from world, just the 4.2 versioned ones
(like kde-base/kde-meta:4.2).

Actually, I did not know there was a wiki page about it, so after
meeting the blocks, I just removed all KDE-4.2 packages and installed
kde-meta:4.3.

Akos




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

* Re: [gentoo-amd64] KDE4.3 upgrade -- questions about wiki page
  2009-08-25 14:31 ` Akos Szalkai
@ 2009-08-25 14:39   ` Mark Haney
  2009-08-25 14:43     ` Paul Hartman
  2009-08-25 14:58     ` Akos Szalkai
  2009-08-25 16:12   ` [gentoo-amd64] " Duncan
  1 sibling, 2 replies; 13+ messages in thread
From: Mark Haney @ 2009-08-25 14:39 UTC (permalink / raw
  To: gentoo-amd64

Akos Szalkai wrote:
>> I did that, and I do have a few KDE things in world.  My question is,
>> how do I fix that?  I am nervous about editing /var/lib/portage/world
>> directly.  Is there some other, better way?
>>   
> 
> Don't be nervous about it, I've been doing it for a long time. :)  Make
> a backup copy before though, just to be sure.
> 
> And don't remove all KDE stuff from world, just the 4.2 versioned ones
> (like kde-base/kde-meta:4.2).

I appreciate the vote of confidence, but this still doesn't answer my
question on HOW do I remove those entries from world?  Edit the world
file or emerge -C or what?




-- 
Interdum feror cupidine partium magnarum Europae vincendarum

Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415



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

* Re: [gentoo-amd64] KDE4.3 upgrade -- questions about wiki page
  2009-08-25 14:39   ` Mark Haney
@ 2009-08-25 14:43     ` Paul Hartman
  2009-08-25 14:58     ` Akos Szalkai
  1 sibling, 0 replies; 13+ messages in thread
From: Paul Hartman @ 2009-08-25 14:43 UTC (permalink / raw
  To: gentoo-amd64

On Tue, Aug 25, 2009 at 9:39 AM, Mark Haney<mhaney@ercbroadband.org> wrote:
> Akos Szalkai wrote:
>>> I did that, and I do have a few KDE things in world.  My question is,
>>> how do I fix that?  I am nervous about editing /var/lib/portage/world
>>> directly.  Is there some other, better way?
>>>
>>
>> Don't be nervous about it, I've been doing it for a long time. :)  Make
>> a backup copy before though, just to be sure.
>>
>> And don't remove all KDE stuff from world, just the 4.2 versioned ones
>> (like kde-base/kde-meta:4.2).
>
> I appreciate the vote of confidence, but this still doesn't answer my
> question on HOW do I remove those entries from world?  Edit the world
> file or emerge -C or what?

emerge -C should be just fine. If you edit the world file, you'd have
to then emerge --depclean afterward, which could be an adventure
depending on how long it has been since you last ran that command.



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

* Re: [gentoo-amd64] KDE4.3 upgrade -- questions about wiki page
  2009-08-25 13:54 [gentoo-amd64] KDE4.3 upgrade -- questions about wiki page Mark Haney
  2009-08-25 14:31 ` Akos Szalkai
@ 2009-08-25 14:55 ` Mark Knecht
  2009-08-25 14:59   ` Paul Hartman
  2009-08-25 15:01   ` Akos Szalkai
  1 sibling, 2 replies; 13+ messages in thread
From: Mark Knecht @ 2009-08-25 14:55 UTC (permalink / raw
  To: gentoo-amd64

On Tue, Aug 25, 2009 at 6:54 AM, Mark Haney<mhaney@ercbroadband.org> wrote:
> I'm trying to upgrade to 4.3 from 4.2.4 and I've been seeing the blocks
> that are keeping me from upgrading.  According to the wiki page I should:
>
>> # Check that you don’t have any 4.2 versioned kde-base/* items in /var/lib/portage/world
>> # Check that you don’t have any 4.2 versioned sets in /var/lib/portage/world_sets
>
> I did that, and I do have a few KDE things in world.  My question is,
> how do I fix that?  I am nervous about editing /var/lib/portage/world
> directly.  Is there some other, better way?
>
>
>
> --
> Interdum feror cupidine partium magnarum Europae vincendarum
>
> Mark Haney
> Sr. Systems Administrator
> ERC Broadband
> (828) 350-2415
>
>

I'm not at a Gentoo machine right now, but in addition to the inputs
from Akos and Paul there is a Gentoo app (which unfortunately I don't
remember the name but is something obvious like auto-unblock, etc.)
that does auto-unblocking and adds lines to portage.unmask,
portage.keywords, etc. It puts comments around the lines it adds so
that it's easy to see what it did. sometimes you need to run it a
couple of times to get to a point where you'll get a clean install,
but it does work.

Might be another option for you.

hope this helps,
Mark



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

* Re: [gentoo-amd64] KDE4.3 upgrade -- questions about wiki page
  2009-08-25 14:39   ` Mark Haney
  2009-08-25 14:43     ` Paul Hartman
@ 2009-08-25 14:58     ` Akos Szalkai
  1 sibling, 0 replies; 13+ messages in thread
From: Akos Szalkai @ 2009-08-25 14:58 UTC (permalink / raw
  To: gentoo-amd64



Mark Haney:
> Akos Szalkai wrote:
>   
>>> I did that, and I do have a few KDE things in world.  My question is,
>>> how do I fix that?  I am nervous about editing /var/lib/portage/world
>>> directly.  Is there some other, better way?
>>>   
>>>       
>> Don't be nervous about it, I've been doing it for a long time. :)  Make
>> a backup copy before though, just to be sure.
>>     
> I appreciate the vote of confidence, but this still doesn't answer my
> question on HOW do I remove those entries from world?  Edit the world
> file or emerge -C or what?
>   

I meant that you shouldn't be nervous about editing
/var/lib/portage/world by hand, because that's what you asked.  Of
course, you have several other ways to do it.

Akos




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

* Re: [gentoo-amd64] KDE4.3 upgrade -- questions about wiki page
  2009-08-25 14:55 ` [gentoo-amd64] " Mark Knecht
@ 2009-08-25 14:59   ` Paul Hartman
  2009-08-25 15:01     ` Mark Knecht
  2009-08-25 15:01   ` Akos Szalkai
  1 sibling, 1 reply; 13+ messages in thread
From: Paul Hartman @ 2009-08-25 14:59 UTC (permalink / raw
  To: gentoo-amd64

On Tue, Aug 25, 2009 at 9:55 AM, Mark Knecht<markknecht@gmail.com> wrote:
> On Tue, Aug 25, 2009 at 6:54 AM, Mark Haney<mhaney@ercbroadband.org> wrote:
>> I'm trying to upgrade to 4.3 from 4.2.4 and I've been seeing the blocks
>> that are keeping me from upgrading.  According to the wiki page I should:
>>
>>> # Check that you don’t have any 4.2 versioned kde-base/* items in /var/lib/portage/world
>>> # Check that you don’t have any 4.2 versioned sets in /var/lib/portage/world_sets
>>
>> I did that, and I do have a few KDE things in world.  My question is,
>> how do I fix that?  I am nervous about editing /var/lib/portage/world
>> directly.  Is there some other, better way?
>>
>>
>>
>> --
>> Interdum feror cupidine partium magnarum Europae vincendarum
>>
>> Mark Haney
>> Sr. Systems Administrator
>> ERC Broadband
>> (828) 350-2415
>>
>>
>
> I'm not at a Gentoo machine right now, but in addition to the inputs
> from Akos and Paul there is a Gentoo app (which unfortunately I don't
> remember the name but is something obvious like auto-unblock, etc.)
> that does auto-unblocking and adds lines to portage.unmask,
> portage.keywords, etc. It puts comments around the lines it adds so
> that it's easy to see what it did. sometimes you need to run it a
> couple of times to get to a point where you'll get a clean install,
> but it does work.
>
> Might be another option for you.
>
> hope this helps,
> Mark

autounmask



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

* Re: [gentoo-amd64] KDE4.3 upgrade -- questions about wiki page
  2009-08-25 14:59   ` Paul Hartman
@ 2009-08-25 15:01     ` Mark Knecht
  0 siblings, 0 replies; 13+ messages in thread
From: Mark Knecht @ 2009-08-25 15:01 UTC (permalink / raw
  To: gentoo-amd64

On Tue, Aug 25, 2009 at 7:59 AM, Paul
Hartman<paul.hartman+gentoo@gmail.com> wrote:
> On Tue, Aug 25, 2009 at 9:55 AM, Mark Knecht<markknecht@gmail.com> wrote:
>> On Tue, Aug 25, 2009 at 6:54 AM, Mark Haney<mhaney@ercbroadband.org> wrote:
>>> I'm trying to upgrade to 4.3 from 4.2.4 and I've been seeing the blocks
>>> that are keeping me from upgrading.  According to the wiki page I should:
>>>
>>>> # Check that you don’t have any 4.2 versioned kde-base/* items in /var/lib/portage/world
>>>> # Check that you don’t have any 4.2 versioned sets in /var/lib/portage/world_sets
>>>
>>> I did that, and I do have a few KDE things in world.  My question is,
>>> how do I fix that?  I am nervous about editing /var/lib/portage/world
>>> directly.  Is there some other, better way?
>>>
>>>
>>>
>>> --
>>> Interdum feror cupidine partium magnarum Europae vincendarum
>>>
>>> Mark Haney
>>> Sr. Systems Administrator
>>> ERC Broadband
>>> (828) 350-2415
>>>
>>>
>>
>> I'm not at a Gentoo machine right now, but in addition to the inputs
>> from Akos and Paul there is a Gentoo app (which unfortunately I don't
>> remember the name but is something obvious like auto-unblock, etc.)
>> that does auto-unblocking and adds lines to portage.unmask,
>> portage.keywords, etc. It puts comments around the lines it adds so
>> that it's easy to see what it did. sometimes you need to run it a
>> couple of times to get to a point where you'll get a clean install,
>> but it does work.
>>
>> Might be another option for you.
>>
>> hope this helps,
>> Mark
>
> autounmask
>
>
Thanks Paul!



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

* Re: [gentoo-amd64] KDE4.3 upgrade -- questions about wiki page
  2009-08-25 14:55 ` [gentoo-amd64] " Mark Knecht
  2009-08-25 14:59   ` Paul Hartman
@ 2009-08-25 15:01   ` Akos Szalkai
  2009-08-25 15:07     ` Mark Knecht
  1 sibling, 1 reply; 13+ messages in thread
From: Akos Szalkai @ 2009-08-25 15:01 UTC (permalink / raw
  To: gentoo-amd64


> I'm not at a Gentoo machine right now, but in addition to the inputs
> from Akos and Paul there is a Gentoo app (which unfortunately I don't
> remember the name but is something obvious like auto-unblock, etc.)
> that does auto-unblocking and adds lines to portage.unmask,
> portage.keywords, etc. It puts comments around the lines it adds so
> that it's easy to see what it did. sometimes you need to run it a
> couple of times to get to a point where you'll get a clean install,
> but it does work.
>   

You may be thinking of autounmask.  But I don't think it will help with
the KDE 4.2.4->4.3.0 blocks.

Akos




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

* Re: [gentoo-amd64] KDE4.3 upgrade -- questions about wiki page
  2009-08-25 15:01   ` Akos Szalkai
@ 2009-08-25 15:07     ` Mark Knecht
  2009-08-25 15:34       ` Akos Szalkai
  0 siblings, 1 reply; 13+ messages in thread
From: Mark Knecht @ 2009-08-25 15:07 UTC (permalink / raw
  To: gentoo-amd64

On Tue, Aug 25, 2009 at 8:01 AM, Akos Szalkai<szalkai@szalkai.net> wrote:
>
>> I'm not at a Gentoo machine right now, but in addition to the inputs
>> from Akos and Paul there is a Gentoo app (which unfortunately I don't
>> remember the name but is something obvious like auto-unblock, etc.)
>> that does auto-unblocking and adds lines to portage.unmask,
>> portage.keywords, etc. It puts comments around the lines it adds so
>> that it's easy to see what it did. sometimes you need to run it a
>> couple of times to get to a point where you'll get a clean install,
>> but it does work.
>>
>
> You may be thinking of autounmask.  But I don't think it will help with
> the KDE 4.2.4->4.3.0 blocks.
>
> Akos
>

Yes, that's what I was thinking of.

Why don't you think it will help in this case? Is it limited in some way?

- Mark



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

* Re: [gentoo-amd64] KDE4.3 upgrade -- questions about wiki page
  2009-08-25 15:07     ` Mark Knecht
@ 2009-08-25 15:34       ` Akos Szalkai
  2009-08-25 15:37         ` Mark Knecht
  0 siblings, 1 reply; 13+ messages in thread
From: Akos Szalkai @ 2009-08-25 15:34 UTC (permalink / raw
  To: gentoo-amd64


>> You may be thinking of autounmask.  But I don't think it will help with
>> the KDE 4.2.4->4.3.0 blocks.
>>     
> Yes, that's what I was thinking of.
>
> Why don't you think it will help in this case? Is it limited in some way?
If I'm remember correctly (I don't have a KDE-4.2.4 system right now),
the blocks are not keyword or mask related, but 4.2.4 and 4.3 simply
blocking each other.  You cannot have both installed, unless you turn on
the very much deprecated kdeprefix USE flag.  And if you have a :4.2
versioned item in world, portage won't be able to resolve the blocks by
upgrading (which may or may not be considered a portage problem).

At least this is how I imagine the situation, without digging too deep
into the ebuilds. :-/

Akos



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

* Re: [gentoo-amd64] KDE4.3 upgrade -- questions about wiki page
  2009-08-25 15:34       ` Akos Szalkai
@ 2009-08-25 15:37         ` Mark Knecht
  0 siblings, 0 replies; 13+ messages in thread
From: Mark Knecht @ 2009-08-25 15:37 UTC (permalink / raw
  To: gentoo-amd64

On Tue, Aug 25, 2009 at 8:34 AM, Akos Szalkai<szalkai@szalkai.net> wrote:
>
>>> You may be thinking of autounmask.  But I don't think it will help with
>>> the KDE 4.2.4->4.3.0 blocks.
>>>
>> Yes, that's what I was thinking of.
>>
>> Why don't you think it will help in this case? Is it limited in some way?
> If I'm remember correctly (I don't have a KDE-4.2.4 system right now),
> the blocks are not keyword or mask related, but 4.2.4 and 4.3 simply
> blocking each other.  You cannot have both installed, unless you turn on
> the very much deprecated kdeprefix USE flag.  And if you have a :4.2
> versioned item in world, portage won't be able to resolve the blocks by
> upgrading (which may or may not be considered a portage problem).
>
> At least this is how I imagine the situation, without digging too deep
> into the ebuilds. :-/
>
> Akos
>
>

Ah, OK. Thanks for the insights.

Cheers,
Mark



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

* [gentoo-amd64]  Re: KDE4.3 upgrade -- questions about wiki page
  2009-08-25 14:31 ` Akos Szalkai
  2009-08-25 14:39   ` Mark Haney
@ 2009-08-25 16:12   ` Duncan
  1 sibling, 0 replies; 13+ messages in thread
From: Duncan @ 2009-08-25 16:12 UTC (permalink / raw
  To: gentoo-amd64

Akos Szalkai posted on Tue, 25 Aug 2009 16:31:13 +0200 as excerpted:

>> I did that, and I do have a few KDE things in world.  My question is,
>> how do I fix that?  I am nervous about editing /var/lib/portage/world
>> directly.  Is there some other, better way?
>>   
>>   
> Don't be nervous about it, I've been doing it for a long time. :)  Make
> a backup copy before though, just to be sure.
> 
> And don't remove all KDE stuff from world, just the 4.2 versioned ones
> (like kde-base/kde-meta:4.2).
> 
> Actually, I did not know there was a wiki page about it, so after
> meeting the blocks, I just removed all KDE-4.2 packages and installed
> kde-meta:4.3.

Editing the world and indeed world_sets file, really isn't a big deal, 
especially for deleting, as long as you delete the entire line.

Adding gets a bit more complicated, but even that isn't too bad, as long 
as you're careful to get the full package category and name correct, and 
append the :slot info if necessary.  However, while I do still hand-edit 
the (much smaller) world_sets file, I haven't hand-edited the world file 
in ages, preferring to let portage do it with emerge -C to unmerge for 
removing lines.  For adding lines, same thing, only since my emerge 
scripts add --oneshot by default (so I never have to worry about dirtying 
my world files), I do a remerge with --noreplace (and without -1) to 
actually add packages to the world file if I want them there.  That 
doesn't remerge the package due to the --noreplace, just asks me if I 
want to add the package to the world file, which I do, at that point.

Actually, my script invocation for the add is eaa <pkg>, for emerge --ask 
<add>.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman




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

end of thread, other threads:[~2011-10-31  3:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-25 13:54 [gentoo-amd64] KDE4.3 upgrade -- questions about wiki page Mark Haney
2009-08-25 14:31 ` Akos Szalkai
2009-08-25 14:39   ` Mark Haney
2009-08-25 14:43     ` Paul Hartman
2009-08-25 14:58     ` Akos Szalkai
2009-08-25 16:12   ` [gentoo-amd64] " Duncan
2009-08-25 14:55 ` [gentoo-amd64] " Mark Knecht
2009-08-25 14:59   ` Paul Hartman
2009-08-25 15:01     ` Mark Knecht
2009-08-25 15:01   ` Akos Szalkai
2009-08-25 15:07     ` Mark Knecht
2009-08-25 15:34       ` Akos Szalkai
2009-08-25 15:37         ` Mark Knecht

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