Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Updating from old gentoo
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
jonsjo
n00b
n00b


Joined: 23 Nov 2004
Posts: 16

PostPosted: Fri Oct 05, 2007 11:59 pm    Post subject: Updating from old gentoo Reply with quote

Hello,

Just picked up one of my old machines containing a old version of gentoo installed in 2004.

The first thing I've tried was to make an
Quote:
emerge --sync

to try to update it.. in the end it sais:
Quote:
deleting app-admin/tenshi/tenshi-0.9.ebuild
deleting app-admin/tenshi/files/digest-tenshi-0.9
deleting app-admin/syslog-ng/syslog-ng-2.0.4.ebuild
deleting app-admin/syslog-ng/files/digest-syslog-ng-2.0.4

Number of files: 151796
Number of files transferred: 3353
Total file size: 176870931 bytes
Total transferred file size: 11023631 bytes
Literal data: 11023631 bytes
Matched data: 0 bytes
File list size: 3540821
Total bytes sent: 67209
Total bytes received: 14716641

sent 67209 bytes received 14716641 bytes 201140.82 bytes/sec
total size is 176870931 speedup is 11.96

>>> Updating Portage cache... /!!! Cannot resolve a virtual package name to an ebuild.
!!! This is a bug, please report it. (virtual/c++-tr1-functional-0)



How do I fix that?
Back to top
View user's profile Send private message
likewhoa
l33t
l33t


Joined: 04 Oct 2006
Posts: 778
Location: Brooklyn, New York

PostPosted: Sat Oct 06, 2007 1:44 am    Post subject: Reply with quote

switch profiles to 2007.0 then emerge --sync after.
also look at gentoo upgrading
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Sat Oct 06, 2007 4:47 am    Post subject: Reply with quote

practically you will have to start from scratch.
so many changes have occured after 2004
it is not worth spending so much time to upgrade from 2004 which is almost impossible.
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
likewhoa
l33t
l33t


Joined: 04 Oct 2006
Posts: 778
Location: Brooklyn, New York

PostPosted: Sat Oct 06, 2007 5:11 am    Post subject: Reply with quote

keyword almost.

it doesn't hurt to try.
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Sat Oct 06, 2007 7:07 am    Post subject: Reply with quote

Especially when there are shortcuts available which could simplify the process, if used properly.
Back to top
View user's profile Send private message
jonsjo
n00b
n00b


Joined: 23 Nov 2004
Posts: 16

PostPosted: Sun Oct 07, 2007 10:33 pm    Post subject: Reply with quote

Quote:
switch profiles to 2007.0 then emerge --sync after.

How do I switch to a profile?

Quote:
practically you will have to start from scratch

The reason why I dont want to reinstall the entire computer is that I have a lot of old servecis (now requested from a customer) running on it.. Just wanna upgrade the entire systems..=)
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Sun Oct 07, 2007 10:41 pm    Post subject: Reply with quote

jonsjo wrote:
How do I switch to a profile?
Profile updating instructions :D
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
jonsjo
n00b
n00b


Joined: 23 Nov 2004
Posts: 16

PostPosted: Sun Oct 07, 2007 10:50 pm    Post subject: Reply with quote

Is there some way to se what version I'm running now?
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Sun Oct 07, 2007 11:07 pm    Post subject: Reply with quote

jonsjo wrote:
Is there some way to se what version I'm running now?
readlink -f /etc/make.profile/
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Mon Oct 08, 2007 7:20 am    Post subject: Reply with quote

padoor wrote:
practically you will have to start from scratch.
so many changes have occured after 2004
it is not worth spending so much time to upgrade from 2004 which is almost impossible.


I agree - Even going from 2005.0 to 2006.1 was excruciatingly painful - I ended up just wiping the system and rebuilding it because it was FAR simpler.
Upgrading from abandoned versions is almost as painful as trying to do an in-place upgrade of a binary-based OS.

You can do it if you have lots of time to weedle through all the little niggles, but backup like hell first if you even think of trying to upgrade from 2004 because if it was anyling like my experience, you will probably break something that stops everything from working...

Is is so hard to re-install the current apps you have on a clean build?
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Mon Oct 08, 2007 8:01 am    Post subject: Reply with quote

i would run the same system without disturbing it for the present to serve clients.
make a new partition and install stage3 and snapshot. after you can transfer these services to new successful installation you can remove the old system.
i am sure your computer will have more downtime if you try to upgrade from 2004. portage itself get stuck as you have already seen. take care. of the clients i mean.

The reason why I dont want to reinstall the entire computer is that I have a lot of old servecis (now requested from a customer) running on it.. Just wanna upgrade the entire systems..=)
it is not defenitely just upgrade. troubles to expect expat problems and other missing packages in the portage . there may not be replacements available for your current desktop gui version if any.

i am not trying to discourrage you. but as you say customer requests are to be maintained try a new install in another partition.

eselect profile list will show available profiles.
eselect profiles set (the number you want to set.)
you probably have to emerge eselect which may or may not be there for your old bash.
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
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