Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
upgrading existing installation using stage tarballs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kiboko
n00b
n00b


Joined: 29 May 2003
Posts: 59

PostPosted: Tue Apr 29, 2014 3:47 am    Post subject: upgrading existing installation using stage tarballs Reply with quote

Hi Gentoo'ers,

Is there a way to upgrade a preexisting Gentoo system using stage 1, 2, or 3 tarballs?

I have a system that has not been updated in a year as as such updates have too may blockers.

Was looking for a way to keep my installed applications and configurations with minimal work rather than a blind re-install.

Thank you for any pointers and suggestions.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Tue Apr 29, 2014 7:20 am    Post subject: Reply with quote

Using a stage file you will get latest portage... so system tools to continue install gentoo.
So you'll endup finally with upgraded tools, that's what you seek.

But no, because you'll also endup with what config files the stage file have and crush your own.
First problem here : it could destroy some config you've made, including worldfile

And second, because even you have endup with upgrade portage/system tools because of the more recent stage file, your old applications remains to be upgrade.

Doing that so only gave you update portage and system tools found in the stage file, at risk of config files overwrittten, and all your applications remain to be upgrade.

You can get that state by upgrading portage thru a provided package prebuild : look for tinderbox.dev.gentoo.org
This way you safely keep your config, but still your applications must be upgrade.


In the end, your applications must be upgrade and you cannot avoid that task.
All blocks can be fix, portage will tell you howto fix them ; but the "i don't understand what portage is saying" way is giving portage less chance to met a conflict. It just mean gives portage a lower set to avoid the blocks.
- So, instead of emerge world, goes with emerge system, if it complain with gcc, go with emerge gcc instead of emerge system...
- Something not do do with system tools can be "more safely" done with non critical tools :
emerge complain X is blocking Y, look at Y dependencies and emerge -1 --nodeps Y Y-dep1 Y-dep2 will upgrade Y and Y-deps without looking at other deps : so portage is blind of other deps == portage cannot see block and doesn't complain anymore.
Some user just prefer remove X, emerge Y and reemerge X then. As long as you're not doing that kind of stuff with critical tools, you'll be safe, not safe as something might break, but safe as even broken your system is still healthy (ie: who cares if gnome doesn't work as long as emerge still, because only when you cannot emerge you'll get stuck, as long as emerge and system tools are safe, you have a solve to any problem)
- And last, you can also post blocks that bug you more and sure someone will help you understand and fix them.
of course the longer the list, the less chance to get help :)
Back to top
View user's profile Send private message
kiboko
n00b
n00b


Joined: 29 May 2003
Posts: 59

PostPosted: Thu May 01, 2014 1:41 pm    Post subject: Reply with quote

Thanks for detailed response. I will reattempt the long road of emerge upgrade addressing each blocker and change until I am back up to date.

krinn wrote:
Using a stage file you will get latest portage... so system tools to continue install gentoo.
So you'll endup finally with upgraded tools, that's what you seek.

But no, because you'll also endup with what config files the stage file have and crush your own.
First problem here : it could destroy some config you've made, including worldfile

And second, because even you have endup with upgrade portage/system tools because of the more recent stage file, your old applications remains to be upgrade.

Doing that so only gave you update portage and system tools found in the stage file, at risk of config files overwrittten, and all your applications remain to be upgrade.

You can get that state by upgrading portage thru a provided package prebuild : look for tinderbox.dev.gentoo.org
This way you safely keep your config, but still your applications must be upgrade.


In the end, your applications must be upgrade and you cannot avoid that task.
All blocks can be fix, portage will tell you howto fix them ; but the "i don't understand what portage is saying" way is giving portage less chance to met a conflict. It just mean gives portage a lower set to avoid the blocks.
- So, instead of emerge world, goes with emerge system, if it complain with gcc, go with emerge gcc instead of emerge system...
- Something not do do with system tools can be "more safely" done with non critical tools :
emerge complain X is blocking Y, look at Y dependencies and emerge -1 --nodeps Y Y-dep1 Y-dep2 will upgrade Y and Y-deps without looking at other deps : so portage is blind of other deps == portage cannot see block and doesn't complain anymore.
Some user just prefer remove X, emerge Y and reemerge X then. As long as you're not doing that kind of stuff with critical tools, you'll be safe, not safe as something might break, but safe as even broken your system is still healthy (ie: who cares if gnome doesn't work as long as emerge still, because only when you cannot emerge you'll get stuck, as long as emerge and system tools are safe, you have a solve to any problem)
- And last, you can also post blocks that bug you more and sure someone will help you understand and fix them.
of course the longer the list, the less chance to get help :)
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Sat May 03, 2014 2:51 pm    Post subject: Reply with quote

After a year it would be quicker to reinstall from scratch using a current stage 3 and perhaps a copy of your
/etc/portage directory; if you use a separate /home directory it's not a big problem.

Will
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum