LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 09-21-2006, 04:07 AM   #1
zeb1801
LQ Newbie
 
Registered: Jan 2004
Posts: 2
Thanked: 0
SMART error on channel updates - SuSE 10.1


[Log in to get rid of this advertisement]
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
zeb1801 is offline  
Tag This Post , ,
Reply With Quote
Old 09-21-2006, 10:08 AM   #2
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211
Thanked: 0
I wish I could help. I'm getting the same thing and came here looking for an answer.
sporks is offline     Reply With Quote
Old 09-21-2006, 10:10 AM   #3
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211
Thanked: 0
Delete post

Last edited by sporks; 09-21-2006 at 10:21 AM..
sporks is offline     Reply With Quote
Old 09-21-2006, 10:20 AM   #4
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211
Thanked: 0
Delete post
sporks is offline     Reply With Quote
Old 09-21-2006, 11:38 AM   #5
google01103
Member
 
Registered: May 2006
Distribution: Suse 10.2 x64
Posts: 247
Thanked: 0
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.
google01103 is offline     Reply With Quote
Old 09-21-2006, 11:40 AM   #6
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211
Thanked: 0
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.
sporks is offline     Reply With Quote
Old 09-21-2006, 04:16 PM   #7
zepphead5
LQ Newbie
 
Registered: Apr 2003
Posts: 15
Thanked: 0
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.
zepphead5 is offline     Reply With Quote
Old 09-21-2006, 07:08 PM   #8
google01103
Member
 
Registered: May 2006
Distribution: Suse 10.2 x64
Posts: 247
Thanked: 0
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."
google01103 is offline  
Tag This Post , ,
Reply With Quote
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
Thanked: 0
Same problem here.

tried to delete cache, still fails on rebuild of cache.
osbie is offline     Reply With Quote
Old 09-24-2006, 06:04 AM   #10
WZX
Member
 
Registered: Oct 2003
Distribution: Zenwalk
Posts: 35
Thanked: 0
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.
WZX is offline     Reply With Quote
Old 09-26-2006, 04:31 AM   #11
zeb1801
LQ Newbie
 
Registered: Jan 2004
Posts: 2
Thanked: 0

Original Poster
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.
zeb1801 is offline     Reply With Quote
Old 09-29-2006, 07:50 AM   #12
gabigrigore
LQ Newbie
 
Registered: May 2003
Location: Iasi, Romania
Distribution: SuSE 10.1
Posts: 19
Thanked: 0
worked for me by deleting the /var/lib/smart/channels directory contents. thank's a lot guys!
gabigrigore is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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/Novell 10 09-21-2006 12:32 AM
Smart update error shame Suse/Novell 8 08-31-2006 09:55 AM
error messages when i try to update with smart dasy2k1 Suse/Novell 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/Novell 0 05-15-2006 10:31 AM


All times are GMT -5. The time now is 06:34 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration