Red Hat :: Yum Not Working Anymore - Cannot Set Attribute
Feb 24, 2010
After a update that has gone bad I can't use yum anymore, I have already reinstalled the latest versions of yum and python from the RedHat site but no luck.
My error:
Loaded plugins: rhnplugin, security
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 309, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 157, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 187, in getOptionsConfig
self.conf
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 664, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 253, in _getConfig
self.plugins.run('init')
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/rhnplugin.py", line 145, in init_hook
Repo = RhnRepo(channel)
File "/usr/lib/yum-plugins/rhnplugin.py", line 243, in __init__
self.metadata_cookie = 'cookie'
AttributeError: can't set attribute
Recently installed Fedora 11 from CD on eeepc900HA. Update manager suggested 402 updates available. trying to update I get the following traceback error report:
Traceback (most recent call last):
On trying this process a second time after having selected specific packages I noticed that a prepare machine for upgrade package (not selected by me) seemed to be where the process stalled.
Trying a third time with attempt to upgrade some (random) python packages I get the same result via a system/admin/upgrade or download software .
Which command should I use programmatically (in ldap.h) to change only ONE of the attributes above? say i only want to change the userPassword from value secret -> notasecret
I am in Ubuntu 10.04 with its standard desktop environment. Exaile was working great. Now, suddenly it refuses to work. It brings up the splash/loading image and then dies. It works fine under a different user account. I completely restarted, completely uninstalled, completely reinstalled through the Ubuntu Software Center. No luck. I then tried to run it via a terminal.
Here was the output: wmeler@ubuntu1004:~$ exaile INFO : Loading Exaile 0.3.1.1... INFO : Loading settings... INFO : Setting up deferred idle manager function... INFO : Loading plugins... INFO : Loading collection... INFO : Loading devices... Traceback (most recent call last): File "/usr/lib/exaile/exaile.py", line 52, in <module> main() File "/usr/lib/exaile/exaile.py", line 49, in main exaile = main.Exaile() File "/usr/lib/exaile/xl/main.py", line 84, in __init__self.__init() File "/usr/lib/exaile/xl/main.py", line 189, in __init location=os.path.join(xdg.get_data_dirs()[0], "covers")) File "/usr/lib/exaile/xl/cover.py", line 121, in __init__self.load() File "/usr/lib/exaile/xl/cover.py", line 330, in load data = pickle.load(f) EOFError Exception in thread Thread-4:Traceback (most recent call last): File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner self.run() File "/usr/lib/python2.6/threading.py", line 484, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/exaile/xl/hal.py", line 66, in connect logger.warning("Failed to connect to HAL," AttributeError: 'NoneType' object has no attribute 'warning'
I use fedora 8 & had previously tried to upgrade to 10, unsuccessfully. From then onwards, yum & rpm have refused to work. I tried deleting & rebuilding rpm database but it doesnt solve anything. Here is the error when I run yum
Code:
# yum update Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True)
After long while Vmware is not working anymore.. I think because some upgrade a while ago.. but when I try to run the configure.pl then I get this error.. does anybody know what is wrong?
I installed Burg and it worked for some time. I installed some apps that I can't remember anymore and closed my comp. I restarted my computer today and Burg does not work anymore, Grub just start like before. I tried to reinstalled Burg and it changed nothing. When I check Burg-emu it shows me the right thing, like if Burg was working. Did it happened to somebody else?
A couple of weeks ago, my keypad stopped working. Not only the numbers, but all keys there. I heard it is a setting in Gnome, but I can't seem to find it.
After a lot of work I succeeded in making my Icon 225 Mobile Broadband working under Linux, so I immediately took advantage of this by updating my system.But unfortunately not everything went well. I have to say something:in Linux when you solved a problem another one pops up. And this is what happened to me. The first problem was the following error message: PackageKit Error repo-not-available: File '/repodata/repomd.xml' not found on medium [URL]
It seems that in the Online update system there is a error: or the address is wrong or something is not working as it should be. Anyway I got over it and the system started to download the updates and so on. At the end the system asked me to reboot and I did it. Unfortunately a cold shower was waiting me : the KDE interface did not work anymore, the only thing I could see was something like a fog all around the video. The mouse cursor was a dark square. I was still able to hear the welcome sound so I deduced that only the graphic interface was corrupted. I rebooted again and when the system show me the booting choices:
1) Desktop opensuse 11.3-2.6.34.7-0.3 2) Failsafe opensuse 11.3-2.6.34.7-0.3 3) windows 1 4) windows 2 5) Floppy
I chose this time the second one (I think it is like a safe mode)and fortunately it worked but the system looked like having lost brightness (I think this choice change the card driver). Now I do not know why the KDE inrface got corrupted, because I download everything from the opesuse website, so no strange repository has been installed. I checked in the little manual supplied with the DVD and I found the following suggestion: If the KDE interface got corrupted please try to remove the cache files of the KDE desktop using the following command rm -rf /tmp/kde-user /tmp/ksocket-user
Code: :~> lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) Bus 002 Device 003: ID 1c4f:0002 SiGma Micro Bus 002 Device 004: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 Webcam
I didn't use it for a long time. But the last time I checked it Under Ubuntu, cheese was able to read from it & gstreamer properties also tested it successfully.
But now that I need the webcam, I can't get it work
gstreamer properties says " Video for Linux 2 (v4l2): Could not negotiate format".
I have a double boot system in my comp. I tried to make some upgrade in Ubuntu but everything went wrong and It's not working anymore. I can login but nothing is working. What are your suggestions in this case?
You really have to love this fantastic Ubuntu system which destroys your setup and programmes with an update.
It seems as though one of the updates made a mess of Skype this time. well done.
Ok so here is what's happening.
First i have to say that to get my sound card working i needed to upgrade ALSA. Everyhting was running fine until....NOW.
I haven't used Skype in a while but now i thought lets use it a bit. I start up Skype there is sound. but then suddenly sound is gone. video is just fine. sound is gone completelly from Skype. mic doesn't work and neither do spekers, eventhough upon launch everything works. i can't even do a test call. in fact i could do it once but the sound was messy.
also the skype seems to have crashed as i can't exit it at all. it's just keeps running as process.
anyone had something similar? any solutions? i would post this on Skype forums, but since Skype worked before and now it doesn't anymore i believe it is Ubuntu issue.
I'm a newbie in Linux (ubuntu) environment. Well my prob started as I tried to install several w-lan applications. I tried them out and deleted them again. Till (I don't remember the name of the prog) I finally shoot "network manager". I tried some things like: Second installation of ubuntu to get back internet. Downloaded some deb files and installed them in off-line mode.
But it doesn't work because some not satisfiable things happened now I tried to fix over USB live to fix it no chance. What I need is a possibility to install from USB on my first system or boot system one and USB on the same time to use the internet per switching or something like that. Maybe it's possible to update my system wile the USB system is running? Or is there a possibility to use the ubuntu CD and install all needet packages from there because network manager is already in Ubuntu. I think that all OS company's have to think about that , when they deliver a OS that you can choose or afterwords reinstall progs from the original source ...or what?
I have an HP dv4 1313dx, pavilion notebook computer. The Built in webcam seems to work OK, but I have absolutely no sound registering when I speak over webchat , or over just sound recordings when I talk at the computer. I'm not sure if it's a software issue or not. I upgraded to 10.4 beta because 9.10 wouldn't let me run my wireless card. So upgrading to the new beta version solved that, but as I said I noticed the built in mic on my notebook isn't picking up any sound. This is whether I'm using Skype, sound recorder, or AMSN for webchats.
In Lucid I cannot get CPU scaling to work anymore, in previous Ubuntu releases this was not a problem with the same hardware (AMD Phenom 9500 Quad). I used to load module 'powernow-k8' and 'powernowd' to make it work, but it seems 'powernow-k8' is not available in Lucid. Anyone who has cpu scaling working in Lucid?
On my Sony Vaio VPCF12M1E I have a small but irritating problem: Since yesterday the numeric pad on my keyboard doesn't work anymore. I can use the numbers at the top, but not on my numpad. This happened out of nowhere when I was just setting up an access point. No idea what I did wrong, cause I only configured a static IP Reboot, and numpad was gone. I tried restarting the laptop, I tried disabling and enabling Numlock over and over again. Nothing works.
the Squeeze uprgade I also lost the middle mouse functionaly of my Logitech Marble Mouse. I do not remember how I set it up to be honest. I am not sure if it was by default middle was mouse was "pressing 2 buttons on eachside at the same time" or I did set up manually using Xmod or similar tool. I might have even set up in the hal settings. The reason I do not remember exactly is that I used multiple tuts and places to set this up long time ago and now that the functionality is gone I am kind of confused about how to go ahead about it.
I have been able to make my webcam work some time ago, but it does not work anymore. (I installed xen kernel recently, but I don't know whether it's related or not).
I am using Opensuse 11.2.
My webcam is a Bison uvc compatible webcam. It should work with the uvcvideo driver which is intalled by default with the kernel. My kernel is
Code: Linux linux-61le 2.6.31.12-0.1-desktop #1 SMP PREEMPT 2010-01-27 08:20:11 +0100 x86_64 x86_64 x86_64 GNU/Linux lsusb gives: Code: Bus 002 Device 004: ID 5986:0241 Acer, Inc dmesg gives:
A wifi card with the ath5k driver used to work properly until a couple of weeks ago. Now, if I ping the router the response times sometimes are okay but often fluctuate into the range of many hundreds or thousands of milliseconds. Occasionally the connection breaks down entirely.My laptop, which uses a different card, works fine (typical ping response times of 2 ms), so its probably not the router which is faulty.I use opensuse 11.3 x86_64, currently with the 2.6.34.7-0.7 desktop kernel and knetworkmanager
I was able to successfully install Tweetdeck and Adobe Air using the instructions here: http://www.technixupdate.com/install...-ubuntu-linux/
BUT after I closed the program, when I tried to re-open it, it wouldn't load anymore. It would show that it is "Starting Tweetdeck" but it would not lead to anything - it would just close.
So I tried to uninstall everything and re-install from scratch. But the same thing happened - the program would not load.
I tried to isolate the issue by trying to install another AIR application. When I double-click on the icon or click on install using Adobe AIR, it would not run. So that only means that the issue is with Adobe AIR.
Here's what I did code...
It will then load the installer. Go through the step-by-step process until it's finished.
Install Tweetdeck again (Just double-click on its .air file).
Earlier I was in windows to do school that I had to do in windows. I shut my monitor to suspend my computer, which disables my sound card. Later on I went back into ubuntu and forgot about it. Ubuntu had updates to the system and since then I have not been able to get my sound to work.
since I just upgraded my Natty to the new Kernel my Logitech USB mouse won't work anymore. I checked it on another notebook and the mouse works fine Before the upgrade, everything was fine as well.
Code: xaitax@w00t:~$ uname -a Linux w00t 2.6.38-9-generic #43-Ubuntu SMP Thu Apr 28 15:23:06 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
I have a canon pixma mp640. Under opensuse 11.2 64 bit the printer worked (printing and scanning via wifi). I recently reinstalled my system with 11.3 64 bit, and after installing the canon rpms and creating the printer I get the following error in /var/log/cups/error_log:
Code:
Backend returned status 1 (failed) printer-state-message="Illegal backend: Success"
In opensuse 11.2 I needed to create some links:
Code:
cd /usr/lib64/cups/filter ln -s ../../../lib/cups/filter/pstocanonij cd /usr/lib64/cups/backend
I have two touch screen monitors tha tI'm configuring for a dual-head display.That is working.For the touch screens it's a bit more complicated, each touch screen requires that I apply a specific config file for each individual TS (touch screen). Each config file is unique to it display. for that I'm using xinput to apply those configuration.My problem here is that the TSs are the same model and show up under udev and xinput under the same the same name minus the different hardware IDs whish is the only way that I can currently distiguish them.So far I've experimented with tweaking the udev rules for a particular TS with no luck (more than likely because I might be doing it wrong).I ned to be able to tell the two appart when I apply the configurations in xinput so I can write a script that will do this automatically for me.