Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] nodejs is forced to upgarde
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 422
Location: Cracow, Poland

PostPosted: Thu Sep 26, 2013 7:40 pm    Post subject: [solved] nodejs is forced to upgarde Reply with quote

Hi,
I play around wiih cloude9 locally on my laptop. I found recommendation that nodejs-0.8.* is preffered rather than 0.10.
I have packages.* configuration:
Code:
# grep nodejs /etc/portage/package.*
/etc/portage/package.accept_keywords:=net-libs/nodejs-0.8.23 ~amd64
/etc/portage/package.mask:=net-libs/nodejs-0.10.17

and:
Code:
# eix nodejs
[D] net-libs/nodejs
     Available versions:  ~0.8.21^t (~)0.8.23^t [m]0.10.17^t ~0.10.18^t ~0.10.19^t [M]~0.11.6^t [M]~0.11.7^t {+npm +snapshot}
     Installed versions:  0.10.17^t(12:45:32 AM 09/24/2013)(npm snapshot)
     Homepage:            http://nodejs.org/
     Description:         Evented IO for V8 Javascript

so why portage wants:
Code:
Calculating dependencies  ... .. ......... done!
[ebuild   R    ] dev-libs/expat-2.1.0-r2  USE="unicode -examples -static-libs" 0 kB
[ebuild  N     ] sys-libs/libaal-1.0.5  0 kB
[ebuild  N     ] sys-fs/reiser4progs-1.0.7  USE="readline -debug -static" 0 kB
[ebuild     UD~] net-libs/nodejs-0.8.23 [0.10.17] USE="(-npm%*) (-snapshot%*)" 12,335 kB
[ebuild     U  ] media-libs/fontconfig-2.10.92:1.0 [2.8.0-r1:1.0] USE="-doc -static-libs%" ABI_X86="(64%*) (-32) (-x32)" 1,490 kB
[ebuild     U  ] net-misc/spice-gtk-0.21 [0.20-r1] USE="dbus gstreamer gtk3 introspection policykit python -doc -pulseaudio -sasl -smartcard -static-libs -usbredir -vala" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 1,164 kB
[ebuild   R   ~] sys-kernel/geek-sources-3.11.1:3.11::init6  USE="bld brand cjktty gentoo optimization pf -aufs -bfq -build -ck -deblob -exfat -fedora -grsec -ice -lqx% -mageia -pax -reiser4% -suse -symlink -zen -zfs" 0 kB

Total: 7 packages (2 upgrades, 1 downgrade, 2 new, 2 reinstalls), Size of downloads: 14,988 kB


Last edited by emc on Thu Sep 26, 2013 9:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
epsilon72
Guru
Guru


Joined: 20 Sep 2007
Posts: 566

PostPosted: Thu Sep 26, 2013 8:23 pm    Post subject: Reply with quote

Code:
[ebuild     UD~] net-libs/nodejs-0.8.23 [0.10.17] USE="(-npm%*) (-snapshot%*)" 12,335 kB

It looks like portage is doing exactly what you want it to. You have [0.10.17] installed now, but you masked it, so it is downgrading ( UD~ ) to your keyworded version, 0.8.23.

When portage wants to downgrade a package it will print ' UD ' for some reason, not just ' D '.
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 422
Location: Cracow, Poland

PostPosted: Thu Sep 26, 2013 9:38 pm    Post subject: Reply with quote

OK. My mistake, probably previous emerge world (I mess up with packages.*) update it to 0.10.17 without my notice.
Shame on me :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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