Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NXClient blocking NXServer? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 905
Location: Hamburg, Germany

PostPosted: Wed Jun 22, 2005 7:45 am    Post subject: NXClient blocking NXServer? [solved] Reply with quote

Hi!

I want my computer to be both, a NX Client to work form home, and a NX Server to access my computer from work. So I installed yesterday what I thought is neccessary to perform these tasks. After an emerge sync and emerge -Dup world today I get the errormessage:

Code:
Calculating world dependencies ...done!
[blocks B     ] net-misc/nxclient (is blocking net-misc/nxserver-freenx-0.4.0)


I'm new to NX, I guess this has to do with the commercial and the freeNX implemention, but I'm not sure how to resolve this conflict and keep the full functionality. Which package has to get unmerged?

Frank


Last edited by furanku on Sun Jun 26, 2005 7:56 am; edited 1 time in total
Back to top
View user's profile Send private message
Jas-Nix
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 113

PostPosted: Fri Jun 24, 2005 12:40 am    Post subject: Reply with quote

I am running both an nxserver and nxclient, when you update you need to unmerge nxclient and then emerge nxserver then re-emerge nxclient, should work fine, it worked great for me.

Jas-Nix

[EDIT] - typo :)
Back to top
View user's profile Send private message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 905
Location: Hamburg, Germany

PostPosted: Fri Jun 24, 2005 7:04 am    Post subject: Reply with quote

Thank you for your answer!

Is there any reason for emerge to think that they block each other or is that just a bug in the ebuilds? At least I could emerge them together without any problems. I think unmerging nxclient before each update of the server and remerging it afterwards is a bit fiddly...
Back to top
View user's profile Send private message
Jas-Nix
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 113

PostPosted: Sat Jun 25, 2005 6:24 pm    Post subject: Reply with quote

I am not really sure why portage acts that way, Maybe because of a bug in the ebuild?

Did unmerging the nxclient fix the problem for you?

Jas-Nix
Back to top
View user's profile Send private message
dboli42
n00b
n00b


Joined: 28 Jan 2005
Posts: 20
Location: Boston, MA

PostPosted: Sat Jun 25, 2005 6:42 pm    Post subject: Reply with quote

You need to use the "commercial" use flag in nxserver-freenx, that should fix the problem (worked for me)
Back to top
View user's profile Send private message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 905
Location: Hamburg, Germany

PostPosted: Sun Jun 26, 2005 7:42 am    Post subject: Reply with quote

No, I unmerged both and remerged them with
Code:
# USE="commercial" emerge nxserver-freenx nxclient
after that I still get the same error. The funny thing is that the nxserver-freenx ebuild has the blocking package as dependency. Even if I unmerge nxclient an just emerge nxserver-freenx, portage installs the nxclient package to complain after that that it's blocking the server...

[Edit:] Ahhh, now I've got it working! That's one of the cases where you need to put the "commercial" flag into /etc/make.conf or better /etc/portage/package.keywords, it's not enough to give it just when emerging the package via USE="commercial". It has to be present everytime when portage checks the dependencies. Since I'm no NX expert, I hesitate about changing the gentoo-wiki entry about NX, which explicitly say to set the USE flag on the commandline, maybe someone more expierenced should change that.

Thank's a lot to all!
Back to top
View user's profile Send private message
dboli42
n00b
n00b


Joined: 28 Jan 2005
Posts: 20
Location: Boston, MA

PostPosted: Sun Jun 26, 2005 6:13 pm    Post subject: Reply with quote

Just add:

Code:
net-misc/nxserver-freenx commercial


To /etc/portage/package.use

This will make it specific to nxserver-freenx and not global.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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