I apologize if this is in the archives, and I missed it.
I updated rpm a while back with:
# yum -y update rpm
I believe it installed a python2.4 package as well. Ever since then, I have had problems with python and rpm. I get this error when trying to use yum:
Traceback (most recent call last): File "/usr/bin/yum", line 6, in ? import yummain File "/usr/share/yum-cli/yummain.py", line 23, in ? import yum File "/usr/lib/python2.3/site-packages/yum/__init__.py", line 21, in ? import rpm ImportError: No module named rpm
Appreciate the help,
Austin
Austin Isler wrote:
I updated rpm a while back with:
# yum -y update rpm
I believe it installed a python2.4 package as well. Ever since then, I have had problems with python and rpm.
It sounds like the updated rpm package put the rpm Python module in /usr/lib/site-packages/python2.4 and deleted the one in /usr/lib/site-packages/python2.3. This should not have happened unless you have a repository which overwrote the standard FC3 rpm-python package. What does 'rpm -q rpm-python' return?
Stephen Walton wrote:
It sounds like the updated rpm package put the rpm Python module in /usr/lib/site-packages/python2.4 and deleted the one in /usr/lib/site-packages/python2.3. This should not have happened unless you have a repository which overwrote the standard FC3 rpm-python package. What does 'rpm -q rpm-python' return?
$ rpm -q rpm-python rpm-python-4.3.2-21_36.rhfc3.at
Austin
On Thu, 30 Dec 2004 10:34:51 -0800, Austin Isler aisler@gmail.com wrote:
Stephen Walton wrote:
It sounds like the updated rpm package put the rpm Python module in /usr/lib/site-packages/python2.4 and deleted the one in /usr/lib/site-packages/python2.3. This should not have happened unless you have a repository which overwrote the standard FC3 rpm-python package. What does 'rpm -q rpm-python' return?
$ rpm -q rpm-python rpm-python-4.3.2-21_36.rhfc3.at
Austin
Try smart, http://smartpm.org. It is in beta but I have found it invaluable in sorting out dependency issues caused by 3rd-party repositories. The program is very good at performing upgrades/downgrades. You just select a package that has been downgraded by an installed .at package and smart will mark for removal the .at package and install the downgrade.
What does 'rpm -q rpm-python' return?
$ rpm -q rpm-python rpm-python-4.3.2-21_36.rhfc3.at
Austin
Do the following:
# rpm -qa | grep ".at$"
I think that you will find the AT repo replaced a whole lot of packages that really did not need replacing. Get "smart" and use it to unfix the .at fixes.
On Thu, 2007-02-22 at 16:03 -0800, Gerhard Magnus wrote:
I've been running squid on one of my boxes and have configured the browsers on my other machines to use it as an HTTP proxy server via
port
- I've edited the squid configuration file
(/etc/squid/squid.conf)
by adding these lines before the line "http_access deny all":
acl internal src 192.168.1.0/24 http_access allow internal
Then I opened port 3128 (tcp protocol) on the server. This
arrangement
(which seems pretty standard) has worked without problems for a few months and a large cache has made using the web faster. Recently I've tried accessing internet URLs like this that reference a specific
port:
http://lib6.wsulibs.edu:8888/sfx_local
and I get a "Connection to 134.121.5.234 failed" error message from squid. But if I change the browser to use the direct internet connection things work normally.
Why is this happening? Is there some other setting I need to make in squid.conf?
After fiddling with this problem for about a month -- following threads from Google and starting one of my own on www.linuxquestions.org, all to no avail -- I finally found this priceless revelation in the book "Linux Power Tools" by Roderick W. Smith (p.175):
"Some websites simply don't work well through a proxy..."
Simply add the name of problematic websites to the "No Proxy for" list on the Firefox "Connection Settings" panel. This may be a kludge... but who has the time to try out all 125 or so settings in /etc/squid/squid.conf?
On Tue, 2007-03-20 at 12:00 -0700, Gerhard Magnus wrote:
I finally found this priceless revelation in the book "Linux Power Tools" by Roderick W. Smith (p.175):
"Some websites simply don't work well through a proxy..."
Ah yes, that's something so many of us realised through bitter experience that you forget not everybody's aware of it. Lots of things don't work through proxies (or NAT), sometimes because whoever created them was ignorant about the issues, sometimes they're even wilfully obstructive about it.
And there's many who've had to deal with an ISP with a crappy proxy, even worse are the transparent ones that can't be avoided. Proxies, in themselves, can sometimes be the problem, even with sites that would, otherwise, work fine through a good proxy.
About the only time I'd contemplate using one now, is between the internet and a bunch of Windows boxes about to use Windows update to automatically update themselves. It saves on a lot of repetitive downloads of large files.
But I'd avoid them for general browsing, as I've found it to usually cause more problems than it solves.
Verily I say unto thee, that Gerhard Magnus spake thusly:
http://lib6.wsulibs.edu:8888/sfx_local
and I get a "Connection to 134.121.5.234 failed" error message from squid. But if I change the browser to use the direct internet connection things work normally.
Why is this happening? Is there some other setting I need to make in squid.conf?
After fiddling with this problem for about a month -- following threads from Google and starting one of my own on www.linuxquestions.org, all to no avail -- I finally found this priceless revelation in the book "Linux Power Tools" by Roderick W. Smith (p.175):
"Some websites simply don't work well through a proxy..."
Simply add the name of problematic websites to the "No Proxy for" list on the Firefox "Connection Settings" panel. This may be a kludge... but who has the time to try out all 125 or so settings in /etc/squid/squid.conf?
No, no, no.
It's just *one* setting:
###### acl Safe_ports port <port numbers or range> # optional comment ######
Here's mine:
###### acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 563 # https, snews acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl Safe_ports port 11371 # PGP keyserver query acl Safe_ports port 2082 # Bluehost cPanel login ######
Actually I should probably clean that up, since I don't use most of them.
I was so ticked off writing a Letter to the Editor that I gave the wrong address, i.e. one without an "@" sign. Maybe it serves me right, but now I can't get rid of the message -- it's not in Drafts, Junk or Sent or any of the other evolution folders. But now each time I hit send/receive evolution tries sending it again and I get "Error while performing operation. sendmail exited with status 67: mail not sent."
Then the message is bounced back to me with this error:
The original message was received at Sun, 12 Aug 2007 15:18:25 -0700 from magnusg@localhost
----- The following addresses had permanent fatal errors ----- news.Oregonian.com (reason: 550 5.1.1 news.Oregonian.com@PuteB.SMAssociates.com... User unknown) (expanded from: news.Oregonian.com)
How do I get rid of it?
Thanks for the help. --Jerry
On Sun, 2007-08-12 at 15:39 -0700, Gerhard Magnus wrote:
I was so ticked off writing a Letter to the Editor that I gave the wrong address, i.e. one without an "@" sign. Maybe it serves me right, but now I can't get rid of the message -- it's not in Drafts, Junk or Sent or any of the other evolution folders. But now each time I hit send/receive evolution tries sending it again and I get "Error while performing operation. sendmail exited with status 67: mail not sent."
As far as I'm aware, the only folder that Evolution will try sending queued mail from is the "Outbox". It might be in there, but not visible.
Look in the "view" menu, untick the "hide" option, and try the "view" options. Make sure the "show" drop-list above the message list is showing "all messages". See if, after all of that, you can spot a message in the outbox. Now try deleting it and "expunge" the folder (folder menu option).
On Sun, 2007-08-12 at 15:39 -0700, Gerhard Magnus wrote:
I was so ticked off writing a Letter to the Editor that I gave the wrong address, i.e. one without an "@" sign. Maybe it serves me right, but now I can't get rid of the message -- it's not in Drafts, Junk or Sent or any of the other evolution folders. But now each time I hit send/receive evolution tries sending it again and I get "Error while performing operation. sendmail exited with status 67: mail not sent."
Then the message is bounced back to me with this error:
The original message was received at Sun, 12 Aug 2007 15:18:25 -0700 from magnusg@localhost
----- The following addresses had permanent fatal errors ----- news.Oregonian.com (reason: 550 5.1.1 news.Oregonian.com@PuteB.SMAssociates.com... User unknown) (expanded from: news.Oregonian.com)
How do I get rid of it?
Thanks for the help. --Jerry
If it is not sent it is in Outbox -- ======================================================================= We may hope that machines will eventually compete with men in all purely intellectual fields. But which are the best ones to start with? Many people think that a very abstract activity, like the playing of chess, would be best. It can also be maintained that it is best to provide the machine with the best sense organs that money can buy, and then teach it to understand and speak English. -- Alan M. Turing ======================================================================= Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net
users@lists.stg.fedoraproject.org