* [gentoo-user] How do you make a gentoo system confirm to a release?
@ 2006-12-19 10:38 Christian Nygaard
2006-12-19 10:59 ` Bo Ørsted Andresen
2006-12-19 11:06 ` Alan McKinnon
0 siblings, 2 replies; 9+ messages in thread
From: Christian Nygaard @ 2006-12-19 10:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 561 bytes --]
If you have a Gentoo system with a specific release point for e.g. 2006.0and
you would like to live upgrade it so it confirms to a 2006.1 profile is that
possible?
To be specific I would like if possible to have a live upgrade to stage3 but
with
using i586 compile instead of i686. I could rm -rf /var/db and then reemerge
world, is there
a better way of doing it? I did get a block when doing an emerge world and
the system
is not a production one so some violence can be used. Though I prefer to do
it in the correcter
way if there is a such?
Thanks,
Chris
[-- Attachment #2: Type: text/html, Size: 600 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] How do you make a gentoo system confirm to a release?
2006-12-19 10:38 [gentoo-user] How do you make a gentoo system confirm to a release? Christian Nygaard
@ 2006-12-19 10:59 ` Bo Ørsted Andresen
2006-12-19 11:06 ` Alan McKinnon
1 sibling, 0 replies; 9+ messages in thread
From: Bo Ørsted Andresen @ 2006-12-19 10:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1924 bytes --]
On Tuesday 19 December 2006 11:38, Christian Nygaard wrote:
> If you have a Gentoo system with a specific release point for e.g.
> 2006.0and you would like to live upgrade it so it confirms to a 2006.1
> profile is that possible?
You just change the profile. The differences in the profiles between releases
or very minor.
http://www.gentoo.org/doc/en/gentoo-upgrading.xml
> To be specific I would like if possible to have a live upgrade to stage3
> but with using i586 compile instead of i686. I could rm -rf /var/db and then
> reemerge world, is there a better way of doing it?
It's quite unclear to be what you think you would achieve by removing the vdb
(/var/db/pkg - database of installed packages with information about which
files belongs to which package...).
What you would achieve though is a system where portage thinks nothing is
installed and hence you would have to be quite lucky to avoid orphans after
the reinstalling everything in the world file (which happens to be outside
the vdb). Seems pretty pointless to me..
Did you just want an upgraded system? In that case all you needed was:
# emerge -uvDa world
Or if you wanted to recompile everything you would just need
emerge --emptytree...
The vdb is the single most important part of any Gentoo system meaning that if
it gets removed you have to reinstall (at least to avoid orphans). The
portage database (the tree), distfiles and pkgdir on the other hand can be
easily regenerated. Even the world file can be regenerated if emerge.log is
intact...
> I did get a block when doing an emerge world and the system
> is not a production one so some violence can be used.
[SNIP]
Mostly blockers are instated because you need to remove a package (namely the
blocker) before an upgrade can take place. Tell us what the blocker is if
you're unsure about what to unmerge...
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] How do you make a gentoo system confirm to a release?
2006-12-19 10:38 [gentoo-user] How do you make a gentoo system confirm to a release? Christian Nygaard
2006-12-19 10:59 ` Bo Ørsted Andresen
@ 2006-12-19 11:06 ` Alan McKinnon
2006-12-19 11:12 ` Bo Ørsted Andresen
` (2 more replies)
1 sibling, 3 replies; 9+ messages in thread
From: Alan McKinnon @ 2006-12-19 11:06 UTC (permalink / raw
To: gentoo-user
On Tuesday 19 December 2006 12:38, Christian Nygaard wrote:
> If you have a Gentoo system with a specific release point for e.g.
> 2006.0and you would like to live upgrade it so it confirms to a
> 2006.1 profile is that possible?
You appear to misunderstand what a profile is. It's nothing more than a
point from which to start, including a bunch of defaults. Profiles
don't specify specific versions of ebuilds to use, although they might
define the minimum version number of a package if earlier versions are
known to not work with other stuff.
My desktop machine at home is still on 2005.0 profile and yet, it is a
fully up to date x86 system. If I were to make it a 2006.1 profile,
it's very unlikely that anything would change at all.
> To be specific I would like if possible to have a live upgrade to
> stage3 but with
> using i586 compile instead of i686. I could rm -rf /var/db and then
> reemerge world, is there
> a better way of doing it? I did get a block when doing an emerge
> world and the system
> is not a production one so some violence can be used. Though I prefer
> to do it in the correcter
> way if there is a such?
First, why do you want to downgrade from i686 to i586? Do you have an
original pentium chip and you specified i686 by mistake? There's no
other valid reason I can think of for such a downgrade.
But, if you insist, you can do this:
1. Change your CHOST in /etc/make.conf
2. Change the /etc/make.profile symplink to point to the profile of your
choice in /usr/portage/profiles
3. emerge -e system ; emerge -e world
Step 3 might fail at one or more points. You will have to fix those
yourself each time it happens. It might be blockers, good old compile
errors or something else, so just cope with whatever comes up when it
comes up.
Also, check the current and destined version numbers of problematic
packages like glibc, gcc and Xorg - see if the various upgrade howtos
on www.gentoo.org apply to your specific case, and if so, follow the
howto carefully.
Finally, you really really don't want to rm -rf /var/db - portage will
keep it's own stuff up to date and current, you don't need to fiddle
with it.
alan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] How do you make a gentoo system confirm to a release?
2006-12-19 11:06 ` Alan McKinnon
@ 2006-12-19 11:12 ` Bo Ørsted Andresen
2006-12-19 12:01 ` Alan McKinnon
2006-12-19 11:31 ` Neil Bothwick
2006-12-19 12:02 ` Jesús Guerrero
2 siblings, 1 reply; 9+ messages in thread
From: Bo Ørsted Andresen @ 2006-12-19 11:12 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 504 bytes --]
On Tuesday 19 December 2006 12:06, Alan McKinnon wrote:
> But, if you insist, you can do this:
>
> 1. Change your CHOST in /etc/make.conf
> 2. Change the /etc/make.profile symplink to point to the profile of your
> choice in /usr/portage/profiles
> 3. emerge -e system ; emerge -e world
Whoa! Your instructions for changing CHOST are incomplete! There's a guide for
that. Refer to it! Make sure to read the warnings in it.
http://www.gentoo.org/doc/en/change-chost.xml
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] How do you make a gentoo system confirm to a release?
2006-12-19 11:06 ` Alan McKinnon
2006-12-19 11:12 ` Bo Ørsted Andresen
@ 2006-12-19 11:31 ` Neil Bothwick
2006-12-19 12:07 ` Alan McKinnon
2006-12-19 12:02 ` Jesús Guerrero
2 siblings, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2006-12-19 11:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 838 bytes --]
On Tue, 19 Dec 2006 13:06:05 +0200, Alan McKinnon wrote:
> My desktop machine at home is still on 2005.0 profile and yet, it is a
> fully up to date x86 system. If I were to make it a 2006.1 profile,
> it's very unlikely that anything would change at all.
In this case, I expect there would be changes. 2006.1 introduced desktop
and server sub-profiles, so 2006.1 itself contains a minimal set of USE
flags, only those used by both server ans desktop. Thus it is possible
that many of your packages would be rebuilt with an emerge -uavDN world.
On the other hand, if you switched to a 2006.1/desktop profile, it is
likely that very little would change, except maybe a few default USE
flags that you hardly use.
--
Neil Bothwick
Software: (n.) That which hardware manufacturers can blame for physical
failures.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] How do you make a gentoo system confirm to a release?
2006-12-19 11:12 ` Bo Ørsted Andresen
@ 2006-12-19 12:01 ` Alan McKinnon
0 siblings, 0 replies; 9+ messages in thread
From: Alan McKinnon @ 2006-12-19 12:01 UTC (permalink / raw
To: gentoo-user
On Tuesday 19 December 2006 13:12, Bo Ørsted Andresen wrote:
> On Tuesday 19 December 2006 12:06, Alan McKinnon wrote:
> > But, if you insist, you can do this:
> >
> > 1. Change your CHOST in /etc/make.conf
> > 2. Change the /etc/make.profile symplink to point to the profile of
> > your choice in /usr/portage/profiles
> > 3. emerge -e system ; emerge -e world
>
> Whoa! Your instructions for changing CHOST are incomplete! There's a
> guide for that. Refer to it! Make sure to read the warnings in it.
>
> http://www.gentoo.org/doc/en/change-chost.xml
You are quite correct.
In my defense it's something I only ever do once per machine and then
forget all about it, so it's easy to forget about the issues involved
alan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] How do you make a gentoo system confirm to a release?
2006-12-19 11:06 ` Alan McKinnon
2006-12-19 11:12 ` Bo Ørsted Andresen
2006-12-19 11:31 ` Neil Bothwick
@ 2006-12-19 12:02 ` Jesús Guerrero
2 siblings, 0 replies; 9+ messages in thread
From: Jesús Guerrero @ 2006-12-19 12:02 UTC (permalink / raw
To: gentoo-user
El Tue, 19 Dec 2006 13:06:05 +0200
Alan McKinnon <alan@linuxholdings.co.za> escribió:
> First, why do you want to downgrade from i686 to i586? Do you have an
> original pentium chip and you specified i686 by mistake? There's no
> other valid reason I can think of for such a downgrade.
>
Unless there is a good reason, I agreen on this, but
> But, if you insist, you can do this:
>
> 1. Change your CHOST in /etc/make.conf
> 2. Change the /etc/make.profile symplink to point to the profile of
> your choice in /usr/portage/profiles
> 3. emerge -e system ; emerge -e world
>
This is just the way to go if you want to take some fun fixing your
installation later. The way to breakage. Changing chost can be a
dangerous thing if there if your config files are not fully healthy,
so, better use the guide:
http://www.gentoo.org/doc/en/change-chost.xml
Never ever remove the database, it just does not make any sense. The
profile will mark new minimal versions that maybe will push some
updates into the system, and some of them maybe for critical stuff like
glibc, gcc or xorg. There are upgrade guides for those around. Just be
vigilant and use --pretend --verbose after doing a thing to see what is
new in the profile.
Jesús Guerrero.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] How do you make a gentoo system confirm to a release?
2006-12-19 11:31 ` Neil Bothwick
@ 2006-12-19 12:07 ` Alan McKinnon
2006-12-19 15:10 ` Neil Bothwick
0 siblings, 1 reply; 9+ messages in thread
From: Alan McKinnon @ 2006-12-19 12:07 UTC (permalink / raw
To: gentoo-user
On Tuesday 19 December 2006 13:31, Neil Bothwick wrote:
> On Tue, 19 Dec 2006 13:06:05 +0200, Alan McKinnon wrote:
> > My desktop machine at home is still on 2005.0 profile and yet, it
> > is a fully up to date x86 system. If I were to make it a 2006.1
> > profile, it's very unlikely that anything would change at all.
>
> In this case, I expect there would be changes. 2006.1 introduced
> desktop and server sub-profiles, so 2006.1 itself contains a minimal
> set of USE flags, only those used by both server ans desktop. Thus it
> is possible that many of your packages would be rebuilt with an
> emerge -uavDN world. On the other hand, if you switched to a
> 2006.1/desktop profile, it is likely that very little would change,
> except maybe a few default USE flags that you hardly use.
Interestingly enough, I looked into this a month back when I had to
create a glibc 2.3 chroot for a proprietary database (much like a 32
bit chroot on an AMD64).
I extended default_linux/x86 to create a new "minimal" profile, but
before that had to figure out how the new desktop/server profiles were
set up. It turns out that I had explicit USE flags for everything in
desktop, so the net change to switching main profiles for me would be
0.
Of course, all of this is terribly interesting and has absolutely
nothing to do with the OPs question :-)
alan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] How do you make a gentoo system confirm to a release?
2006-12-19 12:07 ` Alan McKinnon
@ 2006-12-19 15:10 ` Neil Bothwick
0 siblings, 0 replies; 9+ messages in thread
From: Neil Bothwick @ 2006-12-19 15:10 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 320 bytes --]
On Tue, 19 Dec 2006 14:07:08 +0200, Alan McKinnon wrote:
> Of course, all of this is terribly interesting and has absolutely
> nothing to do with the OPs question :-)
Making this a typical mailing list thread ;-)
--
Neil Bothwick
PC DOS Error #04: Out of disk space. Delete Windows? (Y)es (H)ell yes!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-12-19 15:14 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-19 10:38 [gentoo-user] How do you make a gentoo system confirm to a release? Christian Nygaard
2006-12-19 10:59 ` Bo Ørsted Andresen
2006-12-19 11:06 ` Alan McKinnon
2006-12-19 11:12 ` Bo Ørsted Andresen
2006-12-19 12:01 ` Alan McKinnon
2006-12-19 11:31 ` Neil Bothwick
2006-12-19 12:07 ` Alan McKinnon
2006-12-19 15:10 ` Neil Bothwick
2006-12-19 12:02 ` Jesús Guerrero
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox