PackageKit with Smart

Hi…

Is there any chance to make PackageKit using Smart Package Manager in openSUSE, except of libzypp?

I maybe barking up the wrong tree.

But that seems impossible, my understanding is smart is using rpm-python to manipulate the rpm db, libzypp is another way of manipulating the rpm db.

So my understanding is you want smart to use libzypp mixing that up even more with PackageKit?

Again my crude understanding is PackageKit is more a frontend to various backends really unsure what you hope to achieve by mixing all these together.

Sorry for this misunderstanding

What I mean is there any ability to use smart with Packagekit? without using libzypp off course. Because I read that there is a PackageKit backend for the Smart Package Manager.

PackageKit: new backends and discussed at Ubuntu conference « /home/liquidat

OK
If I want to installing Packagekit from source and make it using Smart, what I should to do? is there any command to help me to do that in installation?

I decide to install it from source.

And after I reading

./configure --help

I find that I need to enable smart backend, by this command

./configure  --enable-smart

So after that I install it and installing gnome-packagekit (from source too), and restarting the system, I wrote this command

gpk-backend-status

But there isn’t any output!
If I try using gpk-update-viewer it showing me this message:

failed to get a TID: Launch helper exited with unknown return code 0

Could someone help here?

:confused:

Out of curiosity, why are you trying to backend packagekit with smart? It already exists in openSUSE with libzypp, and the new satsolver should address any issues people had with package resolution in Smart vs Yast-Package Management in the past.

Plus, Packagekit is intended to be a front-end for native package-management, so I’m not sure why you’d want it to utilize smart?

Just curious… :wink:

Cheers,
KV

Because of this:
Zypper erorr code: 408 - openSUSE Forums

And finally I got smart working with PackageKit, and maybe I will go back using PackageKet with zypp backend if I have a fix for my issue with libzypp.

Thanks…

You can still use the same way I’ve used, that work really well now :

$ zypper lr -d
4 | oS::distribution:oss | oS::distribution:oss | Yes | No | 99 | yast2 | Index of /ftp/mirror/opensuse/distribution/11.0/repo/oss
5 | oS::distribution:non-oss | oS::distribution:non-oss | Yes | No | 99 | yast2 | Index of /ftp/mirror/opensuse/distribution/11.0/repo/non-oss
6 | oS::distribution:debug | oS::distribution:debug | Yes | No | 99 | yast2 | Index of /ftp/mirror/opensuse/distribution/11.0/repo/debug
7 | oS::update | oS::update | Yes | No | 20 | rpm-md | Index of /ftp/mirror/opensuse/update/11.0

As you can see, I use a near mirror in my country, and don’t use anymore the default redirector (download.opensuse.org/distribution/…) which fail sometimes.

I personnaly think that ZYpp is really better than Smart, so I recommand you to use it if you can.

All other repositories inside the Build Service work well with the redirector, i change URL only for main repositories (OSS, non-OSS and Update)

Thank you Spyhawk, I will give it a try.

Thanks again :slight_smile:

After I take your advice and give it a try, I still have the same issue :frowning:
Zypper erorr code: 408 - openSUSE Forums

But I don’t know why I didn’t have it with smart! ( I am using here download.opensuse.org repos. with smart, as oss no-oss and update repos. )

So I decide to make smart my default package manager tell I have any fix for zypp issue.