Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
upgrading from 10.0 to 12.1
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
tilman
n00b
n00b


Joined: 12 May 2007
Posts: 33

PostPosted: Sun Dec 23, 2012 5:16 pm    Post subject: upgrading from 10.0 to 12.1 Reply with quote

Hello

I would like to upgrade from 10.0 to the newer 12.1 line. How do I do this ? The manual seems to be of no help here (http://www.gentoo.org/doc/en/gentoo-upgrading.xml) -- and I do not understand portage in deep. Here is what I tried:

emerge-webrsync (Hoping that this would give me the new profiles)
eselect profile list (This gives me just the profiles on 10.0)

[1] default/linux/x86/10.0
[2] default/linux/x86/10.0/selinux
[3] default/linux/x86/10.0/desktop
[4] default/linux/x86/10.0/desktop/gnome
[5] default/linux/x86/10.0/desktop/kde
[6] default/linux/x86/10.0/developer
[7] default/linux/x86/10.0/server *
[8] hardened/linux/x86
[9] hardened/linux/x86/selinux
[10] hardened/linux/uclibc/x86

I appologize if this was asked a million times already and I will be happy with a link to a documentation/thread showing me how to upgrade my system

Thanks

Tilman
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Sun Dec 23, 2012 5:30 pm    Post subject: Reply with quote

tilman,

Gentoo is a rolling release, as such it does not have versions. The DVD is a particular collection of packages and is named after the year 12 and the release that year, so 12.1 is the second liveDVD of 2012.

Profiles are only renamed when there is an incompatible change between the old profile and the new profile and users are compelled to take some actions, so there are no 12.1 profiles.

When you do emerge-webrsync, the profiles are updated along with the portage tree. Because of the rolling relase, when you do
Code:
emerge @world -uDNav
you will get the Gentoo corresponding to the datestamp on your tree. Thats in /usr/portage/metadata/timestamp
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
snkmoorthy
Guru
Guru


Joined: 19 Nov 2002
Posts: 376

PostPosted: Sun Dec 23, 2012 5:34 pm    Post subject: Reply with quote

We are still on 10, you may be confusing the LiveDVD releases with portage profiles.
Back to top
View user's profile Send private message
tilman
n00b
n00b


Joined: 12 May 2007
Posts: 33

PostPosted: Sun Dec 23, 2012 6:28 pm    Post subject: Reply with quote

Dear

Thanks for the kind explanation. No need for an upgrade to a different line then...

I tried "emerge @world -uDNav". What it returns, does not look like a timestamp, but like error message. Can you assist ?

Thanks again
Tilman


Code:
emerge @world -uDNav

 * IMPORTANT: 12 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies -

!!! Problem resolving dependencies for net-dns/bind from @selected            ... done!

!!! The ebuild selected to satisfy "net-dns/bind" has unmet requirements.
- net-dns/bind-9.9.2_p1::gentoo USE="berkdb ipv6 ldap mysql ssl xml -caps -dlz -doc -filter-aaaa -geoip -gost -gssapi -idn -odbc -postgres -python -rpz -rrl -sdb-ldap (-selinux) -static-libs -threads -urandom"

  The following REQUIRED_USE flag constraints are unsatisfied:
    berkdb? ( dlz ) mysql? ( dlz ) ldap? ( dlz )

  The above constraints are a subset of the following complete expression:
    postgres? ( dlz ) berkdb? ( dlz ) mysql? ( dlz !threads ) odbc? ( dlz ) ldap? ( dlz ) sdb-ldap? ( dlz ) gost? ( ssl ) threads? ( caps )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2576

PostPosted: Sun Dec 23, 2012 6:47 pm    Post subject: Reply with quote

Step 0: use eselect news read all. Those 12 messages are important.

Step 1: Find the most important lines in the output. In this case, its a problem with "net-dns/bind" and this line
Quote:
The following REQUIRED_USE flag constraints are unsatisfied:
identifies it as a use flag problem.

The next line is in somthing like prgramer short hand and it describes the problem
Quote:
berkdb? ( dlz ) mysql? ( dlz ) ldap? ( dlz )
It says, "If berkdb or mysql or idap is enabled, then require dlz to be enabled as well"

Step 2: apply a solution. This is probably best done in /etc/portage/pacakge.use (you may need to create the file). you can either edit the file with a text editor or use echo. Either way, you want add the line net-dns/bind dlz To use echo, simply execute the following with root privileges:
Code:
echo "net-dns/bind dlz" >> /etc/portage/pacakge.use
The double >> are important. If you only use one, you will overwrite the file instead of appending.

Step 3: repeat until emerge works.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Sun Dec 23, 2012 6:57 pm    Post subject: Reply with quote

tilman,

The timestamp of your tree is in /usr/portage/metadata/timestamp.

I get
Code:
cat /usr/portage/metadata/timestamp
Sun Dec 23 17:36:52 UTC 2012
so my Gentoo is up to date as of Sun Dec 23 17:36:52 UTC 2012 but the tree is updated every 30 minutes ... thats a rolling distro for you.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
tilman
n00b
n00b


Joined: 12 May 2007
Posts: 33

PostPosted: Sun Dec 23, 2012 10:06 pm    Post subject: Reply with quote

Hello Neddy,

thanks for the time stamp hint.

Hello Doctor

I tried as you suggested -- to no avail. emerge still complains about the same dependencies not being met.
1) Are you sure that there is no typo -- do I need to echo into package.use rather than pacakge.use ?

2) Should /etc/portage/package.use be the file in question -- on my system it is a directory...
Thanks
Tilman
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2576

PostPosted: Sun Dec 23, 2012 10:16 pm    Post subject: Reply with quote

Yes, pacakge.use was a typo. If you have a directory, just place the entry in a file however you chose to organise it.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2512
Location: Canada

PostPosted: Mon Dec 24, 2012 5:24 am    Post subject: Reply with quote

You may benefit doing what doctor suggested step by step

1. emerge --sync <- this should just sync your local tree with the latest. You need internet connection
2. emerge -pv world <- just pretend to do upgrade, will show what packages will be upgraded and errors. Unfortunately, some dependency errors
may stop this step from completing early on.
3. You need to resolve errors that have been shown in step 2 before progressing to actual update, which is done by
4. emerge -uD world

How to resolve problems at step 3 depends on what they are. Often just removing offeding package (if it is not critical for operation) will suffice, since
it being dependency, the new version will be merged in automatically at step 4.
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