public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] converting from testing to stable SLOWLY
@ 2012-10-17 20:18 Allan Gottlieb
  2012-10-17 20:51 ` Florian Philipp
  2012-10-17 20:54 ` Neil Bothwick
  0 siblings, 2 replies; 9+ messages in thread
From: Allan Gottlieb @ 2012-10-17 20:18 UTC (permalink / raw
  To: gentoo-user

A few months ago a procedure was given for converting from testing to
stable (e.g. ~amd64-->~amd) by essentially waiting for stable to catch
up.

I believe the basic idea was to unmask a bunch of packages and then as
stable catches up, remove the unmasks.  I also believe there was some
automated way to generate the unmasks and maybe a way to see when each
is not needed.

Can someone repost this msg?
I foolishly did not save it and now want to convert a system to stable
and can afford to do so slowly.

thanks,
allan


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

* Re: [gentoo-user] converting from testing to stable SLOWLY
  2012-10-17 20:18 [gentoo-user] converting from testing to stable SLOWLY Allan Gottlieb
@ 2012-10-17 20:51 ` Florian Philipp
  2012-10-17 20:54 ` Neil Bothwick
  1 sibling, 0 replies; 9+ messages in thread
From: Florian Philipp @ 2012-10-17 20:51 UTC (permalink / raw
  To: gentoo-user

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

Am 17.10.2012 22:18, schrieb Allan Gottlieb:
> A few months ago a procedure was given for converting from testing to
> stable (e.g. ~amd64-->~amd) by essentially waiting for stable to catch
> up.
> 
> I believe the basic idea was to unmask a bunch of packages and then as
> stable catches up, remove the unmasks.  I also believe there was some
> automated way to generate the unmasks and maybe a way to see when each
> is not needed.
> 
> Can someone repost this msg?
> I foolishly did not save it and now want to convert a system to stable
> and can afford to do so slowly.
> 
> thanks,
> allan
> 

I don't remember the original post but if I understand you correctly, it
should be sufficient to replace your /etc/portage/package.keywords with
the output of this command:

eix --installed-testing --format '=<installedversions:NAMEVERSION>'
--pure-packages

You can then use eix-test-obsolete to find obsolete masks and other cruft.

Regards,
Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

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

* Re: [gentoo-user] converting from testing to stable SLOWLY
  2012-10-17 20:18 [gentoo-user] converting from testing to stable SLOWLY Allan Gottlieb
  2012-10-17 20:51 ` Florian Philipp
@ 2012-10-17 20:54 ` Neil Bothwick
  2012-10-17 21:49   ` Neil Bothwick
  2012-10-17 22:29   ` Allan Gottlieb
  1 sibling, 2 replies; 9+ messages in thread
From: Neil Bothwick @ 2012-10-17 20:54 UTC (permalink / raw
  To: gentoo-user

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

On Wed, 17 Oct 2012 16:18:50 -0400, Allan Gottlieb wrote:

> A few months ago a procedure was given for converting from testing to
> stable (e.g. ~amd64-->~amd) by essentially waiting for stable to catch
> up.
> 
> I believe the basic idea was to unmask a bunch of packages and then as
> stable catches up, remove the unmasks.  I also believe there was some
> automated way to generate the unmasks and maybe a way to see when each
> is not needed.
> 
> Can someone repost this msg?
> I foolishly did not save it and now want to convert a system to stable
> and can afford to do so slowly.

You can generate the list with

qlist -ICv | sed -e 's/^/~/' -e 's/-r[1-9]$//' >/etc/portage/package.use/goingstable

This allows revision updates, which is useful as they usually contain bug
or security fixes, but doesn't allow any higher versions.

Occasionally running eix-test-obsolete will let you know which entries
have become redundant because stable has caught up with them.


-- 
Neil Bothwick

Committee (noun): A group of people spending hours taking minutes

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] converting from testing to stable SLOWLY
  2012-10-17 20:54 ` Neil Bothwick
@ 2012-10-17 21:49   ` Neil Bothwick
  2012-10-17 22:29   ` Allan Gottlieb
  1 sibling, 0 replies; 9+ messages in thread
From: Neil Bothwick @ 2012-10-17 21:49 UTC (permalink / raw
  To: gentoo-user

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

On Wed, 17 Oct 2012 21:54:16 +0100, Neil Bothwick wrote:

> qlist -ICv | sed -e 's/^/~/' -e 's/-r[1-9]$//' >/etc/portage/package.use/goingstable

That should, of course, be package.unmask, not package.use.


-- 
Neil Bothwick

This chicken has no beak, said Tom impeccably.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] converting from testing to stable SLOWLY
  2012-10-17 20:54 ` Neil Bothwick
  2012-10-17 21:49   ` Neil Bothwick
@ 2012-10-17 22:29   ` Allan Gottlieb
  2013-12-20 22:34     ` gottlieb
  1 sibling, 1 reply; 9+ messages in thread
From: Allan Gottlieb @ 2012-10-17 22:29 UTC (permalink / raw
  To: gentoo-user

On Wed, Oct 17 2012, Neil Bothwick wrote:

> On Wed, 17 Oct 2012 16:18:50 -0400, Allan Gottlieb wrote:
>
>> A few months ago a procedure was given for converting from testing to
>> stable (e.g. ~amd64-->~amd) by essentially waiting for stable to catch
>> up.
>> 
>> I believe the basic idea was to unmask a bunch of packages and then as
>> stable catches up, remove the unmasks.  I also believe there was some
>> automated way to generate the unmasks and maybe a way to see when each
>> is not needed.
>> 
>> Can someone repost this msg?
>> I foolishly did not save it and now want to convert a system to stable
>> and can afford to do so slowly.
>
> You can generate the list with
>
> qlist -ICv | sed -e 's/^/~/' -e 's/-r[1-9]$//'
>>/etc/portage/package.mask/goingstable
>
> This allows revision updates, which is useful as they usually contain bug
> or security fixes, but doesn't allow any higher versions.
>
> Occasionally running eix-test-obsolete will let you know which entries
> have become redundant because stable has caught up with them.

Thanks you both (I incorporated the .use-->.mask) change).
allan


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

* Re: [gentoo-user] converting from testing to stable SLOWLY
  2012-10-17 22:29   ` Allan Gottlieb
@ 2013-12-20 22:34     ` gottlieb
  2013-12-21  0:08       ` Neil Bothwick
  0 siblings, 1 reply; 9+ messages in thread
From: gottlieb @ 2013-12-20 22:34 UTC (permalink / raw
  To: gentoo-user


On Wed, Oct 17 2012, Neil Bothwick wrote:

> On Wed, 17 Oct 2012 16:18:50 -0400, Allan Gottlieb wrote:
>
>> A few months ago a procedure was given for converting from testing to
>> stable (e.g. ~amd64-->~amd) by essentially waiting for stable to catch
>> up.
>> 
>> Can someone repost this msg?
>
> You can generate the list with
>
> qlist -ICv | sed -e 's/^/~/' -e 's/-r[1-9]$//' >/etc/portage/package.mask/goingstable

Am I correct in believing that there is a typo and "package.mask"
should be "package.accept_keywords"

> Occasionally running eix-test-obsolete will let you know which entries
> have become redundant because stable has caught up with them.

thanks,
allan

PS I know this was posted a year ago but I am only now implementing the
suggestion.  Sorry for the delay.


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

* Re: [gentoo-user] converting from testing to stable SLOWLY
  2013-12-20 22:34     ` gottlieb
@ 2013-12-21  0:08       ` Neil Bothwick
  2013-12-21  0:19         ` gottlieb
  2013-12-22  1:20         ` [gentoo-user] " walt
  0 siblings, 2 replies; 9+ messages in thread
From: Neil Bothwick @ 2013-12-21  0:08 UTC (permalink / raw
  To: gentoo-user

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

On Fri, 20 Dec 2013 17:34:34 -0500, gottlieb@nyu.edu wrote:

> > You can generate the list with
> >
> > qlist -ICv | sed -e 's/^/~/' -e 's/-r[1-9]$//'
> > >/etc/portage/package.mask/goingstable  
> 
> Am I correct in believing that there is a typo and "package.mask"
> should be "package.accept_keywords"

You are and it should.

> PS I know this was posted a year ago but I am only now implementing the
> suggestion.  Sorry for the delay.

I recently used it to move a machine from testing to stable. The one
caveat is that sometimes the testing version your have installed, and in
package.accept_keywords, is removed from the tree so portage wants to
downgrade to the latest stable version. You have the choice of letting
this happen or unmasking a later testing version.


-- 
Neil Bothwick

If at first you don't succeed, you'll get a lot of free advice from
folks who didn't succeed either.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] converting from testing to stable SLOWLY
  2013-12-21  0:08       ` Neil Bothwick
@ 2013-12-21  0:19         ` gottlieb
  2013-12-22  1:20         ` [gentoo-user] " walt
  1 sibling, 0 replies; 9+ messages in thread
From: gottlieb @ 2013-12-21  0:19 UTC (permalink / raw
  To: gentoo-user

On Fri, Dec 20 2013, Neil Bothwick wrote:

> On Fri, 20 Dec 2013 17:34:34 -0500, gottlieb@nyu.edu wrote:
>
>> > You can generate the list with
>> >
>> > qlist -ICv | sed -e 's/^/~/' -e 's/-r[1-9]$//'
>> > >/etc/portage/package.mask/goingstable  
>> 
>> Am I correct in believing that there is a typo and "package.mask"
>> should be "package.accept_keywords"
>
> You are and it should.
>
>> PS I know this was posted a year ago but I am only now implementing the
>> suggestion.  Sorry for the delay.
>
> I recently used it to move a machine from testing to stable. The one
> caveat is that sometimes the testing version your have installed, and in
> package.accept_keywords, is removed from the tree so portage wants to
> downgrade to the latest stable version. You have the choice of letting
> this happen or unmasking a later testing version.

I understand.  Thanks for the explanation and the original procedure.

allan


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

* [gentoo-user] Re: converting from testing to stable SLOWLY
  2013-12-21  0:08       ` Neil Bothwick
  2013-12-21  0:19         ` gottlieb
@ 2013-12-22  1:20         ` walt
  1 sibling, 0 replies; 9+ messages in thread
From: walt @ 2013-12-22  1:20 UTC (permalink / raw
  To: gentoo-user

On 12/20/2013 04:08 PM, Neil Bothwick wrote:

> I recently used it to move a machine from testing to stable.

Neil, what do you mean by 'it'?

That sentence reminds me of a null-pointer-dereference ;)



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

end of thread, other threads:[~2013-12-22  1:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-17 20:18 [gentoo-user] converting from testing to stable SLOWLY Allan Gottlieb
2012-10-17 20:51 ` Florian Philipp
2012-10-17 20:54 ` Neil Bothwick
2012-10-17 21:49   ` Neil Bothwick
2012-10-17 22:29   ` Allan Gottlieb
2013-12-20 22:34     ` gottlieb
2013-12-21  0:08       ` Neil Bothwick
2013-12-21  0:19         ` gottlieb
2013-12-22  1:20         ` [gentoo-user] " walt

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