Smart on Suse 9.2

Brian cabernet at webshield.net.au
Thu Jul 20 17:29:11 PDT 2006


On Thu, Jul 20, 2006 at 11:22:34AM +0930, Brian wrote:
> On Thu, Jul 20, 2006 at 08:27:01AM +0930, Brian wrote:
> > On Wed, Jul 19, 2006 at 09:01:36AM +0930, Brian wrote:
> > > Suse 9.2 with updates
> > > 
> > > To all. New to Smart. Previously used apt and Yast. I did not have any luck
> > > installing from rpm's but was able to install Smart using the source 
> > > package and following the build instuctions -
> > > ./setup.py build
> > > ./setup.py install
> > > 
> > > The Smart gui presents ok, but any attempt to click on an allready installed
> > > package results in the following error. I cannot get past this.
> > > Any ideas on how to tackle this ? I am still getting used to channels. For
> > > the time being I have transfered my apt sources to Smart. This is working
> > > ok.
> > > Brian
> > 
> > (Additional information). This is an AMD64bit machine.
> > Brian
> 

The most recent error (see below) -so smart is using /usr/lib64 and not /usr/lib as I
thought. I note that selecting some packages in smart gui is ok and some
respond with the error. As yet I cannot determine a common theme that may
cause this. 

When installing the source package "make" will accept command line
arguements. Can anyone suggest something to try ?
Brian

Traceback (most recent call last):

  File
"/usr/lib64/python2.3/site-packages/smart/interfaces/gtk/interactive.py",
line 338, in <lambda>
    lambda x, y: self._pi.setPackage(y))

  File
"/usr/lib64/python2.3/site-packages/smart/interfaces/gtk/packageinfo.py",
line 204, in setPackage
    installedsize = info.getInstalledSize()

  File "/usr/lib64/python2.3/site-packages/smart/backends/rpm/header.py",
line 87, in getInstalledSize
    return self._h[rpm.RPMTAG_SIZE]

  File "/usr/lib64/python2.3/site-packages/smart/backends/rpm/header.py",
line 58, in __get__
    obj._h = obj._loader.getHeader(obj._package)

  File "/usr/lib64/python2.3/site-packages/smart/backends/rpm/header.py",
line 580, in getHeader
    mi = getTS().dbMatch(0, pkg.loaders[self])

TypeError: argument 2 must be string or None, not int
-- 
Powered by Suse Linux 9.2




More information about the Smart mailing list