From freenx-knx Mon Mar 28 19:45:31 2005 From: jon () severinsson ! net (Jon Severinsson) Date: Mon, 28 Mar 2005 19:45:31 +0000 To: freenx-knx Subject: [FreeNX-kNX] freenx was working, now authentication error Message-Id: <42485EDB.1010409 () severinsson ! net> X-MARC-Message: https://marc.info/?l=freenx-knx&m=113279989112322 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ben Voigt wrote: | Thanks for the help. You're welcome. | I am using CVS version of freeNX, so I did 'emerge -C nxserver-freenx' | some time ago. Everything still worked. | But now I did 'emerge depclean' and that removed net-util/gnu-netcat | and dev-tcltk/expect. You have just found out the hard way (the same way as I did): Never ever run "emerge depclean"! Instead you run a "emerge -pv depclean" and manually do "emerge -avC xxxx/yyyy" on packages you KNOW are safe to remove... | I did 'emerge -p nxserver-freenx' to find that out, and emerged all | freenx dependencies directly to the world file. Now everything is | OK. I think injecting freenx would have been better, but emerge | says inject is deprecated... The reason inject has been deprecated is becouse you now can add the package to /etc/portage/profile/package.provided file to get the exact same functionality. Injecting/providing a package will however not install any dependancies, it will only sattisfy a dependancy on that package, the opposit of your need. To solve your problem within portage you could create a live cvs ebuild with a 99999 version number and put in PORTDIR_OVERLAY and then run "emerge nxserver-freenx" when you want to update, or you could install cvs and portage version in different directories (swiching between versions by modifying /etc/passwd). I'm doing the later, allowing me to bugtest both 0.3.1 (ebuild submitted to buzilla) as wll as latest CVS. Your solution will also work of course, though it does 'pollute' the world file. Regards - - Jonno -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCSF7aOOpxqcksWu4RAlg2AJwLmx/OnqjlgttEiynzyqx5uuijvQCghBwI Li4qVRrZUhZijPgfszWkvf8= =+6rS -----END PGP SIGNATURE-----