Can't install xfce4 - Conflict between xfce4-session and trisquel-desktop-common-data

Progetto:Trisquel
Versione:7.0
Componente:Packages
Categoria:segnalazione di bug
Priorità:critical
Assigned:Non assegnata
Stato:patch (needs review)
Descrizione

Packages xfce4-session and trisquel-desktop-common-data can't be installed together because both contain file /etc/xdg/autostart/xscreensaver.desktop . This means xfce4 can't be installed, since it depends on xfce4-session, if trisquel-desktop-common-data is installed (and it is by default).

Further, if installed, trisquel-desktop-common-data can't be removed. See issue #7610: Can not remove package trisquel-desktop-common-data.

Mer, 11/05/2014 - 17:50

Here is a script I made as a quick fix for users who want to use xfce4 before the issue is resolved: xfce-fix-7.txt

You can execute this in a terminal to download the script and run it:

wget https://trisquel.info/files/xfce-fix-7.txt && chmod +x xfce-fix-7.txt && ./xfce-fix-7.txt

Edit: If the script fails, remove xfce4 and xfce4-session and try again.

Mar, 11/11/2014 - 18:32

Thank you very much for this fix. I can now use XFCE desktop in Trisquel 7.

However your command line didn't work at first time, though I had removed xfce4 and xfce4-session packages.

Indeed, I had to install the fakeroot package first.

Lun, 01/26/2015 - 23:32

Since in Trisquel 7 package trisquel (also recursively) doesn't depend on or recommend xscreensaver, to fix this bug, just remove /etc/xdg/autostart/xscreensaver.desktop from trisquel-desktop-common-data.

Lun, 05/11/2015 - 12:23
Stato:active» closed

Fixed in Trisquel 7.0.

Lun, 01/18/2016 - 00:04
Stato:closed» patch (needs review)

This is not (completely) fixed in 7.0. From a fresh install, I just found:

Preparing to unpack .../xfce4-session_4.10.1-3ubuntu5_amd64.deb ...
Unpacking xfce4-session (4.10.1-3ubuntu5) ...
dpkg: error processing archive /var/cache/apt/archives/xfce4-session_4.10.1-3ubuntu5_amd64.deb (--unpack):
trying to overwrite '/etc/xdg/autostart/xscreensaver.desktop', which is also in package trisquel-desktop-common-data 7.0-15

EDIT - nevermind, it is fixed but not in the download media.

I just needed an "aptitude update" and "aptitude full-upgrade" to get the install to work correctly. xfce4-session version is still the exactly same, but I'm guessing trisquel-desktop-common-data was fixed in the upgrade.
(It seems I can't re-close the issue now sorry.)

Lun, 02/29/2016 - 12:44

Hi, when you install Trisquel first, you will have this issue, when you install xfce before full system/packages update. Worked fine for me, first update all packages and then install xfce4.