in 13.2 - PackageKit is blocking zypper

Hello,
Trying to modifier ‘Kaffeine’ configuration, without knowing enought, I certainly chose a bad option. >:(

The consequences are, first:

~> sudo zypper refresh
root's password:
Repository "Dépôt" is up to date.
Repository 'KDE: KDE3' is up to date.
Fichier  '/repodata/repomd.xml' introuvable dans sur le media  '**http://download.opensuse.org/repositories/Mono:/Community/openSUSE_13.2/**'

Abandonner, réessayer, ignorer? [a/r/i/? affiche toutes les options] (a): a
ABORT request: Aborting requested by user

and later:

~> sudo zypper update
PackageKit is blocking zypper. This happens if you have an updater applet or other software management application using PackageKit running.
Tell PackageKit to quit? [oui/non] (non): n
La gestion du système est verrouillée par l’application avec le pid 16938 (**/usr/lib/packagekitd**).
Fermer cette application avant de réessayer.

A translation is similar to:
“The System is blocked by the application pid 16938 (/usr/lib/packagekitd).
Please close this application before to retry.”

In Yast2 it ended in "UI Syntax Error - couldn’t load plug-in qt-pkg - Check the log file!

Help! What to do ?:confused:

Thank you.

Hello.

This is probably nothing but normal behaviour; (presuming KDE4) packagekit/apper are runnng searching for updates, or in the middle of an installation/update process; this prevents another process (software management) doing the same.
If the above is true then you’ll just have to wait till that instance has finished, and you can try again.

Are you on KDE4 (as in the signature), or is it a full KDE3 install or any other desktop environment?

In Yast2 it ended in "UI Syntax Error - couldn’t load plug-in qt-pkg - Check the log file!

This one might be a different matter. But if it is an update process, updating related packages, then that may be the cause of it.

The problems you mention here are definitely not related to Kaffeine’s configuration.
So probably it would be a good idea if you would tell what you did exactly when “Trying to modifier ‘Kaffeine’ configuration”…

The consequences are, first:

~> sudo zypper refresh
root's password:
Repository "Dépôt" is up to date.
Repository 'KDE: KDE3' is up to date.
Fichier  '/repodata/repomd.xml' introuvable dans sur le media  '**http://download.opensuse.org/repositories/Mono:/Community/openSUSE_13.2/**'

Abandonner, réessayer, ignorer? [a/r/i/? affiche toutes les options] (a): a
ABORT request: Aborting requested by user

This repo doesn’t exist (at least not for 13.2). So remove it in YaST->Software Repositories to get rid of that error message.

and later:

~> sudo zypper update
PackageKit is blocking zypper. This happens if you have an updater applet or other software management application using PackageKit running.
Tell PackageKit to quit? [oui/non] (non): n
La gestion du système est verrouillée par l’application avec le pid 16938 (**/usr/lib/packagekitd**).
Fermer cette application avant de réessayer.

A translation is similar to:
“The System is blocked by the application pid 16938 (/usr/lib/packagekitd).
Please close this application before to retry.”

You cannot use YaST or zypper when PackageKit is running. Your desktop’s update applet uses PackageKit.
Because of the earlier error, packagekitd might hang though, so try to kill it:

zypper lr -d

In Yast2 it ended in "UI Syntax Error - couldn’t load plug-in qt-pkg - Check the log file!

You probably do not have the package libyui-qt-pkg6 installed. So install it and YaST should work again:

sudo zypper in libyui-qt-pkg6

But, normally this should be installed by default.
Did you maybe upgrade from an earlier openSUSE version recently?
If yes, how did you do that?
Please post your repo list, to make sure everything is correct there:

zypper lr -d

Yes, I have just moved from openSUSE 13.1 to 13.2.

You cannot use YaST or zypper when PackageKit is running. Your desktop’s update applet uses PackageKit.
Because of the earlier error, packagekitd might hang though, so try to kill it:

zypper lr -d

You probably do not have the package libyui-qt-pkg6 installed. So install it and YaST should work again:

sudo zypper in libyui-qt-pkg6

But, normally this should be installed by default.
Did you maybe upgrade from an earlier openSUSE version recently?
If yes, how did you do that?
Please post your repo list, to make sure everything is correct there:

zypper lr -d

My repo is:

~>zypper lr -d
#  | Alias                     | Name                               | Enabled | Refresh | Priority | Type     | URI                                                                              |
---+---------------------------+------------------------------------+---------+---------+----------+----------+----------------------------------------------------------------------------------+
 1 | Dépôt                     | Dépôt                              | Yes     | No      |   99     | plaindir | dvd:///                                                                          |
 2 | KDE:KDE3                  | KDE:KDE3                           | Yes     | Yes     |   99     | rpm-md   | http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_13.2/               |
 3 | Mono:Community            | Mono:Community                     | Yes     | Yes     |   99     | rpm-md   | http://download.opensuse.org/repositories/Mono:/Community/openSUSE_13.2/         |
 4 | openSUSE-13.2-1.10        | openSUSE-13.2-1.10                 | Yes     | No      |   99     | yast2    | cd:///?devices=/dev/disk/by-id/ata-ATAPI_iHAS124_W_3524602_2A8315503611,/dev/sr0 |
 5 | repo-debug                | openSUSE-13.2-Debug                | No      | Yes     |   99     | NONE     | http://download.opensuse.org/debug/distribution/13.2/repo/oss/                   |
 6 | repo-debug-update         | openSUSE-13.2-Update-Debug         | No      | Yes     |   99     | NONE     | http://download.opensuse.org/debug/update/13.2/                                  |
 7 | repo-debug-update-non-oss | openSUSE-13.2-Update-Debug-Non-Oss | No      | Yes     |   99     | NONE     | http://download.opensuse.org/debug/update/13.2-non-oss/                          |
 8 | repo-non-oss              | openSUSE-13.2-Non-Oss              | No      | Yes     |   99     | yast2    | http://download.opensuse.org/distribution/13.2/repo/non-oss/                     |
 9 | repo-oss                  | openSUSE-13.2-Oss                  | Yes     | Yes     |   99     | yast2    | http://download.opensuse.org/distribution/13.2/repo/oss/                         |
10 | repo-source               | openSUSE-13.2-Source               | No      | Yes     |   99     | NONE     | http://download.opensuse.org/source/distribution/13.2/repo/oss/                  |
11 | repo-update               | openSUSE-13.2-Update               | Yes     | Yes     |   99     | rpm-md   | http://download.opensuse.org/update/13.2/                                        |
12 | repo-update-non-oss       | openSUSE-13.2-Update-Non-Oss       | Yes     | Yes     |   99     | rpm-md   | http://download.opensuse.org/update/13.2-non-oss/                                |  

And with “sudo zypper in libyui-qt-pkg6” the answer is:

~> sudo zypper in libyui-qt-pkg6
root's password:
Fichier '/repodata/repomd.xml' introuvable dans sur le media 'http://download.opensuse.org/repositories/Mono:/Community/openSUSE_13.2/'

Abandonner, réessayer, ignorer ? [a/r/i/? affiche toutes les options] (a): a

The upgrade was not well ended. It was :


$ sudo zypper addrepo --check --name 'openSUSE-13.1-Update' http://download.opensuse.org/update/13.1/ repo-update
$ sudo zypper refresh
$ sudo zypper update

But I could not: “disable all the repositories and add only the default repos of OpenSUSE 13.2” before to run:

$ sudo zypper modifyrepo --all --disable
$ zypper addrepo --name "openSUSE-13.2 OSS" http://download.opensuse.org/distribution/13.2/repo/oss/  repo-13.2-oss
$ zypper addrepo --name "openSUSE-13.2 Non-OSS" http://download.opensuse.org/distribution/13.2/repo/non-oss/ repo-13.1-non-oss
$ zypper addrepo --name "openSUSE-13.2 Updates" http://download.opensuse.org/update/13.2/ repo-13.2-update

How to repair?:X

Looks ok basically, except for that non-existing Mono:Community repo.

And with “sudo zypper in libyui-qt-pkg6” the answer is:

~> sudo zypper in libyui-qt-pkg6
root's password:
Fichier '/repodata/repomd.xml' introuvable dans sur le media 'http://download.opensuse.org/repositories/Mono:/Community/openSUSE_13.2/'

Abandonner, réessayer, ignorer ? [a/r/i/? affiche toutes les options] (a): a

[/QUOTE…]
Again, remove that repo, it doesn't exist for 13.2.
sudo zypper rr 3

This should get rid of the error as well.

For now, you can also just choose “Ignore” (enter ‘i’), but you’ll get the error again next time you use YaST or zypper.

[QUOTE]The upgrade was not well ended. It was :

$ sudo zypper addrepo --check --name ‘openSUSE-13.1-Update’ http://download.opensuse.org/update/13.1/ repo-update
$ sudo zypper refresh
$ sudo zypper update

This doesn’t make sense. You add the 13.1 update repo (why? ) and then run update. That’s no upgrade… :wink:

But I could not: “disable all the repositories and add only the default repos of OpenSUSE 13.2” before to run:

$ sudo zypper modifyrepo --all --disable
$ zypper addrepo --name "openSUSE-13.2 OSS" http://download.opensuse.org/distribution/13.2/repo/oss/  repo-13.2-oss
$ zypper addrepo --name "openSUSE-13.2 Non-OSS" http://download.opensuse.org/distribution/13.2/repo/non-oss/ repo-13.1-non-oss
$ zypper addrepo --name "openSUSE-13.2 Updates" http://download.opensuse.org/update/13.2/ repo-13.2-update

Why could you not?
Anyway, your repos are ok.
But did you run “zypper dup” afterwards?
If not, you should do that now, otherwise you will get a broken system sooner or later.

How to repair?:X

Well, I already told you how to fix all problems you mentioned in your original post:

  • remove that non-existing repo
  • install libyui-qt-pkg6

This should get rid of the error message when using zypper, and make YaST work.

[QUOTE=wolfi323;2694232]Looks ok basically, except for that non-existing Mono:Community repo.

And with “sudo zypper in libyui-qt-pkg6” the answer is:

~> sudo zypper in libyui-qt-pkg6
root's password:
Fichier '/repodata/repomd.xml' introuvable dans sur le media 'http://download.opensuse.org/repositories/Mono:/Community/openSUSE_13.2/'

Abandonner, réessayer, ignorer ? [a/r/i/? affiche toutes les options] (a): a

[/QUOTE…]
Again, remove that repo, it doesn't exist for 13.2.
sudo zypper rr 3

This should get rid of the error as well.

For now, you can also just choose “Ignore” (enter ‘i’), but you’ll get the error again next time you use YaST or zypper.

This doesn’t make sense. You add the 13.1 update repo (why? ) and then run update. That’s no upgrade… :wink:

Why could you not?
Anyway, your repos are ok.
But did you run “zypper dup” afterwards?
If not, you should do that now, otherwise you will get a broken system sooner or later.

Well, I already told you how to fix all problems you mentioned in your original post:

  • remove that non-existing repo
  • install libyui-qt-pkg6

This should get rid of the error message when using zypper, and make YaST work.

To “zypper dup” :

~> sudo zypper dup
root's password:
Avertissement : You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Fichier '/repodata/repomd.xml' introuvable dans sur le media 'http://download.opensuse.org/repositories/Mono:/Community/openSUSE_13.2/'

Abandonner, réessayer, ignorer ? [a/r/i/? affiche toutes les options] (a):

Whats the correct answer?

I am sorry, but I don’t know how to “remove that non-existing repo” and “install libyui-qt-pkg6”.
To use DVD 13.2 ?

Sigh.
I asked whether you ran “zypper dup” to actually upgrade your system to 13.2, I didn’t mean you should run it now.
Actually you should run “sudo zypper rr 3” to remove that Mono:Community repo, otherwise you will still get this error every time you use YaST or zypper (as I wrote already).

I am sorry, but I don’t know how to “remove that non-existing repo” and “install libyui-qt-pkg6”.
To use DVD 13.2 ?

No.
Again, run this:

sudo zypper rr 3
sudo zypper in libyui-qt-pkg6
~> sudo zypper rr 3
Suppression du dépôt'Mono:Community' ....... [done]
Repository 'Mono:Community' has been removed.

~> sudo zypper in libyui-qt-pkg6
Building cache du dépôt 'openSUSE-13.2-1.10' ....... [done]
Retrieving repository 'openSUSE-13.2-Update' metadata ........ [done]
Building du cache du dépôt 'openSUSE-13.2-Update' ........ [done]
Retrieving repository 'openSUSE-13.2-Update-Non-Oss' metadata .......... [done]
Building du cache du dépôt 'openSUSE-13.2-Update-Non-Oss' ........ [done]
Loading repository data...
Reading installed packages...
'libyui-qt-pkg6' is déjà installed.
No new version of 'libyui-qt-pkg6-2.44.7-6.1.x86_64'. Most now version is installed
Resolution of dependances of packets...

Nothing to do.

… and the openSUSE 13.2 starts to call update applications. I start Apper, there is a list of “Install, Update or Remove Software Packages” but it runs. “Not possible to find a dependency of packts” in detail:
“udevmountd-0.81.5-30.1.x86_64 requires sysconfig = 0.81.5, but this requirement cannot be provided”

And where did you install udevmountd from? This is not included in any of your repos, so it’s probably a left-over from an older openSUSE version (13.1 probably).
sysconfig = 0.81.5 is not available for 13.2 either (only 13.1), as 13.2 ships with sysconfig-0.83.x.

So remove udevmountd, I’d say:

sudo zypper rm udevmountd

Does YaST work now?
If not, please post the output of:

sudo tail /var/log/YaST2/y2log

PS: Probably you should run “sudo zypper dup” now. I don’t think you upgraded your system properly, otherwise udevmountd should have been removed.
If you get conflicts and are not sure, please ask with the exact message.