*** This bug is a duplicate of bug 401151 ***
    https://bugs.launchpad.net/bugs/401151

Ok so i the reason it wasnt finding anything is because Packagekit wasnt
set to use Smart in /etc/PackageKit/PackageKit.conf.

This should really be documented in the FAQ or something. I only picked
up on this after researching in Google and it popped from a old openSUSE
or Mandriva forum thread.

It seems like Update System is working. Havent got any errors but i also
dont think there have been any updates. Im using Jaunty at the moment to
test this.

As for Add/Remove, the lists are there on the left hand side and everything 
appears correct until i try to search for a package.
Then i get this error:

An internal system error has occurred:

Error Type: <class 'smart.Error'>
Error Value: 'rpm' python module is not available
  File : /usr/share/PackageKit/helpers/smart/smartBackend.py, line 1312, in 
<module>
    main()
  File : /usr/share/PackageKit/helpers/smart/smartBackend.py, line 1309, in main
    backend.dispatcher(sys.argv[1:])
  File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 600, in 
dispatcher
    self.dispatch_command(args[0], args[1:])
  File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 567, in 
dispatch_command
    self.search_name(options, searchterms)
  File : /usr/share/PackageKit/helpers/smart/smartBackend.py, line 49, in 
cache_wrap
    result = func(obj, *args, **kwargs)
  File : /usr/share/PackageKit/helpers/smart/smartBackend.py, line 459, in 
search_name
    self._show_package_list()
  File : /usr/share/PackageKit/helpers/smart/smartBackend.py, line 1037, in 
_show_package_list
    self._show_package(package, status)
  File : /usr/share/PackageKit/helpers/smart/smartBackend.py, line 1075, in 
_show_package
    self.package(self._package_id(package, loader), status, summary)
  File : /usr/share/PackageKit/helpers/smart/smartBackend.py, line 1040, in 
_package_id
    name, version, arch = self._splitpackage(package)
  File : /usr/share/PackageKit/helpers/smart/smartBackend.py, line 946, in 
_splitpackage
    from smart.backends.rpm.base import RPMPackage
  File : /usr/lib/python2.6/dist-packages/smart/backends/rpm/base.py, line 42, 
in <module>
    raise Error, _("'rpm' python module is not available")

I have no idea why its asking for 'rpm' stuff?

I think this is now a smart issue, not a duplicate.


** Also affects: smart
   Importance: Undecided
       Status: New

-- 
Smart backend to Packagekit fails to see Ubuntu's repos.
https://bugs.launchpad.net/bugs/397684
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to