Re: [gentoo-user] tools currently available for update of etc files after updates
Am Freitag, 14. November 2008 17:14:03 schrieb Volker Armin Hemmann: On Freitag 14 November 2008, Harry Putnam wrote: I remember discussion of one or more fairly new tools designed to ease the update of etc files following updates. Can anyone say what tools are currently available. cfg-update makes updates REALLY easy and comfortable. Yep, and it gives the possibility to use your favorite diff/merge tool (diff, kdiff3, vimdiff, emacs, xxdiff, etc.). With the right choice it even supports automatik (3-way) merging, reducing manual intervention to a minimum. IMHO the best tool for the job. Bye... Dirk
Re: [gentoo-user] tools currently available for update of etc files after updates
On Samstag 15 November 2008, Dirk Heinrichs wrote: Am Freitag, 14. November 2008 17:14:03 schrieb Volker Armin Hemmann: On Freitag 14 November 2008, Harry Putnam wrote: I remember discussion of one or more fairly new tools designed to ease the update of etc files following updates. Can anyone say what tools are currently available. cfg-update makes updates REALLY easy and comfortable. Yep, and it gives the possibility to use your favorite diff/merge tool (diff, kdiff3, vimdiff, emacs, xxdiff, etc.). With the right choice it even supports automatik (3-way) merging, reducing manual intervention to a minimum. IMHO the best tool for the job. Bye... Dirk the automatic merging is so sweet. Not to have hunt around in config files to rescue all your settings - cfg-update takes care of it - and it does that very well. I haven't had a butchered config since I started cfg-update a long time ago. It sometimes asks when the changes are too big. I like that.
Re: [gentoo-user] portage-2.2 + collision protect
On Saturday 15 November 2008 01:24:18 Paul Hartman wrote: On Fri, Nov 14, 2008 at 5:20 PM, Markos Chandras [EMAIL PROTECTED] wrote: On Saturday 15 November 2008 01:07:33 Paul Hartman wrote: On Fri, Nov 14, 2008 at 4:46 PM, Markos Chandras [EMAIL PROTECTED] wrote: Hello, I ve upgraded to portage-2.2 . From that time i am having a problem. When portage finds a collision between two files during the merge time , it complains and doesnt merge the new package. The weird thing is that i do not have collision-protect under FEATURES on /etc/make.conf file Any idea how to deal with that? Check to see which other package owns the collided file. If none, it's probably safe to delete it emerge the new package (which will replace that file anyway). That's what I do. Paul This usually happens when I am trying to install slotted packages like amarok-1.94 I am using amarok-1.4.10 and I am trying to install amarok-1.94. They are on different slots but portage keeps complaining about collisions. Since I do not have collision-protect on FEATURES, portage MUST merge the package even if it warns me... What about protect-owned, do you have that? It is like collision-protect, but it blocks you from overwriting files KNOWN to belong to other packages (where collisiion-protect will block any file on disk, even if it has no owning-package) There are also environment variables which explicitly protect/override collision detection for directories, regardless of the features setting. Paul This is my FEATURES line FEATURES=parallel-fetch buildpkg candy fixpackages ccache sandbox Could some of these be responsible for the collision problem? -- Markos Chandras
Re: [gentoo-user] tools currently available for update of etc files after updates
Dale schrieb: Harry Putnam wrote: I remember discussion of one or more fairly new tools designed to ease the update of etc files following updates. Can anyone say what tools are currently available. dispatch-conf works. May want to try them all and pick the one you like. I like etc-update as far as the update process. I like this one because it keeps backups of the old config files. It's like the cereal aisle, your choice. Dale :-) :-) A cool thing with dispatch-conf: emerge colordiff and change in /etc/dispatch-conf.conf the diff=diff ... to diff=colordiff You also can change the mergening command to anything you like more e.g. gui merging tools signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] tools currently available for update of etc files after updates
On Saturday 15 November 2008 11:04:23 Justin wrote: Dale schrieb: Harry Putnam wrote: I remember discussion of one or more fairly new tools designed to ease the update of etc files following updates. Can anyone say what tools are currently available. dispatch-conf works. May want to try them all and pick the one you like. I like etc-update as far as the update process. I like this one because it keeps backups of the old config files. It's like the cereal aisle, your choice. Dale :-) :-) A cool thing with dispatch-conf: emerge colordiff and change in /etc/dispatch-conf.conf the diff=diff ... to diff=colordiff You also can change the mergening command to anything you like more e.g. gui merging tools Thanks for that tip :). Really cool. -- Markos Chandras
[gentoo-user] Konqueror toolbars broken when started from session
Hi all, Some time back, my Konqueror broke. It's sort of in the same time frame as installing KDE-4, but I couldn't swear they are related. I don't get the correct Konqueror toolbars when it's started from a saved session, but starting it from menu, desktop icon or command line works fine. The attached snapshot[1] shows the effect, the window labelled Konqueror 2 is the right one. I have no idea where to start looking :-( and the kde config files tend to be obtuse (at least to me). I have established that moving .kde|.kde-3.5 out the way and restarting kde does the same - saved session, restart, get broken toolbars. And it's only Konqueror that I've seen this with. I haven't tested this exhaustively, but kontatc, kmail, kopete and amarok don't suffer from this. [1] Apologies for attaching an image, I don't have a web server handy and I made sure the image is real small -- alan dot mckinnon at gmail dot com attachment: snapshot2.jpg
Re: [gentoo-user] portage-2.2 + collision protect
On Sat, 15 Nov 2008 10:40:25 +0200, Markos Chandras wrote: I do not have collision-protect on FEATURES, portage MUST merge the package even if it warns me... This is my FEATURES line FEATURES=parallel-fetch buildpkg candy fixpackages ccache sandbox You don't have -collision-protect either, so it could be on by default in your profile. What do you get from emerge --info | grep FEATURES -- Neil Bothwick Why is it that when you transport something by car it's called shipment, but when you transport it by ship it's called cargo? signature.asc Description: PGP signature
Re: [gentoo-user] tools currently available for update of etc files after updates
At Sat, 15 Nov 2008 09:05:22 +0100 Dirk Heinrichs [EMAIL PROTECTED] wrote: Am Freitag, 14. November 2008 17:14:03 schrieb Volker Armin Hemmann: On Freitag 14 November 2008, Harry Putnam wrote: I remember discussion of one or more fairly new tools designed to ease the update of etc files following updates. Can anyone say what tools are currently available. cfg-update makes updates REALLY easy and comfortable. Yep, and it gives the possibility to use your favorite diff/merge tool (diff, kdiff3, vimdiff, emacs, xxdiff, etc.). With the right choice it even supports How hard was it to hook in emacs-ediff? It wasn't mentioned in the cfg-update docs I read. automatik (3-way) merging, reducing manual intervention to a minimum. IMHO the best tool for the job. Thanks, allan
[gentoo-user] ecasound and lame
Hello, Just discovered that my batch recordings weren't recording anymore after updating lame to 3.98.2. It appears like the new lame neds the -r parameter to be present on the command line. So I added -r to ext-cmd-mp3-output in /usr/share/ecasound/ecasoundrc. I hope this is sufficient. Kind regards, Henk.
Re: [gentoo-user] tools currently available for update of etc files after updates
Am Samstag, 15. November 2008 14:13:11 schrieb Allan Gottlieb: How hard was it to hook in emacs-ediff? It wasn't mentioned in the cfg-update docs I read. Ooops, seems it slipped in accidentally. Sorry for that. The list of supported tools can be found in /etc/cfg-update.conf. Bye... Dirk
Re: [gentoo-user] portage-2.2 + collision protect
On Saturday 15 November 2008 14:27:49 Neil Bothwick wrote: On Sat, 15 Nov 2008 10:40:25 +0200, Markos Chandras wrote: I do not have collision-protect on FEATURES, portage MUST merge the package even if it warns me... This is my FEATURES line FEATURES=parallel-fetch buildpkg candy fixpackages ccache sandbox You don't have -collision-protect either, so it could be on by default in your profile. What do you get from emerge --info | grep FEATURES Ah that got me some extra features FEATURES=buildpkg candy ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch So , as you can see protect-owned is on as you told me before What if I add under FEATURES , -protect-owned? . Could this solve my problem? -- Markos Chandras
Re: [gentoo-user] portage-2.2 + collision protect
Yes, in the same way that disconnecting the warning lamp fixes the low oil pressure problem in your car :( -- Neil Bothwick On 15 Nov 2008, 2:06 PM, Markos Chandras [EMAIL PROTECTED] wrote: On Saturday 15 November 2008 14:27:49 Neil Bothwick wrote: On Sat, 15 Nov 2008 10:40:25 +0200, Mar... Ah that got me some extra features FEATURES=buildpkg candy ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch So , as you can see protect-owned is on as you told me before What if I add under FEATURES , -protect-owned? . Could this solve my problem? -- Markos Chandras
Re: [gentoo-user] portage-2.2 + collision protect
On Saturday 15 November 2008 16:23:51 Neil Bothwick wrote: Yes, in the same way that disconnecting the warning lamp fixes the low oil pressure problem in your car :( I agree that this is a wrong way to fix it. First of all am gonna fill a bug about amarok and I ll act accordingly Thanks -- Markos Chandras
[gentoo-user] syslog-ng Vs rsyslog
Hi All, Have you experience perhaps of rsyslog and how does it compare with gentoo's default syslog-ng? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Back up a server in real-time
Without gentoo-wiki my knowledge level is rather poor (just like my memory!) What would you use to back up a running server without taking it off line? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Back up a server in real-time
On Samstag 15 November 2008, Mick wrote: Without gentoo-wiki my knowledge level is rather poor (just like my memory!) What would you use to back up a running server without taking it off line? tar
Re: [gentoo-user] Back up a server in real-time
On Saturday 15 November 2008 21:45:04 Mick wrote: Without gentoo-wiki my knowledge level is rather poor (just like my memory!) What would you use to back up a running server without taking it off line? rsync -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Back up a server in real-time
On Saturday 15 November 2008 02:45:04 pm Mick wrote: Without gentoo-wiki my knowledge level is rather poor (just like my memory!) What would you use to back up a running server without taking it off line? What's wrong with gentoo-wiki.info? As for backup yes tar is good, but how about rsync? -- * From the desk of: Jerome D. McBride 15:28:45 up 20 days, 4:03, 2 users, load average: 1.18, 1.05, 1.03 *
Re: [gentoo-user] Back up a server in real-time
Mick wrote: Without gentoo-wiki my knowledge level is rather poor (just like my memory!) What would you use to back up a running server without taking it off line? I keep mine simple, cp -auv paths/you/want/to/backup back/up/to It has works so far. Thought about doing a cron job but that complicates things. :/ Dale :-) :-)
[gentoo-user] How to stop mouse motion
Hi. I have a crappy mouse made in China. One of its problems is that the mouse pointer sometimes moves even while the mouse is not moving. Usually this manifests by the pointer shaking, moving back and forward one or two pixels very fast (it looks like some 5 times per second). The worst problem caused by this is that the monitor can wake up at seemingly random times. One solution would be to switch off the monitor every time I won't use it for a few minutes, but (AFAIK) this would waste energy and reduce lifetime. I want the DPMS modes of standby, suspend, off. Another solution would be to buy another mouse, but this would cost money and would not teach me the solution (this problem can manifest again in the future, with this or another computer). So I want a way to tell the kernel or X11 to ignore mouse motion. Either to shut down mouse motion completely, or to allow it but to ignore it for the effect considering the computer as idle. I have performed a quick read of kernel code and of the xorg.conf man page but I see no clue. Anybody knows? -- Software is like sex: it is better when it is free - Linus Torvalds
Re: [gentoo-user] How to stop mouse motion
On Sat, 2008-11-15 at 18:55 -0200, Jorge Peixoto de Morais Neto wrote: Hi. I have a crappy mouse made in China. One of its problems is that the mouse pointer sometimes moves even while the mouse is not moving. Usually this manifests by the pointer shaking, moving back and forward one or two pixels very fast (it looks like some 5 times per second). The worst problem caused by this is that the monitor can wake up at seemingly random times. One solution would be to switch off the monitor every time I won't use it for a few minutes, but (AFAIK) this would waste energy and reduce lifetime. I want the DPMS modes of standby, suspend, off. Another solution would be to buy another mouse, but this would cost money and would not teach me the solution (this problem can manifest again in the future, with this or another computer). So I want a way to tell the kernel or X11 to ignore mouse motion. Either to shut down mouse motion completely, or to allow it but to ignore it for the effect considering the computer as idle. I have performed a quick read of kernel code and of the xorg.conf man page but I see no clue. Anybody knows? Yes. What you need to do is write your own mouse driver. Call it 'crappydrv'. In this driver, you detect events sent by the mouse, but then simply ignore them. HTH, -a
Re: [gentoo-user] How to stop mouse motion
On Sat, Nov 15, 2008 at 7:15 PM, Albert Hopkins [EMAIL PROTECTED] wrote: On Sat, 2008-11-15 at 18:55 -0200, Jorge Peixoto de Morais Neto wrote: Hi. I have a crappy mouse made in China. One of its problems is that the mouse pointer sometimes moves even while the mouse is not moving. Usually this manifests by the pointer shaking, moving back and forward one or two pixels very fast (it looks like some 5 times per second). The worst problem caused by this is that the monitor can wake up at seemingly random times. One solution would be to switch off the monitor every time I won't use it for a few minutes, but (AFAIK) this would waste energy and reduce lifetime. I want the DPMS modes of standby, suspend, off. Another solution would be to buy another mouse, but this would cost money and would not teach me the solution (this problem can manifest again in the future, with this or another computer). So I want a way to tell the kernel or X11 to ignore mouse motion. Either to shut down mouse motion completely, or to allow it but to ignore it for the effect considering the computer as idle. I have performed a quick read of kernel code and of the xorg.conf man page but I see no clue. Anybody knows? Yes. What you need to do is write your own mouse driver. Call it 'crappydrv'. In this driver, you detect events sent by the mouse, but then simply ignore them. I don't know how to write my own driver, and what I want is to dynamically shut up the mouse at runtime, and free it when I come back. Or, ideally, just make X ignore mouse movement for idle time calculations. But you were probably joking anyway... -- Software is like sex: it is better when it is free - Linus Torvalds
Re: [gentoo-user] How to stop mouse motion
On Saturday 15 November 2008 22:55:06 Jorge Peixoto de Morais Neto wrote: Hi. I have a crappy mouse made in China. One of its problems is that the mouse pointer sometimes moves even while the mouse is not moving. Usually this manifests by the pointer shaking, moving back and forward one or two pixels very fast (it looks like some 5 times per second). The worst problem caused by this is that the monitor can wake up at seemingly random times. One solution would be to switch off the monitor every time I won't use it for a few minutes, but (AFAIK) this would waste energy and reduce lifetime. I want the DPMS modes of standby, suspend, off. Another solution would be to buy another mouse Yes, this is the best and only thing you could do , but this would cost money So? mouses are cheap. I can buy mouses for the price of a packet of smokes or two beers... and would not teach me the solution (this problem can manifest again in the future, with this or another computer). So how you gonna fix this? You have a broken mouse, it sends broken signals to the machine and the machine reponds brokenly. Here's the only lesson you should learn (becuase this can't be fixed): This mouse is broken. It doesn't do what mouses should do. Mouse, meet dustbin. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] How to stop mouse motion
Albert Hopkins schrieb am 15.11.2008 22:15: Yes. What you need to do is write your own mouse driver. Call it 'crappydrv'. In this driver, you detect events sent by the mouse, but then simply ignore them. HTH, -a :D signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] How to stop mouse motion
On Samstag 15 November 2008, Alan McKinnon wrote: On Saturday 15 November 2008 22:55:06 Jorge Peixoto de Morais Neto wrote: Hi. I have a crappy mouse made in China. One of its problems is that the mouse pointer sometimes moves even while the mouse is not moving. Usually this manifests by the pointer shaking, moving back and forward one or two pixels very fast (it looks like some 5 times per second). The worst problem caused by this is that the monitor can wake up at seemingly random times. One solution would be to switch off the monitor every time I won't use it for a few minutes, but (AFAIK) this would waste energy and reduce lifetime. I want the DPMS modes of standby, suspend, off. Another solution would be to buy another mouse Yes, this is the best and only thing you could do , but this would cost money So? mouses are cheap. I can buy mouses for the price of a packet of smokes or two beers... and would not teach me the solution (this problem can manifest again in the future, with this or another computer). So how you gonna fix this? You have a broken mouse, it sends broken signals to the machine and the machine reponds brokenly. Here's the only lesson you should learn (becuase this can't be fixed): This mouse is broken. It doesn't do what mouses should do. Mouse, meet dustbin. not dustbin! Its switches might be usefull to repair another mouse. But yeah - a new mouse is the best solution.
Re: [gentoo-user] How to stop mouse motion
On Samstag 15 November 2008, Jorge Peixoto de Morais Neto wrote: On Sat, Nov 15, 2008 at 7:15 PM, Albert Hopkins [EMAIL PROTECTED] wrote: On Sat, 2008-11-15 at 18:55 -0200, Jorge Peixoto de Morais Neto wrote: Hi. I have a crappy mouse made in China. One of its problems is that the mouse pointer sometimes moves even while the mouse is not moving. Usually this manifests by the pointer shaking, moving back and forward one or two pixels very fast (it looks like some 5 times per second). The worst problem caused by this is that the monitor can wake up at seemingly random times. One solution would be to switch off the monitor every time I won't use it for a few minutes, but (AFAIK) this would waste energy and reduce lifetime. I want the DPMS modes of standby, suspend, off. Another solution would be to buy another mouse, but this would cost money and would not teach me the solution (this problem can manifest again in the future, with this or another computer). So I want a way to tell the kernel or X11 to ignore mouse motion. Either to shut down mouse motion completely, or to allow it but to ignore it for the effect considering the computer as idle. I have performed a quick read of kernel code and of the xorg.conf man page but I see no clue. Anybody knows? Yes. What you need to do is write your own mouse driver. Call it 'crappydrv'. In this driver, you detect events sent by the mouse, but then simply ignore them. I don't know how to write my own driver, and what I want is to dynamically shut up the mouse at runtime, and free it when I come back. Or, ideally, just make X ignore mouse movement for idle time calculations. But you were probably joking anyway... if it is a usb mouse, disconnect it. Or unload the driver.
Re: [gentoo-user] How to stop mouse motion
if it is a usb mouse, disconnect it. Or unload the driver. It is PS/2. And if I compile the driver as a module (presently it is built-in) and unload it while X is running, wouldn't the module refuse to unload (as it is being used)? -- Software is like sex: it is better when it is free - Linus Torvalds
Re: [gentoo-user] How to stop mouse motion
Jorge Peixoto de Morais Neto wrote: Hi. I have a crappy mouse made in China. One of its problems is that the mouse pointer sometimes moves even while the mouse is not moving. If the mouse not brand new, then it may be full of dust and dirt - assuming it has moving parts at all (i.e it's not a laser or led model) dismantling it and cleaning may help. Another solution would be to buy another mouse, but this would cost money and would not teach me the solution (this problem can manifest again in the future, with this or another computer). Unless the problem is dirt as above, I serious doubt you are going to learn anything (technical) - simply replacing the mouse will be the best solution. I guess the thing to learn is that some computer hardware is so poorly made that it is useless! Cheers Mark
[gentoo-user] Binary package cruncher?
Hey there! I've purchased a linode some time ago because my hardware is very (*very*) old and it was taking very long to do updates. Now, what I've done is I've setup my linode to be exactly the same as my host, portage-wise. And on the linode, I have installed the sum of all packages that are installed on all my PCs at home... this way, when doing a `emerge -uDN world` on the linode, all packages are updated for all my machines (no fancy scripts to compile each machine's pkg independantly, etc). So, this is a binary package maker (or cruncher as it does it really well!). However, one detail that is interesting is that to make sure all compilations work fine, I decided to really install everything on the host, yes, including stuff that requires a X server and so on (which I never use on the host). This is fine with me except it's taking a lot of space to have all that around... so, since my host is really fast, i thought it might not be a problem for me to build dependencies in a sandbox, build the program, keep only the binpkg and remove everything including the dependencies that had to be installed for proper compilation. Ideally, I would see my file /var/lib/portage/world to contain strictly the software used on the host (ie. apache, mysql, etc...) and another file like /var/lib/portage/binworld which would contain all that is in world plus all the other packages that are in the worlds of my other PCs. Packages in binworld would be compiled, as well as their dependancies. However, if a binpkg is available for a dependancy, then this one is used instead. And this way, all the ghost dependancies and ghost packages will all be compiled exactly as it is now, with some overhead for decompressing the deps binpkg for each pkg compilation. This is not super efficient, but the way I've thought it, should be simple to do... a simple gentoo hack so to speak. However, I'm wondering if anybody has suggestion for better ways to do this and if you could give me pointers to such projects. Also keep in mind that I really really want to update ALL my PCs with a single `emerge -uDN world` on the host, then copy new pkgs (using rsync or other) to the PCs and do an `emerge -k -uDN world` on them. Nothing more. (So unless your suggestion is simpler than my current (fully installed) setup, please tell me!) Thanks in advance! Simon
Re: [gentoo-user] How to stop mouse motion
On Samstag 15 November 2008, Jorge Peixoto de Morais Neto wrote: if it is a usb mouse, disconnect it. Or unload the driver. It is PS/2. And if I compile the driver as a module (presently it is built-in) and unload it while X is running, wouldn't the module refuse to unload (as it is being used)? I don't know, I use usb mice - and removing the usb driver works well. So get a new mouse.
[gentoo-user] Re: tools currently available for update of etc files after updates
Lots of good input... thanks. I did try `cfg-update' but I thought it was really slow. Ditto for etc-update which I tried some time ago. What made me ask about this was that I was beginning to think my home made perl script was too slow and wondered if there was something a little more sophisticated and fast. Mostly because I'm used to using it I suppose, but the homely little script seems much faster and convenient to me. Here is what it does: 1) finds the new config files when fed a directory 2) presents them to the user like this: -- 8 -- 8 -- 8 -- [...] snipped other built in explanatory dialog Incoming /etc/._cfg_wgetrc Shall we install it as described; overwriting the existing one? Anything but y will rename the new conf listed above to /etc/START_STOP/NOUSE._cfg_wgetrc-111508_165416 for reference **Take a look at the diffs before deciding if you need to** diff /etc/._cfg_wgetrc /etc/wgetrc [y/n] -- 8 -- 8 -- 8 -- So the program itself does no work on comparing and simply presents a ready made diff command to be used in a separate terminal. 3) if you say `y' then the old config is overwritten, but first backed up like this: STOP-USE_whois.conf-111508_104703 (= my own file dating system) [date +%m%d%y_%H%M%S] (Of course the date is arrived at a little differently in perl) And the incoming new config is also backed up like: START-USE._cfg_whois.conf-111508_104703 The backups all go into a directory `START_STOP' created by the program in whatever directory the config is in. [ so I do end up with that directory sprinkled around in a few places ] If you say `n' the new config is dated and stored like: NOUSE._cfg_syslog.conf_010107_202225 4) There is also a routine for when there is no old config. This script is probably as poorly written as humanly possible since I'm far from a perl programmer, and it is not sophisticated at all. I wrote it quite a good while back and revised it a little a few times. So I've used it quite a lot, and so far it hasn't eaten `/' or leveled all /etc configs I find that the majority of new configs are either the `*.example' variety or else a diff shows the changed lines are all commented in both old or new, so a simple yes and move on. A three pane merge in xxdiff like cfg-update does by default, seems really clunky and somewhat overkill. Not to mention painfully slow. With configs that need intervention, I'm usually able to get it done with a simple diff and some hand work carried out in a different xterm or if in text mode I'll be using `screen' and switch to a different terminal to do the hand work, or even break out emacs and use its `ediff' tools on the two files. The perl script will have made backups of both for the advent of mistakes. Others here probably have vastly more complicated config files than me, but with this little perl script I'm usually able to blaze thru 15-20 new configs in very short order. I may have to do something by hand with 2-3 and occasionally I'll skip a complicated one and deal with it after disposing all the easy ones. I'm too embarrassed to post the script, but if someone really wants to try it I will make it available. Be advised though that I haven't paid much attention to security or other dangers...
[gentoo-user] Avahi Keeps failing on Emerge - Maybe a Python Error?
Hi, Avahi keeps failing with what looks like a Python gtk module error that I can't seem to figure out. I've done the obvious by re-emerging python (with running python-updater) and pygtk but it still fails. Any help would be appreciated. Thanks, Richard
Re: [gentoo-user] Back up a server in real-time
On Saturday 15 November 2008, Dale wrote: Mick wrote: Without gentoo-wiki my knowledge level is rather poor (just like my memory!) What would you use to back up a running server without taking it off line? I keep mine simple, cp -auv paths/you/want/to/backup back/up/to It has works so far. Thought about doing a cron job but that complicates things. :/ Thank you all for the suggestions and for the link to the wiki! I've got some reading to do. ;-) Whenever I have used tar to back up a whole OS I used it with a LiveCD. This was to make sure that files and their metadata were not being changed while I was tar'ing them. Are you saying that I can actually fire up tar/rsync and back up in real time? I was gravitating towards using LVM snapshot and then tar'ing that to an external USB drive. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] excess x11 drivers
I posted some output in anther thread concerning update world (Subject: How to fix a hefty (emerge) blocking problem) Someone noticed I had too many x11 drivers installed and suggested I set the /etc/make.conf VIDEO_CARDS variable (which I never have set before) I figured out I have an nvidia card so set VIDEO_CARDS=nv Now with my emerge -vuDN @system @world complete I'm unable to start X. (More on that later in a separate thread) But a little peek with eix -Ic |grep x11-drivers I still see a hefty mess of them: [I] x11-drivers/xf86-input-evdev ([EMAIL PROTECTED]/13/08): Generic Linux input driver [I] x11-drivers/xf86-input-keyboard ([EMAIL PROTECTED]/12/08): Keyboard input driver [I] x11-drivers/xf86-input-mouse ([EMAIL PROTECTED]/29/08): X.Org driver for mouse input devices [I] x11-drivers/xf86-video-apm ([EMAIL PROTECTED]/29/08): Alliance ProMotion video driver [I] x11-drivers/xf86-video-ark ([EMAIL PROTECTED]/12/08): X.Org driver for ark cards [I] x11-drivers/xf86-video-chips ([EMAIL PROTECTED]/12/08): Chips and Technologies video driver [I] x11-drivers/xf86-video-cirrus ([EMAIL PROTECTED]/12/08): Cirrus Logic video driver [I] x11-drivers/xf86-video-dummy ([EMAIL PROTECTED]/12/08): X.Org driver for dummy cards [I] x11-drivers/xf86-video-fbdev ([EMAIL PROTECTED]/12/08): video driver for framebuffer device [I] x11-drivers/xf86-video-glint ([EMAIL PROTECTED]/12/08): GLINT/Permedia video driver [I] x11-drivers/xf86-video-i740 ([EMAIL PROTECTED]/12/08): Intel i740 video driver [I] x11-drivers/xf86-video-mach64 ([EMAIL PROTECTED]/12/08): ATI Mach64 video driver [I] x11-drivers/xf86-video-mga ([EMAIL PROTECTED]/12/08): Matrox video driver [I] x11-drivers/xf86-video-neomagic ([EMAIL PROTECTED]/12/08): Neomagic video driver [I] x11-drivers/xf86-video-nv ([EMAIL PROTECTED]/13/08): Nvidia video driver [I] x11-drivers/xf86-video-rendition ([EMAIL PROTECTED]/12/08): Rendition video driver [I] x11-drivers/xf86-video-s3 ([EMAIL PROTECTED]/12/08): X.Org driver for s3 cards [I] x11-drivers/xf86-video-s3virge ([EMAIL PROTECTED]/12/08): S3 ViRGE video driver [I] x11-drivers/xf86-video-savage ([EMAIL PROTECTED]/12/08): S3 Savage video driver [I] x11-drivers/xf86-video-siliconmotion ([EMAIL PROTECTED]/12/08): Silicon Motion video driver [I] x11-drivers/xf86-video-tdfx ([EMAIL PROTECTED]/29/08): 3Dfx video driver [U] x11-drivers/xf86-video-tga ([EMAIL PROTECTED]/29/08 - (~)1.2.0): X.Org driver for tga cards [I] x11-drivers/xf86-video-trident ([EMAIL PROTECTED]/12/08): Trident video driver [I] x11-drivers/xf86-video-tseng ([EMAIL PROTECTED]/12/08): Tseng Labs video driver [I] x11-drivers/xf86-video-v4l ([EMAIL PROTECTED]/12/08): video4linux driver [I] x11-drivers/xf86-video-vesa ([EMAIL PROTECTED]/12/08): Generic VESA video driver [I] x11-drivers/xf86-video-voodoo ([EMAIL PROTECTED]/12/08): Voodoo video driver Whats all that for? Checking dependancies on a few I see: dep -l x11-drivers/xf86-video-voodoo: ! x11-base/xorg-x11-6.9 on all I checked. What can this mean?
Re: [gentoo-user] excess x11 drivers
Harry Putnam wrote: I posted some output in anther thread concerning update world (Subject: How to fix a hefty (emerge) blocking problem) Someone noticed I had too many x11 drivers installed and suggested I set the /etc/make.conf VIDEO_CARDS variable (which I never have set before) I figured out I have an nvidia card so set VIDEO_CARDS=nv Now with my emerge -vuDN @system @world complete I'm unable to start X. (More on that later in a separate thread) SNIP Whats all that for? Checking dependancies on a few I see: dep -l x11-drivers/xf86-video-voodoo: ! x11-base/xorg-x11-6.9 on all I checked. What can this mean? Give this a shot: VIDEO_CARDS=nvidia You can do a emerge -p xorg-x11 to see which ones are available. It's lists them for you, also lists the USE flags too. Dale :-) :-)
Re: [gentoo-user] Back up a server in real-time
Mick wrote: On Saturday 15 November 2008, Dale wrote: Mick wrote: Without gentoo-wiki my knowledge level is rather poor (just like my memory!) What would you use to back up a running server without taking it off line? I keep mine simple, cp -auv paths/you/want/to/backup back/up/to It has works so far. Thought about doing a cron job but that complicates things. :/ Thank you all for the suggestions and for the link to the wiki! I've got some reading to do. ;-) Whenever I have used tar to back up a whole OS I used it with a LiveCD. This was to make sure that files and their metadata were not being changed while I was tar'ing them. Are you saying that I can actually fire up tar/rsync and back up in real time? I was gravitating towards using LVM snapshot and then tar'ing that to an external USB drive. I have read that you can use tar while the system is running. I wouldn't do that during say a emerge or something tho. I would try to keep the system somewhat idle as far as changing files. My cp command works fine on a running system with the same advice as above on the system being idle tho. Dale :-) :-)
[gentoo-user] install problem
Hi When I try to install, it always hangs seem not bring up xwin or might be other issue 1/ how can I set the xwin parameter when booting up? 2/ how can I identify the problem In the website. it is only showing nox nofb thank you - Looking for the perfect gift? Give the gift of Flickr!
[gentoo-user] install problem
Hi When I try to install, it always hangs seem not bring up xwin or might be other issue 1/ how can I set the xwin parameter when booting up? 2/ how can I identify the problem In the website. it is only showing nox nofb thank you - Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail
Re: [gentoo-user] Back up a server in real-time
On Saturday 15 November 2008 07:08:42 pm Mick wrote: On Saturday 15 November 2008, Dale wrote: Mick wrote: Without gentoo-wiki my knowledge level is rather poor (just like my memory!) What would you use to back up a running server without taking it off line? I keep mine simple, cp -auv paths/you/want/to/backup back/up/to It has works so far. Thought about doing a cron job but that complicates things. :/ Thank you all for the suggestions and for the link to the wiki! I've got some reading to do. ;-) Whenever I have used tar to back up a whole OS I used it with a LiveCD. This was to make sure that files and their metadata were not being changed while I was tar'ing them. Are you saying that I can actually fire up tar/rsync and back up in real time? I was gravitating towards using LVM snapshot and then tar'ing that to an external USB drive. If you need to guarantee a backup without the data being changed during the process... you gotta take the server down. The easiest way is to init 1 to single user mode , make your backup, then init x back to what ever runlevel you were in... -- * From the desk of: Jerome D. McBride 21:54:45 up 5:40, 4 users, load average: 0.00, 0.01, 0.00 *
[gentoo-user] ati-drivers-8.552-r1 is blocking xorg-server
I can't figure out how to fix this. emerge ati-drivers gives this: [ebuild N] x11-drivers/ati-drivers-8.552-r1 USE=acpi -debug 74,042 kB [blocks B ] x11-drivers/ati-drivers (is blocking x11-base/xorg-server-1.5.2) I'm trying to modify the ebuild: /usr/portage/x11-drivers/ati-drivers/ati-drivers-8.552-r1.ebuild (in my local overlay of course) but I don't see where the block occurs. Can anyone help? The dependencies are the following and I can't figure out why they're blocking xorg-server-1.5.2: RDEPEND=x11-base/xorg-server !x11-apps/ati-drivers-extra =app-admin/eselect-1.0.9 app-admin/eselect-opengl amd64? ( app-emulation/emul-linux-x86-xlibs ) acpi? ( x11-apps/xauth sys-power/acpid ) x11-libs/libXrandr =sys-apps/portage-2.1.1-r1 DEPEND=${RDEPEND} x11-proto/xf86miscproto x11-proto/xf86vidmodeproto x11-proto/inputproto
Re: [gentoo-user] excess x11 drivers
在 2008-11-15六的 18:38 -0600,Dale写道: Harry Putnam wrote: I posted some output in anther thread concerning update world (Subject: How to fix a hefty (emerge) blocking problem) Someone noticed I had too many x11 drivers installed and suggested I set the /etc/make.conf VIDEO_CARDS variable (which I never have set before) I figured out I have an nvidia card so set VIDEO_CARDS=nv This should be OK, nv will use the opensource driver, while nvidia will use the closed-source driver. Now with my emerge -vuDN @system @world complete I'm unable to start X. (More on that later in a separate thread. This could also caused by mis-configuration of /etc/X11/xorg.conf, I think you'd better post your /var/log/Xorg.0.log SNIP Whats all that for? Checking dependancies on a few I see: dep -l x11-drivers/xf86-video-voodoo: ! x11-base/xorg-x11-6.9 on all I checked. What can this mean? If you need to prune the unused video drivers, please try to use (with caution please): emerge --ask --depclean Regards, Give this a shot: VIDEO_CARDS=nvidia You can do a emerge -p xorg-x11 to see which ones are available. It's lists them for you, also lists the USE flags too. Dale :-) :-)
Re: [gentoo-user] Back up a server in real-time
rsync is nice way On Sun, Nov 16, 2008 at 3:45 AM, Mick [EMAIL PROTECTED] wrote: Without gentoo-wiki my knowledge level is rather poor (just like my memory!) What would you use to back up a running server without taking it off line? -- Regards, Mick -- Only freebsd openbsd gentoo-linux windows2008
Re: [gentoo-user] win32codecs / realcodecs / amd64codecs (and the -real USE flag) was: Re: How do I fix multiple versions for the same package slot have been pulled
look this http://forums.gentoo.org/viewtopic-t-713051.html?sid=e44c9527cf38ebd470151d1452478d82 On Sun, Nov 9, 2008 at 1:01 PM, Stroller [EMAIL PROTECTED]wrote: On 9 Nov 2008, at 04:09, John covici wrote: In my latest update I have received the following message: !!! Multiple versions within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: media-libs/win32codecs:0 ('installed', '/', 'media-libs/win32codecs-20071007-r4', 'nomerge') pulled in by ('installed', '/', 'media-libs/realcodecs-11.0.1.1056', 'nomerge') @world ('ebuild', '/', 'media-libs/win32codecs-20071007-r4', 'merge') pulled in by ('ebuild', '/', 'media-video/vlc-0.9.6', 'merge') ('ebuild', '/', 'media-video/mplayer-1.0_rc2_p27725-r1', 'merge') @world ... Are they doing some kind of strange reorg or what? HOw can I fix this? I believe so: http://forums.gentoo.org/viewtopic-t-713051.html I'm guessing that it's this that's causing the problems you describe above. You mentioned package unmasking, and this is recommended in the referenced forums post for those that require Real, but you might just try unmerging win32codecs realcodecs trying your update again. I discovered this reorganisation because updating my system showed mplayer updating with the real USE flag being forcibly disabled, i.e.: [ebuild U ] media-video/mplayer-1.0_rc2_p27725-r1 [1.0_rc2_p26753-r1] USE=... -radio (-real*) -rtc ... 0 kB Someone on #gentoo was able to help because they'd experienced the issue this morning. It's not clear to me from this post whether Realplayer these codecs are actually needed by mplayer in order to play .rm .ram playlists audio files. One would assume so, except for beandog's statement Chances are, you don't need them anyway. The codecs are hardly used anymore, and most people will be fine without them. I have been thinking recently to record Pete Tong the other Friday / Saturday night Radio 1 DJs using cron mplayer, so I can burn their shows to CD-R listen to them in the car during the week. As a consequence later tonight I will be testing mplayer's ability to handle http://www.bbc.co.uk/radio1/realaudio/media/r1live.ram without these packages installed. Stroller. -- Only freebsd openbsd gentoo-linux windows2008
Re: [gentoo-user] install problem
081115 chloe K wrote: When I try to install, it always hangs seem not bring up xwin or might be other issue 1/ how can I set the xwin parameter when booting up? 2/ how can I identify the problem In the website. it is only showing nox nofb I'm sure users would like to help you install Gentoo Linux, but you need to give more detail of just what you did just where it goes wrong. You need to follow the installation section of the User's Guide on the Gentoo site very faithfully. Read the guide (again) then try to be more precise about what is wrong. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
[gentoo-user] .mov files not showing video
Hi, I received a few quicktime files from a friend; however, when I play it there is no video. The audio stream is fine. My friend can play it fine in the application Media Player Classic for Microsoft Xp. The interesting packages are % emerge -pv libquicktime mplayer These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-libs/libquicktime-1.0.3 USE=X aac alsa dv encode ffmpeg gtk jpeg lame mmx opengl png vorbis x264 -doc 0 kB [ebuild R ] media-video/mplayer-1.0_rc2_p27725-r1 USE=3dnow 3dnowext X a52 aac aalib alsa amrnb amrwb bindist cdio cdparanoia custom-cflags dga directfb doc dts dv dvd enca encode esd fbcon ftp gif iconv ipv6 jpeg libcaca lzo mad mmx mmxext mp2 mp3 musepack opengl oss png pnm quicktime rar real rtc samba sdl srt sse sse2 theora truetype unicode vorbis x264 xanim xscreensaver xv xvid xvmc zoran (-altivec) -arts -bidi -bl -cddb -cpudetection -custom-cpuopts -debug -dirac -dvb -dxr3 -ggi -gtk -jack -joystick -ladspa -lirc -live -md5sum -nas -nemesi -openal -pulseaudio -pvr -radio -schroedinger -speex -ssse3 (-svga) -teletext -tga -v4l -v4l2 (-vidix) (-win32codecs) -xinerama VIDEO_CARDS=-mga -s3virge -tdfx -vesa 0 kB Total: 2 packages (2 reinstalls), Size of downloads: 0 kB The file in question is % file Course.mov Course.mov: Apple QuickTime movie (fast start, compressed header) Any pointers would be handy. -- Regards, Michael Moore mikem.unet(at)gmail.com About *NIX: If its not fun, why do it?