Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#15805 - [kdebase-workspace] conflicts with policykit-kde

Attached to Project: Pacman
Opened by Alessandro Doro (adoroo) - Wednesday, 05 August 2009, 09:48 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 01 October 2010, 12:13 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
pacman -Syu

error: failed to commit transaction (conflicting files)
kdebase-workspace: /usr/bin/polkit-kde-authorization exists in filesystem
kdebase-workspace: /usr/lib/kde4/kcm_pkk_authorization.so exists in filesystem
kdebase-workspace: /usr/lib/kde4/libexec/polkit-kde-manager exists in filesystem
kdebase-workspace: /usr/lib/libpolkitkdeprivate.so exists in filesystem
kdebase-workspace: /usr/lib/libpolkitkdeprivate.so.4 exists in filesystem
kdebase-workspace: /usr/share/dbus-1/services/kde-org.freedesktop.PolicyKit.AuthenticationAgent.service exists in filesystem
kdebase-workspace: /usr/share/dbus-1/services/org.kde.PolicyKit.service exists in filesystem
kdebase-workspace: /usr/share/kde4/services/kcm_pkk_authorization.desktop exists in filesystem
Errors occurred, no packages were upgraded.

$ LANG=C pacman -Si kdebase-workspace
Repository : extra
Name : kdebase-workspace
Version : 4.3.0-2
Groups : kde
Provides : None
Depends On : kdelibs-experimental kdepimlibs kdebase-runtime libxxf86misc libxcomposite libxss lm_sensors libxklavier
qimageblitz polkit-qt libxft libxdamage
Optional Deps : kdebindings-python: plasma scriptengine for Python
Conflicts With : kde-common
Replaces : kdmtheme kde-common guidance-power-manager policykit-kde

I think that replaces is not sufficient and kdebase-workspace should also conflict with policykit-kde.

Additional info:
* package version(s)
kdebase-workspace 4.3.0-2 i686
policykit-kde 0.9.2-2 i686

Steps to reproduce:
# pacman -Syu
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Friday, 01 October 2010, 12:13 GMT
Reason for closing:  None
Additional comments about closing:  old
Comment by Pierre Schmitz (Pierre) - Wednesday, 05 August 2009, 10:37 GMT
This shouldn't happen. Could you run a pacman -Qo on those files to check if they really belong to policykit?
Comment by Alessandro Doro (adoroo) - Wednesday, 05 August 2009, 10:53 GMT
Done, they are all from policykit-kde.
.
Comment by Alessandro Doro (adoroo) - Wednesday, 05 August 2009, 10:54 GMT
Every non gettext file in policykit-kde is now in kdebase-workspace.
Comment by Roman Kyrylych (Romashka) - Wednesday, 05 August 2009, 16:06 GMT
@Pierre: shouldn't some of new kde packages replace policykit-kde now?
Comment by Pierre Schmitz (Pierre) - Wednesday, 05 August 2009, 16:08 GMT
kdebase-workspace replaces policykit-kde. So the packages are fine.
Comment by Alessandro Doro (adoroo) - Wednesday, 05 August 2009, 18:41 GMT
From the pacman manual page:
-u, --upgrades
Restrict or filter output to packages that are out of date on the local system. (Only package
versions are used to find outdated packages, replacements are not checked here.) This option
works best if the sync database is refreshed using -Sy.

I'm not sure about the meaning.

Anyway I see, e.g.
$ LANG=C pacman -Si qt
Conflicts With : qt4 phonon
Replaces : qt4 phonon
Comment by Alessandro Doro (adoroo) - Wednesday, 05 August 2009, 19:34 GMT
Sorry, forget the lines about -u.

--

From the log:
:: Replace kdebase with extra/kde-meta-kdebase? [Y/n]
:: Replace kdegraphics with extra/kde-meta-kdegraphics? [Y/n]
:: Replace kdemultimedia with extra/kde-meta-kdemultimedia? [Y/n]
:: Replace kdenetwork with extra/kde-meta-kdenetwork? [Y/n]
:: Replace kdeplasma-addons with extra/kde-meta-kdeplasma-addons? [Y/n]
:: Replace phonon with extra/qt? [Y/n]

Every package above conflicts and replaces the previous package.
Comment by Pierre Schmitz (Pierre) - Thursday, 06 August 2009, 02:30 GMT
  • Field changed: Attached to Project (Arch Linux → Pacman)
Moving to pacman project. If its a bug at all its caused by pacman.
Comment by Alessandro Doro (adoroo) - Thursday, 06 August 2009, 09:44 GMT
All right, I'll remove policykit-kde before the sysupgrade.
Comment by Nagy Gabor (combo) - Thursday, 13 August 2009, 13:42 GMT
I don't use KDE, and I may misinterpret something, but from the infos above this seems to be a packaging bug:
kdebase-workspace should conflict with policykit-kde. (For example, replacements are ignored with -S.)

However, there is something I don't understand: The following line should have appeared in Alessandro's log:
":: Replace policykit-kde with extra/kdebase-workspace? [Y/n]"

The replacements code was reworked recently, and it should be important to reproduce this bug(?) and report it with --debug.
However, from now on, "kdebase-workspace replaces policykit-kde" is interpreted as "kdebase-workspace is a new version of policykit-kde", so if a policykit-kde literal was found earlier in the repos (the repo priority is important here!), this replacement would not be considered.
Comment by Nagy Gabor (combo) - Thursday, 13 August 2009, 13:57 GMT
If forgot to say, that kdebase-workspace 4.3.0-2 replaces policykit-kde, but doesn't conflict with it.

Loading...