Re: man 3 switch
On Sat, Nov 14, 2009 at 5:46 AM, Ed Greshko wrote:> > There is even no "man 3 switch" on RHEL4. When was the last time you > For what it's worth ... there is no "man 3 switch" on NetBSD. I can check AIX on Monday and report on that, too. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: FC11 logging in as root - FC10 change not enough?
On Fri, Oct 30, 2009 at 9:21 AM, Robert Moskowitz wrote: > With just an editor like VI? I went to System>Administer>'Users and > Groups' and went to the Groups tab. Wheel is NOT listed there. When you have User Manager open, go to Edit -> Preferences and uncheck the box that says "Hide System Users and Groups". -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: python error with yum on F11
On Tue, Oct 20, 2009 at 9:18 AM, Tony Nelson wrote: > > It probably is not a recompile, but rather something else bad. Anyway, > that would be your problem with yum. Before you rm that bad > subprocess.pyc, what does file say about it? You might also consider > forcing an fsck (e.g., `touch /forcefsck ; reboot`). > file says it is python 2.6 byte-compiled My thanks to you, as well, for your assistance. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: python error with yum on F11
On Tue, Oct 20, 2009 at 9:18 AM, steve wrote: > Hmm, yeah, that indeed is weird. Note that since the file size is way too > small (smaller than the /optimized/ .pyo), i doubt it is even a recompiled > file. You may want to either run a rpm -Va or check the filesystem for all > files modified on that date (ref, find -mtime), if you really are curious. > > If you care only about making yum work, you can of course delete the .pyc, > which would cause yum (or any other python script that uses subprocess.py) > to recreate it the next time subprocess is imported ...tho' you probably > knew that already. I do use python, but I'm new to it. Your comment about the .pyc being recompiled was a great reminder. Thank you. rpm -Va python only flaged that one file. I did mv it, and then ran yum successfully. This was all an excellent reminder of how to properly troubleshoot these kinds of problems. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: python error with yum on F11
On Tue, Oct 20, 2009 at 1:36 AM, Tony Nelson wrote: > If the above seem OK, then: > > rpm -q python yum# should be python-2.6-xxx, yum-3.2.xxx > rpm -V python# should produce no output > rpm -V yum # should produce no output or only /etc/yum.conf > rpm -q python yum python-2.6-9.fc11.i586 yum-3.2.24-2.fc11.noarch rpm -V python S.5T./usr/lib/python2.6/subprocess.pyc Yeah. I'm a little confused by that. So, I checked the date: ll /usr/lib/python2.6/sub* -rw-r--r--. 1 root root 45471 2009-06-08 16:07 /usr/lib/python2.6/subprocess.py -rw-r--r--. 1 root root 119 2009-08-26 21:15 /usr/lib/python2.6/subprocess.pyc -rw-r--r--. 1 root root 32985 2009-06-08 16:07 /usr/lib/python2.6/subprocess.pyo I am baffled as to what would have caused the module to recompile on 8/26. rpm -V yum returns no output. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: python error with yum on F11
On Tue, Oct 20, 2009 at 1:17 AM, steve wrote: > Hello Mark, > I think you might have (possibly inadvertently) messed up your python > installation. > > Check the following: > $ python --version # should show you Python 2.6 > $ python -c "import sys; print sys.path" ># This should show you the places that python would look for modules > such as Popen. It ideally should include '/usr/lib/python2.6/' (and > '/usr/lib64/python26 if you have a x86_64 box). > > $ echo $PYTHONPATH ># This env variable is passed to python to modify the sys.path > (mentioned above) at runtime. This should ideally not exist if you don't do > any python development yourself. > > Let us know what you find, > If I've messed up my python install, it certainly is inadvertent. I do use python, but I've checked my root history and I've not manually installed any python packages since I installed F11. The version is 2.6 To get a little cleaner list output, I ran python from root: Python 2.6 (r26:66714, Jun 8 2009, 16:07:26) [GCC 4.4.0 20090506 (Red Hat 4.4.0-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> for which in sys.path: ... print which ... /usr/lib/python26.zip /usr/lib/python2.6 /usr/lib/python2.6/plat-linux2 /usr/lib/python2.6/lib-tk /usr/lib/python2.6/lib-old /usr/lib/python2.6/lib-dynload /usr/lib/python2.6/site-packages /usr/lib/python2.6/site-packages/Numeric /usr/lib/python2.6/site-packages/PIL /usr/lib/python2.6/site-packages/gst-0.10 /usr/lib/python2.6/site-packages/gtk-2.0 The PYTHONPATH environment variable is not set And, no, this is not a x86_64 box. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
python error with yum on F11
I just started getting the following error from yum: There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: cannot import name Popen Please install a package which provides this module, or verify that the module is installed correctly. It's possible that the above module doesn't match the current version of Python, which is: 2.6 (r26:66714, Jun 8 2009, 16:07:26) [GCC 4.4.0 20090506 (Red Hat 4.4.0-4)] If you cannot solve this problem yourself, please go to the yum faq at: http://wiki.linux.duke.edu/YumFaq Popen is supposed to be provided by subprocess.py, and I've confirmed that class Popen is in the /usr/lib/python2.6/subprocess.py module. I don't see anything helpful on the website above, or in a google search, or in pinging a few helpful associates. Any guidance from this community will be appreciated. Thanks. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Using a USB Hub on Linux ?
Folks - You can argue that USB isn't supposed to do this, but in reality it works. My wife uses Windows XP and I set her up with an IOGear USB 2.0 Peripherals Sharing Hub, model GUB201. It has worked wothout a hitch in letting her switch one printer between her desktop and laptop. Ergo, it CAN be done. As for doing it in FC? I don't know. I haven't had a huge need to figure it out. On 10/9/09, Craig White wrote: > On Fri, 2009-10-09 at 14:20 -0400, Gene Heskett wrote: >> A typical /etc/cups/client.conf: >> --- >> # Client.conf >> ServerName coyote.coyote.den >> --- > > Entirely unnecessary for a small LAN that allows broadcasts but if it > works for you and your network setup, then I am glad. > > Craig > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > -- > fedora-list mailing list > fedora-list@redhat.com > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list > Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines > -- Sent from my mobile device -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: hplip
Patrick - When I installed hplip for my OfficeJet J6480, the automatic configuration didn't work correctly. Further, I couldn't fix it with either system-config-printer, cups, or lpadmin. I had to manually delete the printer from the printers.conf file, the restart the cups service. That was just to get to a point of having no printers defined. >From there I was able to run system-config-printer and get my printer working correctly. I don't know if that will work in your case, but it might worth considering. On 8/20/09, Patrick Dupre wrote: > > Then, I am confuse. > > Right now, rpm -q hplip and hpijs shwow that I did not install > hplip and hpijs > > But I installed hplip from hplip-3.9.8.run, ie, that hplip and hpijs > are installed ? > > So. I could remove the hplip-3.9.8, and install hpijs.rpm (fedora 11) > and it should work. But then if I install hplip-3.9.8, it will remove > the hpijs from fedora ? > > Now, the question, is what is the difference between the hpijs-3.9.2-4.fc11 > and the hpijs.3.9.8 ? > By the way, I do understand that the blank pages are due to the ppd > file because it is OK for none postscript file. > Should I conclude that I need to use the ppd file coming with > hpihs-3.9.4-4 ? But this package does not seems to have a ppd > file for an HP-laserjet_P1005 ? > > So, it looks like that I am stick with the HP distribution !! > > Am I wrong ? > > > Patrick Dupre kirjoitti viestissään (lähetysaika torstai, 20. >> elokuuta 2009): >> >>> I can try to remove hplip. >>> But, when I print, do I really use hplip ? >>> >> >> Yes, you use the hp CUPS backend included in the hplip package >> and the driver from the hpijs pacakge. >> >> Do I only need a ppd file ? >>> >> >> Only PostScript printers work with only a ppd file. >> >> >> > -- > --- > == > Patrick DUPRÉ | | > Department of Chemistry| |Phone: (44)-(0)-1904-434384 > The University of York | |Fax: (44)-(0)-1904-432516 > Heslington | | > York YO10 5DD United Kingdom | |email: pd...@york.ac.uk > == > > -- > fedora-list mailing list > fedora-list@redhat.com > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list > Guidelines: > http://fedoraproject.org/wiki/Communicate/MailingListGuidelines > -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines