[gentoo-user] cloning + upgrade howto?

2009-07-23 Thread Helmut Jarausch
Hi,

I'd like to transfer a GenToo installation from old hardware to a new
machine (adm64).

I've a running Gentoo system which has exactly the same hardware as
these new machines but this system has much fewer packages installed.

Is it possible to clone this running Gentoo system, essentially
overwrite
/var/lib/portage/world
with the larger version of the old hardware except some 64bit related
packages and then run
emerge --keep-going -j4 -1 --ask --update --newuse --deep @system @world
on the new machine.

Or are the any snags?

Many thanks for sharing your experience,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] cloning + upgrade howto?

2009-07-23 Thread Neil Bothwick
On Thu, 23 Jul 2009 08:54:19 +0200 (CEST), Helmut Jarausch wrote:

 Is it possible to clone this running Gentoo system, essentially
 overwrite
 /var/lib/portage/world
 with the larger version of the old hardware except some 64bit related
 packages and then run
 emerge --keep-going -j4 -1 --ask --update --newuse --deep @system @world
 on the new machine.
 
 Or are the any snags?

Only one, portage will barf when you have a world file containing
uninstalled packages. Copy the world file from the other machine
somewhere other than /var/lib/portage and run

emerge -n $(cat /path/to/otherworld)


-- 
Neil Bothwick

Those are my principles. If you don't like them I have others.


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT] File merge tool

2009-07-23 Thread Roy Wright
kdiff3 is my favorite graphical merge tool (hey, even have it running  
on my macbook).


On Jul 22, 2009, at 2:49 PM, Harry Putnam wrote:


Summary:
Any suggestions for a file merge tool?

Details:

I'd like to try just actually manually merging bookmarks.html files
from different computers.  Diff and Patch seem kind of hard or maybe
impossible to use for this.

If you have identical parts in different places they will just keep
adding up... no way to weed out duplication.

If there anything that can do that or at least help me do it.

I'm not talking about bookmark merge/storage things like Xmarks or
foxmarks.   My files are not so large that I couldn't do it by hand
but would need some smart helper tool.








Re: [gentoo-user] [OT] File merge tool

2009-07-23 Thread Justin
Roy Wright schrieb:
 kdiff3 is my favorite graphical merge tool (hey, even have it running on
 my macbook).
 
 On Jul 22, 2009, at 2:49 PM, Harry Putnam wrote:
 
 Summary:
 Any suggestions for a file merge tool?

 Details:

 I'd like to try just actually manually merging bookmarks.html files
 from different computers.  Diff and Patch seem kind of hard or maybe
 impossible to use for this.

 If you have identical parts in different places they will just keep
 adding up... no way to weed out duplication.

 If there anything that can do that or at least help me do it.

 I'm not talking about bookmark merge/storage things like Xmarks or
 foxmarks.   My files are not so large that I couldn't do it by hand
 but would need some smart helper tool.



 
 

Along time I used tkdiff and it worked really fine, since yesterday I
swapped to the new package diffuse, which is actually the same in gtk.

justin



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] cloning + upgrade howto?

2009-07-23 Thread Nevynxxx
Neil Bothwick wrote:
 uninstalled packages. Copy the world file from the other machine
 somewhere other than /var/lib/portage and run

 emerge -n $(cat /path/to/otherworld)


   
 Only one, portage will barf when you have a world file containing

I've never seen that, and yes, I've been known to add a package atom to
the end of the world file when I wanted to update world, and add a
package at the same time (xfce4 was the last time I  think, a month or
so ago), and didn't want to do it in two commands.

In that cases I was adding a whole DE, so was also changing lots of USE
flags, so wanted an emerge -uDavN world to just update all the use flags
at once echo xfce-base/xfce4  /var/lib/portage/world followed by
emerge -uDavN world worked a treat.





signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] cloning + upgrade howto?

2009-07-23 Thread Neil Bothwick
On Thu, 23 Jul 2009 14:35:37 +0100, Nevynxxx wrote:

  Only one, portage will barf when you have a world file containing  
 
 I've never seen that, and yes, I've been known to add a package atom to
 the end of the world file when I wanted to update world, and add a
 package at the same time (xfce4 was the last time I  think, a month or
 so ago), and didn't want to do it in two commands.

OK, that's changed then. The last time I transferred an installation,
Portage really didn't like having non-installed packages in world.
 
 In that cases I was adding a whole DE, so was also changing lots of USE
 flags, so wanted an emerge -uDavN world to just update all the use flags
 at once echo xfce-base/xfce4  /var/lib/portage/world followed by
 emerge -uDavN world worked a treat.

That's still two commands :) You can do it in one with

emerge -uavDN @world xfce4
 

-- 
Neil Bothwick

-- random quotes


signature.asc
Description: PGP signature


[gentoo-user] KDE 4.2.98, no copy paste in Konsole

2009-07-23 Thread Paul Hartman
Hi,

Yesterday I upgraded to KDE 4.2.98 (4.3 RC3) and everything seems
normal except the clipboard does not work at all in Konsole.  I
highlight text, right click, choose copy, and nothing. Click the
clipboard icon to see the clipboard history, and that text is nowhere
to be found... My copy  paste in every other program seems to work
normally. Weird. Is anyone else using this version and does your copy
 paste work in Konsole?



Re: [gentoo-user] Mozilla-Firefox 3.5.1 blank preferences pane

2009-07-23 Thread Paul Hartman
On Wed, Jul 22, 2009 at 12:05 PM, Paul
Hartmanpaul.hartman+gen...@gmail.com wrote:
 On Wed, Jul 22, 2009 at 12:00 PM, Neil Bothwickn...@digimed.co.uk wrote:
 On Wed, 22 Jul 2009 11:44:35 -0500, Paul Hartman wrote:

 I just upgraded to mozilla-firefox-3.5.1 (from portage, ~amd64),
 having previously used 3.0x, and it seems to work except for one big
 problem: when I open the preferences pane, it is blank. Just an empty
 window with a grey background. Has anyone else got this problem?

 Works here, as did 3.5.0. That sounds like a GTK problem, have you tried
 revdep-rebuild?

 Yeah, but it didn't find anything that needed rebuilding. I did just
 install a new gtk+ yesterday, though. Maybe I'll try reverting back to
 the previous version and see what happens. Thanks.


I downgraded from gtk+-2.16.5 back to gtk+-2.16.1 and now it works
normally. I will try to upgrade gtk+ again and if problem reoccurs
I'll file a bug. Thanks.



Re: [gentoo-user] KDE 4.2.98, no copy paste in Konsole

2009-07-23 Thread Robin Atwood
On Thursday 23 July 2009, Paul Hartman wrote:
 Hi,

 Yesterday I upgraded to KDE 4.2.98 (4.3 RC3) and everything seems
 normal except the clipboard does not work at all in Konsole.  I
 highlight text, right click, choose copy, and nothing. Click the
 clipboard icon to see the clipboard history, and that text is nowhere
 to be found... My copy  paste in every other program seems to work
 normally. Weird. Is anyone else using this version and does your copy
  paste work in Konsole?

As discussed in various other places, copy to the clipboard is broken in Qt 
4.5. However, it is now fixed in git, see; 
https://bugs.kde.org/show_bug.cgi?id=199333

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--












Re: [gentoo-user] KDE 4.2.98, no copy paste in Konsole

2009-07-23 Thread Paul Hartman
On Thu, Jul 23, 2009 at 9:57 AM, Robin Atwoodrobin.atw...@attglobal.net wrote:
 On Thursday 23 July 2009, Paul Hartman wrote:
 Hi,

 Yesterday I upgraded to KDE 4.2.98 (4.3 RC3) and everything seems
 normal except the clipboard does not work at all in Konsole.  I
 highlight text, right click, choose copy, and nothing. Click the
 clipboard icon to see the clipboard history, and that text is nowhere
 to be found... My copy  paste in every other program seems to work
 normally. Weird. Is anyone else using this version and does your copy
  paste work in Konsole?

 As discussed in various other places, copy to the clipboard is broken in Qt
 4.5. However, it is now fixed in git, see;
 https://bugs.kde.org/show_bug.cgi?id=199333

Thanks for the tip! I hadn't run into it before.



Re: [gentoo-user] Gentoo server profile

2009-07-23 Thread Momesso Andrea
On Monday 20 July 2009 18:33:58 Alan McKinnon wrote:
 On Monday 20 July 2009 17:49:00 Dirk Uys wrote:
  Hi everyone
 
  I'm busy installing Gentoo on a local server. I'm using
  default/linux/amd64/2008.0/server as the profile. I noticed that I
  get a nice little warning every time I emerge a package saying 
that
  the profile is untested.
 
  My main concern for using the current server profile is to get a
  minimal install, not security. Should I be using a different profile
  (like hardened) or is the one I'm using fine?
 
  Regards
  Dirk Uys

 Set I_KNOW_WHAT_I_AM_DOING to anything other than yes in root's 
profile
 and the error will go away. I don't believe the warnings are in any 
way
 dangerous, to get a minimal install it will have removed USE flags 
and not
 installed any services (as opposed to adding stuff the make things
 minimal). Issues can be fixed by enabling the USE flags you do 
want.

Keep in mind that the server profile will try to pull in some USE that 
you probably don't want in a minimal installation (such as mysql, 
apache, etc.)

---
TopperH


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: openoffice fails on qt_plugins_3.3rc

2009-07-23 Thread James
Neil Bothwick neil at digimed.co.uk writes:


   There is also another possibility:  root and you are just different
   users, and the problem may lie in your ~/.oo3/ directory.  To test
   this idea just rename ~/.oo3 to something else and let OO make a new
   one.  If that test fails then you start looking at permissions.  

  Nope same exact error, so it not related to my '.ooo3' dir

 Try as another user, to make sure it is not some other setting of yours
 that is causing the problem.


Well I have tried as another user. Exact same error:


terminate called after throwing an instance 
of 'com::sun::star::uno::RuntimeException'


I have sync and now run a newer version of office
OO-3.1.0-r1


So I think we can assume it's not anything in the user
files.


thoughts?


James