If you like me don’t want discover to take care of your distro repository packages, then you need to look into packagekit.

I did not have this problem when using arch linux, probably because I did not have the required packages installed.

Now that I am using openSuse though discover wants to take care of all kinds of packages, including the ones from the distro repositories.

It’s been bugging me for a while now but today I finally decided to do something about it. The solutions seem to be straight forward. I just uninstalled the package backend package for zypper and that has fixed it. Hopefully it’ll stay fixed …

sudo zypper remove PackageKit-backend-zypp

Update

That didn’t last long. Apparently discover has started to install the package by itself, not taking the users preference into account. Whether this is just an OpenSuse thing or the discover team are idiots I can’t say.

I might have a solution though.

First I uninstalled the package again along with some others (dependencies)

sudo zypper remove PackageKit-backend-zypp PackageKit-branding-openSUSE PackageKit-backend-dnf PackageKit-branding-upstream discover6-backend-packagekit PackageKit-devel PackageKit-lang

Maybe I did not need to remove them all, but who cares.

Then I proceeded to lock the packages so they can’t be installed again.

sudo zypper addlock  PackageKit-backend-zypp PackageKit-branding-openSUSE PackageKit-backend-dnf PackageKit-branding-upstream discover6-backend-packagekit PackageKit-devel PackageKit-lang

Let’s see if that solves it. Here’s to hoping! 😉



Categories

Linux System