SUSE / openSUSE This Forum is for the discussion of Suse Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-21-2006, 04:07 AM
|
#1
|
LQ Newbie
Registered: Jan 2004
Posts: 2
Rep:
|
SMART error on channel updates - SuSE 10.1
Im using Suse 10.1, everything has been working fine untill this morning. When I start SMART it loads OK, but when updating the channels I get an error message - see below:
Traceback (most recent call last):
File "/usr/bin/smart", line 194, in ?
main(sys.argv[1:])
File "/usr/bin/smart", line 167, in main
exitcode = iface.run(opts.command, opts.argv)
File "/usr/lib/python2.4/site-packages/smart/interface.py", line 53, in run
result = _command.main(self._ctrl, opts)
File "/usr/lib/python2.4/site-packages/smart/commands/update.py", line 78, in main
failed = not ctrl.reloadChannels(channels, caching=NEVER)
File "/usr/lib/python2.4/site-packages/smart/control.py", line 375, in reloadChannels
self._cache.load()
File "/usr/lib/python2.4/site-packages/smart/backends/rpm/metadata.py", line 321, in loadFileProvides
self.parseFilesList(fndict)
File "/usr/lib/python2.4/site-packages/smart/backends/rpm/metadata.py", line 346, in parseFilesList
for event, elem in cElementTree.iterparse(file, ("start", "end")):
File "<string>", line 60, in __iter__
SyntaxError: not well-formed (invalid token): line 479344, column 58
I've also deleted channel info and removed SMART's cache and then ran smart update, but the problem still occurs when the channels have updated.
Can anyone give me some info on this, or even how to fix it!!
Zeb
|
|
|
09-21-2006, 10:08 AM
|
#2
|
Member
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211
Rep:
|
I wish I could help. I'm getting the same thing and came here looking for an answer.
|
|
|
09-21-2006, 10:10 AM
|
#3
|
Member
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211
Rep:
|
Delete post
Last edited by sporks; 09-21-2006 at 10:21 AM.
|
|
|
09-21-2006, 10:20 AM
|
#4
|
Member
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211
Rep:
|
Delete post
|
|
|
09-21-2006, 11:38 AM
|
#5
|
Member
Registered: May 2006
Distribution: Suse 10.2 x64
Posts: 247
Rep:
|
Well seems there's lots getting this, me included
I cleaned out all the smart data I could find and reinstalled Smart and things are now fine exept I can't get a few repositories to update (think its the Suse build service).
I think what the problem is in the /var/lib/smart/channels directory but not sure. Hopefully someone has a simpler solution as I find adding channels painful unless they're included in konvenientsuse kommander script.
|
|
|
09-21-2006, 11:40 AM
|
#6
|
Member
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211
Rep:
|
I deleted /var/lib/smart (maybe not a good move, I dunno). I tried deleting just the cache and the channels to no avail.
After I nuked it all and uninstalled/reinstalled it, everything works now.
|
|
|
09-21-2006, 04:16 PM
|
#7
|
LQ Newbie
Registered: Apr 2003
Posts: 21
Rep:
|
Quote:
Originally Posted by sporks
After I nuked it all and uninstalled/reinstalled it, everything works now.
|
Same here, I was having the same problem as everyone else and it seemed to work for me.
|
|
|
09-21-2006, 07:08 PM
|
#8
|
Member
Registered: May 2006
Distribution: Suse 10.2 x64
Posts: 247
Rep:
|
Known bug https://bugzilla.novell.com/show_bug.cgi?id=207291
"When data is corrupted in the cache (e.g. because of wrong metadata on some server), the metadata is not downloaded in the next run (becuase it may be fixed) but read from the cache where it's ALWAYS corrupted. So the only way is to manually delete the cache to solve the problem."
|
|
|
09-21-2006, 08:15 PM
|
#9
|
Member
Registered: Jul 2004
Location: Los Angeles (the Great Cultural Wasteland)
Distribution: SuSe 10.2
Posts: 151
Rep:
|
Same problem here.
tried to delete cache, still fails on rebuild of cache.
|
|
|
09-24-2006, 06:04 AM
|
#10
|
Member
Registered: Oct 2003
Distribution: Zenwalk
Posts: 35
Rep:
|
Quote:
Originally Posted by osbie
Same problem here.
tried to delete cache, still fails on rebuild of cache.
|
Delete the files in /var/lib/smart/channels directory and run "smart update" again.
|
|
|
09-26-2006, 04:31 AM
|
#11
|
LQ Newbie
Registered: Jan 2004
Posts: 2
Original Poster
Rep:
|
I tried deleting the cache and channel data but it still would'nt work, so I eventually uninstalled, rebooted and installed a earlier version, without updating all of the repositories. After the latest KDE update (maybe not even related, but waited anyway!) I again uninstalled and re-installed the latest SMART (0.42.13), refershed everything including all repositories and its now working fine again.
|
|
|
09-29-2006, 07:50 AM
|
#12
|
LQ Newbie
Registered: May 2003
Location: Iasi, Romania
Distribution: Linux Mint Julia
Posts: 19
Rep:
|
worked for me by deleting the /var/lib/smart/channels directory contents. thank's a lot guys!
|
|
|
All times are GMT -5. The time now is 12:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|