Artix Linux Forum

Artix Linux => Package management => Topic started by: xyxy on 06 May 2020, 16:58:20

Title: [SOLVED] /etc/xdg/kcm-about-distrorc (conflict)
Post by: xyxy on 06 May 2020, 16:58:20
Hello,

I get this message when I "pacman -Syu":

Code: [Select]
Fehler: Konnte den Vorgang nicht durchführen (In Konflikt stehende Dateien)
/etc/xdg/kcm-about-distrorc existiert in 'artix-branding-base' und 'artix-qt-presets'
Fehler sind aufgetreten, keine Pakete wurden aktualisiert.

It says "/etc/xdg/kcm-about-distrorc" exists in "artix-branding-base" and in "artix-qt-presets".

Could it be the reason that I have several desktop environments / window managers installed? I would delete artix-qt-presets, but just in case wanted to report the issue. (mostly use XFCE)
Title: Re: /etc/xdg/kcm-about-distrorc (conflict)
Post by: caniko on 06 May 2020, 18:03:22
I got the same error and only xfce installed
Title: Re: /etc/xdg/kcm-about-distrorc (conflict)
Post by: karibe on 06 May 2020, 20:04:45
I got the same error. I only got lxqt+runit installed.
Title: Re: /etc/xdg/kcm-about-distrorc (conflict)
Post by: Rain-Dodger on 07 May 2020, 04:56:06
I got this problem too, while using the MATE desktop environment.

I was able to get around it by simply renaming the file /etc/xdg/kcm-about-distrorc to /etc/xdg/kcm-about-distrorc-COPY

After that I ran the command 'pacman -Syu' and still got the error so I updated artix-qt-presets on it's own, which created a new file called /etc/xdg/kcm-about-distrorc which I renamed to /etc/xdg/kcm-about-distrorc-COPY2

After that I was able to run the command 'pacman -Syu' and upgrade all applicable software with no errors, although it did come up with a warning about not being able to find /etc/xdg/kcm-about-distrorc (of course, because I had renamed it).

I should add though that I'm not sure if this was really a good idea or not. If you open the file /etc/xdg/kcm-about-distrorc in a text editor, it just seems to direct to the Artix logo under usr/share/icons

Interestingly, if you do what I have described above and then open the new /etc/xdg/kcm-about-distrorc file, then it will only have the following data in it:

[General]
LogoPath=/usr/share/icons/artix/logo.svg

But the old files that I renamed to COPY and COPY2 have more data than that in them. So maybe that has something to do with the error that OP made this thread about?
Title: Re: /etc/xdg/kcm-about-distrorc (conflict)
Post by: xyxy on 07 May 2020, 10:33:32
Here, "/etc/xdg/kcm-about-distrorc" had this data:

Code: [Select]
[General]
LogoPath=/usr/share/icons/artix/logo.svg
Website=https://artixlinux.org
Version=x86_64
Variant=Rolling Release / KDE Plasma

the same, that the file had after installing only "artix-qt-presets".

I searched for this package:

Code: [Select]
sudo pacman -Ss artix-qt-presets   
galaxy/artix-qt-presets 20200506-1 (artix-branding) [Installiert]
    Artix Qt presets, for KDE Plasma and LXQt.

and decided to remove it, as I don't use KDE or LXQt.

(I have FVWM, LXDE, Openbox, Sway and XFCE installed)

After removing "artix-qt-presets" the system update worked. And the file contained only:

Code: [Select]
[General]
LogoPath=/usr/share/icons/artix/logo.svg

I hope it is okay like this.





Title: Re: /etc/xdg/kcm-about-distrorc (conflict)
Post by: Roberto on 07 May 2020, 11:18:34
I had the same consideration and uninstalled artix-qt-presets as well.
So far I have no problems and the updates are working fine.  :)
Title: Re: /etc/xdg/kcm-about-distrorc (conflict)
Post by: caniko on 07 May 2020, 12:58:16
Here, "/etc/xdg/kcm-about-distrorc" had this data:

Code: [Select]
[General]
LogoPath=/usr/share/icons/artix/logo.svg
Website=https://artixlinux.org
Version=x86_64
Variant=Rolling Release / KDE Plasma

the same, that the file had after installing only "artix-qt-presets".

I searched for this package:

Code: [Select]
sudo pacman -Ss artix-qt-presets   
galaxy/artix-qt-presets 20200506-1 (artix-branding) [Installiert]
    Artix Qt presets, for KDE Plasma and LXQt.

and decided to remove it, as I don't use KDE or LXQt.

(I have FVWM, LXDE, Openbox, Sway and XFCE installed)

After removing "artix-qt-presets" the system update worked. And the file contained only:

Code: [Select]
[General]
LogoPath=/usr/share/icons/artix/logo.svg

I hope it is okay like this.







I went the same way, because I'm just using xfce.
Thanks.
Title: Re: /etc/xdg/kcm-about-distrorc (conflict)
Post by: nous on 07 May 2020, 17:57:11
This was caused by a mismatch between local and remote git trees; updated artix-branding-base should be OK, sorry for the inconvenience.