LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Smart Package Manager Error:Warning: You Must Fetch Channel Info (https://www.linuxquestions.org/questions/suse-opensuse-60/smart-package-manager-error-warning-you-must-fetch-channel-info-472968/)

Balarabay1 08-11-2006 09:37 AM

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

osbie 08-11-2006 12:21 PM

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.

Balarabay1 08-11-2006 06:52 PM

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!

Balarabay1 08-11-2006 09:06 PM

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

osbie 08-12-2006 03:56 AM

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.

Xian 08-12-2006 08:29 AM

It is better to report any issues at the SMART Bug Site.

Balarabay1 08-12-2006 08:24 PM

All solved!
 
As root:

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

studioz 08-19-2006 12:48 AM

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!

gbj 09-04-2006 02:47 PM

Also worked for me...thanks Balarabay1

labradog 09-20-2006 09:15 PM

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.

hubideg 09-20-2006 11:32 PM

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 ;)


All times are GMT -5. The time now is 03:26 AM.