LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-11-2006, 10:37 AM   #1
Balarabay1
Member
 
Registered: Feb 2006
Location: Florida
Distribution: SUSE 11.0/x86 KDE
Posts: 334

Rep: Reputation: 30
Smart Package Manager Error:Warning: You Must Fetch Channel Info


When I activate Smart, it first says, "Loading Cache", then I get an error as stated in the Subject line, then the little window pops up with the ,"Updating cache", which after 75-76%, I get another error which is posted below. When I click on OK in that las error box, Smart closes out. Gotta love all this buggy software around. How the hell do I access Smart? It always shuts down after these errors. Can this BS be bypassed in the shell mode? How can I insist that Smart fetch channel info from the command line. That for any/all help. I thought Linux was a pretty stable OS, not looking that way!





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/interfaces/gtk/interactive.py", line 364, in run
self._ctrl.reloadChannels()

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/yast2.py", line 276, in load
self.parseEntry()

File "/usr/lib/python2.4/site-packages/smart/backends/rpm/yast2.py", line 163, in parseEntry
requires = self.getInfoEntity("Req")

File "/usr/lib/python2.4/site-packages/smart/backends/rpm/yast2.py", line 96,in getInfoEntity
data.append((parts[0], parts[1], parts[2]))

IndexError: list index out of range
 
Old 08-11-2006, 01:21 PM   #2
osbie
Member
 
Registered: Jul 2004
Location: Los Angeles (the Great Cultural Wasteland)
Distribution: SuSe 10.2
Posts: 151

Rep: Reputation: 30
Ok, wow thats pretty weird. did you just install Smart, or has it worked before? and -have to ask- do you have python installed? cuz you're getting allot of py errs. of course that should have been caught as a dependancy by the prog u used to do the install. If this is your first run of the programme then i would do a reinstall look here
http://spinink.net/2006/05/20/instal...ckage-manager/

to be honest, smart is about the smoothest operator for packedges i've ever come accross.
 
Old 08-11-2006, 07:52 PM   #3
Balarabay1
Member
 
Registered: Feb 2006
Location: Florida
Distribution: SUSE 11.0/x86 KDE
Posts: 334

Original Poster
Rep: Reputation: 30
No, I have been using it for a month or two!

The problem started when my FTP was stalling on the updates. I hit cancel a few times.....Then problems started after that!
 
Old 08-11-2006, 10:06 PM   #4
Balarabay1
Member
 
Registered: Feb 2006
Location: Florida
Distribution: SUSE 11.0/x86 KDE
Posts: 334

Original Poster
Rep: Reputation: 30
Now this makes NO SENSE!

I went into YAST and deleted ALL SMART/SMART RELATED PACKAGES. This also includes the rpm-python, python-gtk,& python numeric packages. I then re-installed all the packages as if it were a new installation. How the hell could I still have the same problem?!!! Everything should be gone. Anyone know why? I spend more time fixing bugs, this really sucks! Thanks
 
Old 08-12-2006, 04:56 AM   #5
osbie
Member
 
Registered: Jul 2004
Location: Los Angeles (the Great Cultural Wasteland)
Distribution: SuSe 10.2
Posts: 151

Rep: Reputation: 30
Two ideas come to mind.
1. somehow in all this its db or cache or rpm db got screwed.and it's still there and needs to be rebuilt. how is this done? there is a way but i don't know it.
2. since it is a relatively new prog. and is in rapid development (updates every other week) you might want to send a note with the output to guru. he may want to hear @ it and, well, he would be THE one who would know whats wrong.
http://linux01.gwdg.de/~pbleser/ I don't know if he has a bugzilla for this yet but his website does have a 'contact' on it.
 
Old 08-12-2006, 09:29 AM   #6
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
It is better to report any issues at the SMART Bug Site.
 
Old 08-12-2006, 09:24 PM   #7
Balarabay1
Member
 
Registered: Feb 2006
Location: Florida
Distribution: SUSE 11.0/x86 KDE
Posts: 334

Original Poster
Rep: Reputation: 30
All solved!

As root:

rm /var/lib/smart/channels/*
rm /var/lib/smart/cache
smart update
 
Old 08-19-2006, 01:48 AM   #8
studioz
LQ Newbie
 
Registered: Feb 2006
Location: Sacramento, Minas Gerais, Brazil
Distribution: Suse
Posts: 1

Rep: Reputation: 0
Thumbs up Thanks!

Quote:
Originally Posted by Balarabay1
As root:

rm /var/lib/smart/channels/*
rm /var/lib/smart/cache
smart update
This work for me, thank you very much!
 
Old 09-04-2006, 03:47 PM   #9
gbj
Member
 
Registered: Jul 2003
Posts: 142

Rep: Reputation: 15
Also worked for me...thanks Balarabay1
 
Old 09-20-2006, 10:15 PM   #10
labradog
LQ Newbie
 
Registered: Mar 2004
Distribution: ubuntu
Posts: 29

Rep: Reputation: 15
smart broken

Originally Posted by Balarabay1
As root:

rm /var/lib/smart/channels/*
rm /var/lib/smart/cache
smart update


This did not work for me until I removed the channel:

SUSE Linux Online Updates

ftp://ftp.suse.com/pub/suse/update/10.1/

from smart. I did not have to delete the cache, only the channels.
 
Old 09-21-2006, 12:32 AM   #11
hubideg
LQ Newbie
 
Registered: Oct 2005
Location: Angeles City / Philippines
Distribution: openSUSE 10.2
Posts: 4

Rep: Reputation: 0
Smart Errors

Quote:
Originally Posted by Balarabay1
As root:

rm /var/lib/smart/channels/*
rm /var/lib/smart/cache
smart update
It worked for me already twice. Wow great
 
  


Reply


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 bad magic cpio error matticus SUSE / openSUSE 5 04-10-2012 11:41 AM
error Smart Package Manager on Suse!!! suse2166 Linux - Software 2 08-08-2006 08:19 PM
Error in Smart Package Manager using FC5 solar1951 Fedora 0 07-13-2006 09:29 AM
How do I transfer YAST2 package Info to Smart? AND.... Balarabay1 SUSE / openSUSE 2 07-11-2006 11:35 PM
Poll: Yast Package Manager vs. Smart Package Manager in 10.1 agentchange SUSE / openSUSE 6 06-02-2006 09:29 AM

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

All times are GMT -5. The time now is 11:52 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