Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
First experiences: Updating 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
Wuodan
n00b
n00b


Joined: 21 May 2012
Posts: 23

PostPosted: Fri May 25, 2012 2:43 pm    Post subject: First experiences: Updating Gentoo Reply with quote

I'm new to Gentoo and updated my systems yesterday.

Wasn't too hard with a few gotchas, I wrote an article with the experiences.

Might help others - or someone might tell me I do it all wrong :-)

http://blechtog.wordpress.com/2012/05/25/gentoo-system-update-experience/
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 3677

PostPosted: Fri May 25, 2012 9:44 pm    Post subject: Reply with quote

yep you've done it all wrong, glad it was ok this time.
Quote:
But since none of them were packages I directly installed, I just hard-deleted them with:
emerge --unmerge -av package


Never remove a dependency like you've done with emerge --unmerge package because it's not a package you have ask to install. If you didn't ask to install it and it was install it's because it's a dependency of someone.

And removing a dependency of a package doesn't appears a problem, well, it's not, until you fall on a dependency of a critical package.

revdep-rebuild is an helper, not a saver : it is there to ease the things and help you, it's not the doctor that will cure your gentoo. YOU are the doctor, revdep-rebuild is the helping nurse :P
Code:
equery d mpfr
 * These packages depend on mpfr:
sys-devel/gcc-4.4.3-r3 (>=dev-libs/mpfr-2.4.2)


Now what you think would happen if you remove mpfr because it's a package you didn't ask to be install ?
A: You'll endup there http://forums.gentoo.org/viewtopic-t-27486-highlight-remove+mpfr.html
Back to top
View user's profile Send private message
Wuodan
n00b
n00b


Joined: 21 May 2012
Posts: 23

PostPosted: Fri May 25, 2012 11:13 pm    Post subject: Reply with quote

Hm, ok I did it all wrong, lol.

I admit that everything was backuped and I had a copy of kernel config ready plus installation media to reinstall from scratch.
Plus I checked what was uninstalled, it was mostly gnome related and I can reinstall that through ssh.

But for next time, when for ex. gnome-menu version xz cannot be installed because gnome menu version ab is already installed.
Both versions explicitly required by gnome, which should be updated.
What do you do then?
Uninstall gnome to reinstall?
Back to top
View user's profile Send private message
cach0rr0
Moderator
Moderator


Joined: 13 Nov 2008
Posts: 4117
Location: Houston, Republic of Texas

PostPosted: Sat May 26, 2012 6:28 am    Post subject: Reply with quote

Wuodan wrote:

But for next time, when for ex. gnome-menu version xz cannot be installed because gnome menu version ab is already installed.
Both versions explicitly required by gnome, which should be updated.
What do you do then?
Uninstall gnome to reinstall?


would have to see the output to say for sure

basically, the way it usually goes: you hit a blocker like that, the first few times you post a thread in Portage & Programming
the folks shrewd enough to teach how to fish, instead of give fish, will help you translate portage output, and interpret exactly what it's asking

after a few of those it will become more apparent that "when portage says X, it means I need to do A, then do B", you will become proficient in La Lengua de Portage, and learn how to interpret some of the screwy things it spits out.

...that's not to say blockers cant be the result of screwed up ebuilds, because that happens too sometimes ;)
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
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