LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 09-21-2006, 04:07 AM   #1
zeb1801
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
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
 
Old 09-21-2006, 10:08 AM   #2
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Rep: Reputation: 30
I wish I could help. I'm getting the same thing and came here looking for an answer.
 
Old 09-21-2006, 10:10 AM   #3
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Rep: Reputation: 30
Delete post

Last edited by sporks; 09-21-2006 at 10:21 AM.
 
Old 09-21-2006, 10:20 AM   #4
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Rep: Reputation: 30
Delete post
 
Old 09-21-2006, 11:38 AM   #5
google01103
Member
 
Registered: May 2006
Distribution: Suse 10.2 x64
Posts: 247

Rep: Reputation: 31
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.
 
Old 09-21-2006, 11:40 AM   #6
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Rep: Reputation: 30
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.
 
Old 09-21-2006, 04:16 PM   #7
zepphead5
LQ Newbie
 
Registered: Apr 2003
Posts: 21

Rep: Reputation: 15
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.
 
Old 09-21-2006, 07:08 PM   #8
google01103
Member
 
Registered: May 2006
Distribution: Suse 10.2 x64
Posts: 247

Rep: Reputation: 31
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."
 
Old 09-21-2006, 08:15 PM   #9
osbie
Member
 
Registered: Jul 2004
Location: Los Angeles (the Great Cultural Wasteland)
Distribution: SuSe 10.2
Posts: 151

Rep: Reputation: 30
Same problem here.

tried to delete cache, still fails on rebuild of cache.
 
Old 09-24-2006, 06:04 AM   #10
WZX
Member
 
Registered: Oct 2003
Distribution: Zenwalk
Posts: 35

Rep: Reputation: 15
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.
 
Old 09-26-2006, 04:31 AM   #11
zeb1801
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 09-29-2006, 07:50 AM   #12
gabigrigore
LQ Newbie
 
Registered: May 2003
Location: Iasi, Romania
Distribution: Linux Mint Julia
Posts: 19

Rep: Reputation: 0
worked for me by deleting the /var/lib/smart/channels directory contents. thank's a lot guys!
 
  


Reply

Tags
error, invalid, smart, syntax, token


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Smart Package Manager Error:Warning: You Must Fetch Channel Info Balarabay1 SUSE / openSUSE 10 09-21-2006 12:32 AM
Smart update error shame SUSE / openSUSE 8 08-31-2006 09:55 AM
error messages when i try to update with smart dasy2k1 SUSE / openSUSE 4 08-12-2006 04:57 PM
error Smart Package Manager on Suse!!! suse2166 Linux - Software 2 08-08-2006 08:19 PM
Usin Suse iso's as channel source for Smart (as yast can) google01103 SUSE / openSUSE 0 05-15-2006 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration